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 OooDev.

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
class ooodev.conn.connect.LoManager(connector=None, cache_obj=None)[source]

LO Connection Context Manager

Parameters:
__init__(connector=None, cache_obj=None)[source]

Context Manager Constructor

Parameters:
Raises:

TypeError – If connector is incorrect type.