Class ConnectCtx
See also
- class ooodev.conn.connect_ctx.ConnectCtx(ctx)[source]
Bases:
ConnectBaseConnection to LibreOffice/OpenOffice
This class is used to connect to LibreOffice/OpenOffice. It is used to create a connection to LibreOffice/OpenOffice. It is used to create a connection to LibreOffice/OpenOffice.
New in version 0.53.0.
- Parameters:
ctx (XComponentContext) –
- connect()[source]
Makes a connection to soffice
- Raises:
NoConnectException – if unable to obtain a connection to soffice
- Return type:
None
- 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
Trueif 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:
- property no_first_start_wizard: bool
For compatibility. Returns
True- Return type:
bool
- property no_logo: 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