Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 667 Bytes

lo_manager.rst

File metadata and controls

29 lines (18 loc) · 667 Bytes

Class LoManager

LoManager is low level content manager that connects to LibreOffice and then disconnects when the block has been executed.

Generally speaking this Manager is not needed when using |odev|.

Example

from ooodev.conn.connect import LoManager

with LoManager() as mgr:
    smgr = mgr.ctx.getServiceManager()
    desktop = smgr.createInstanceWithContext("com.sun.star.frame.Desktop", mgr.ctx)
    # other processing
.. seealso::

    - :py:class:`.Lo.Loader`
    - :ref:`ch02`


.. autoclass:: ooodev.conn.connect.LoManager
    :members: