Class ConnectBase

class ooodev.conn.connect.ConnectBase[source]

Base Abstract Class for all connections to LO

__init__()[source]
abstract connect()[source]

Makes a connection to soffice

Raises:

NoConnectException – if unable to obtain a connection to soffice

kill_soffice()[source]

Attempts to kill instance of soffice created by this instance

Return type:

None

property ctx: com.sun.star.uno.XComponentContext

Gets instance Component Context

Return type:

XComponentContext

property has_connection: bool

Returns True if a connection to soffice has been established

Return type:

bool

property headless: bool

For compatibility. Returns False

Return type:

bool

property invisible: bool

For compatibility. Returns False

Return type:

bool

property is_remote: bool

Returns False

Return type:

bool

property log: NamedLogger

Gets the logger

Return type:

NamedLogger

property no_first_start_wizard: bool

For compatibility. Returns True

Return type:

bool

For compatibility. Returns True

Return type:

bool

property no_restore: bool

For compatibility. Returns True

Return type:

bool

property start_as_service: bool

For compatibility. Returns False

Return type:

bool

property start_office: bool

For compatibility. Returns True

Return type:

bool