Class LoBridgeCommon

class ooodev.conn.connect.LoBridgeCommon(connector, cache_obj)[source]

Bases: ConnectBase

Base Abstract Class for LoSocketStart and LoPipeStart

Parameters:
__init__(connector, cache_obj)[source]
Parameters:
del_working_dir()[source]

Deletes the current working directory of instance.

This is only applied when caching is used.

get_soffice_pid()[source]

Gets the pid of soffice

Returns:

of pid if found; Otherwise, None

Return type:

int

kill_soffice()[source]

Attempts to kill instance of soffice created by this instance

Return type:

None

property bridge_component: XComponent

Gets Bridge Component

Return type:

XComponent

property cache: Cache

Gets cache value

This will always be a Cache instance. If no Cache instance is passed into constructor then a default instance is created with Cache.use_cache set to false.

Return type:

Cache

property headless: bool

Gets/Sets if the connection is made using headless option. Default is False

Return type:

bool

property invisible: bool

Gets if office is started with invisible option. Default is True

Return type:

bool

property is_remote: bool

Gets if connection is connection to remote server. Default is False

Return type:

bool

property no_first_start_wizard: bool

Gets if office is started with nofirststartwizard option. Default is True

Return type:

bool

Gets if office is started with nologo option. Default is True

Return type:

bool

property no_restore: bool

Gets if office is started with norestore Option. Default is True

Return type:

bool

property soffice: Path

Get Path to LibreOffice soffice. Default is auto discovered.

Return type:

Path

property start_as_service: bool

Gets if office is started as service (StarOffice.Service). Default is False

Return type:

bool

property start_office: bool

Gets if office is to be started. Default is True

Return type:

bool