LibreOffice Module wizards (master) 1
|
Classes | |
class | _A2B |
class | _BasicObject |
class | _Collection |
class | _CommandBar |
class | _CommandBarControl |
class | _Control |
class | _Database |
class | _Dialog |
class | _Event |
class | _Field |
class | _Form |
class | _Module |
class | _OptionGroup |
class | _Property |
class | _QueryDef |
class | _Recordset |
class | _Singleton |
class | _SubForm |
class | _TableDef |
class | _TempVar |
class | acConstants |
class | Application |
class | Basic |
class | DoCmd |
Functions | |
def | _ErrorHandler (type, value, tb) |
def | A2BConnect (hostname='', port=0) |
def | DebugPrint (*args) |
def | TraceConsole () |
def | TraceError (tracelevel, errorcode, errorprocedure, errorline) |
def | TraceLevel (newtracelevel='ERROR') |
def | TraceLog (tracelevel, text, messagebox=True) |
Variables | |
XSCRIPTCONTEXT = uno | |
string | _LIBRARY = '' |
string | _VERSION = '7.4' |
string | _WRAPPERMODULE = 'Python' |
_vbGet | |
_vbLet | |
_vbMethod | |
_vbSet | |
_vbUNO | |
|
private |
Is the function to be set as new sys.excepthook to bypass the standard error handler Derived from https://stackoverflow.com/questions/31949760/how-to-limit-python-traceback-to-specific-files Handler removes traces pointing to methods located in access2base.py when error is due to a user programming error sys.excepthook = _ErrorHandler NOT APPLIED YET
Definition at line 468 of file access2base.py.
def access2base.A2BConnect | ( | hostname = '' , |
|
port = 0 |
|||
) |
To be called explicitly by user scripts when Python process runs outside the LibreOffice process. LibreOffice started as (Linux): ./soffice --accept='socket,host=localhost,port=xxxx;urp;' Otherwise called implicitly by the current module without arguments Initializes COMPONENTCONTEXT, SCRIPTPROVIDER and DESKTOP :param hostname: probably 'localhost' or '' :param port: port number or 0 :return: None
Definition at line 487 of file access2base.py.
Referenced by access2base._A2B.invokeMethod(), access2base._A2B.invokeWrapper(), and access2base.Application.OpenConnection().
def access2base.DebugPrint | ( | * | args | ) |
Definition at line 1460 of file access2base.py.
def access2base.TraceConsole | ( | ) |
Definition at line 1467 of file access2base.py.
def access2base.TraceError | ( | tracelevel, | |
errorcode, | |||
errorprocedure, | |||
errorline | |||
) |
Definition at line 1468 of file access2base.py.
def access2base.TraceLevel | ( | newtracelevel = 'ERROR' | ) |
Definition at line 1470 of file access2base.py.
def access2base.TraceLog | ( | tracelevel, | |
text, | |||
messagebox = True |
|||
) |
Definition at line 1471 of file access2base.py.
|
private |
Definition at line 45 of file access2base.py.
|
private |
Definition at line 50 of file access2base.py.
|
private |
Definition at line 50 of file access2base.py.
|
private |
Definition at line 50 of file access2base.py.
|
private |
Definition at line 50 of file access2base.py.
|
private |
Definition at line 50 of file access2base.py.
|
private |
Definition at line 46 of file access2base.py.
|
private |
Definition at line 47 of file access2base.py.
access2base.XSCRIPTCONTEXT = uno |
Definition at line 40 of file access2base.py.