LibreOffice Module wizards (master) 1
|
Public Member Functions | |
def | ExecuteBasicScript (cls, scope='', script='', *args) |
def | ExecuteCalcFunction (cls, calcfunction, *args) |
def | ExecutePythonScript (cls, scope='', script='', *args) |
def | HasUnoMethod (self, unoobject, methodname) |
def | HasUnoProperty (self, unoobject, propertyname) |
def | OpenURLInBrowser (cls, url) |
def | RunApplication (self, command, parameters) |
def | SendMail (self, recipient, cc='', bcc='', subject='', body='', filenames='', editmessage=True) |
def | UnoObjectType (self, unoobject) |
def | UnoMethods (self, unoobject) |
def | UnoProperties (self, unoobject) |
def | WebService (self, uri) |
Public Member Functions inherited from scriptforge.SFServices | |
def | __init__ (self, reference=-1, objtype=None, classmodule=0, name='') |
def | __getattr__ (self, name) |
def | __setattr__ (self, name, value) |
def | __repr__ (self) |
def | Dispose (self) |
def | ExecMethod (self, flags=0, methodname='', *args) |
def | GetProperty (self, propertyname, arg=None) |
def | Properties (self) |
def | basicmethods (self) |
def | basicproperties (self) |
def | SetProperty (self, propertyname, value) |
Public Member Functions inherited from scriptforge._Singleton | |
def | __call__ (cls, *args, **kwargs) |
Static Public Attributes | |
string | serviceimplementation = 'basic' |
string | servicename = 'ScriptForge.Session' |
tuple | servicesynonyms = ('session', 'scriptforge.session') |
serviceproperties = dict() | |
string | SCRIPTISEMBEDDED = 'document' |
string | SCRIPTISAPPLICATION = 'application' |
string | SCRIPTISPERSONAL = 'user' |
string | SCRIPTISPERSOXT = 'user:uno_packages' |
string | SCRIPTISSHARED = 'share' |
string | SCRIPTISSHAROXT = 'share:uno_packages' |
string | SCRIPTISOXT = 'uno_packages' |
Static Public Attributes inherited from scriptforge.SFServices | |
vbGet | |
vbLet | |
vbMethod | |
vbSet | |
int | flgPost = 32 |
int | flgDateArg = 64 |
int | flgDateRet = 128 |
int | flgArrayArg = 512 |
int | flgArrayRet = 1024 |
int | flgUno = 256 |
int | flgObject = 2048 |
int | flgHardCode = 4096 |
moduleClass | |
moduleStandard | |
bool | forceGetProperty = False |
dictionary | propertysynonyms = {} |
tuple | internal_attributes |
SIMPLEEXEC = ScriptForge.InvokeSimpleScript | |
EXEC = ScriptForge.InvokeBasicService | |
Static Public Attributes inherited from scriptforge._Singleton | |
dictionary | instances = {} |
Additional Inherited Members | |
Public Attributes inherited from scriptforge.SFServices | |
objectreference | |
objecttype | |
classmodule | |
name | |
internal | |
localProperties | |
serviceimplementation | |
The Session service gathers various general-purpose methods about: - UNO introspection - the invocation of external scripts or programs
Definition at line 1414 of file scriptforge.py.
def scriptforge.SFScriptForge.SF_Session.ExecuteBasicScript | ( | cls, | |
scope = '' , |
|||
script = '' , |
|||
* | args | ||
) |
Definition at line 1436 of file scriptforge.py.
References scriptforge.SFScriptForge.SF_Session.SCRIPTISAPPLICATION, and scriptforge.SFServices.SIMPLEEXEC.
def scriptforge.SFScriptForge.SF_Session.ExecuteCalcFunction | ( | cls, | |
calcfunction, | |||
* | args | ||
) |
Definition at line 1447 of file scriptforge.py.
References scriptforge.SFServices.SIMPLEEXEC.
def scriptforge.SFScriptForge.SF_Session.ExecutePythonScript | ( | cls, | |
scope = '' , |
|||
script = '' , |
|||
* | args | ||
) |
Definition at line 1457 of file scriptforge.py.
References scriptforge.SFServices.SIMPLEEXEC.
def scriptforge.SFScriptForge.SF_Session.HasUnoMethod | ( | self, | |
unoobject, | |||
methodname | |||
) |
Definition at line 1460 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_Session.HasUnoProperty | ( | self, | |
unoobject, | |||
propertyname | |||
) |
Definition at line 1463 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_Session.OpenURLInBrowser | ( | cls, | |
url | |||
) |
Definition at line 1467 of file scriptforge.py.
References scriptforge.SFServices.SIMPLEEXEC.
def scriptforge.SFScriptForge.SF_Session.RunApplication | ( | self, | |
command, | |||
parameters | |||
) |
Definition at line 1471 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_Session.SendMail | ( | self, | |
recipient, | |||
cc = '' , |
|||
bcc = '' , |
|||
subject = '' , |
|||
body = '' , |
|||
filenames = '' , |
|||
editmessage = True |
|||
) |
Definition at line 1474 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_Session.UnoMethods | ( | self, | |
unoobject | |||
) |
Definition at line 1480 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_Session.UnoObjectType | ( | self, | |
unoobject | |||
) |
Definition at line 1477 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_Session.UnoProperties | ( | self, | |
unoobject | |||
) |
Definition at line 1483 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_Session.WebService | ( | self, | |
uri | |||
) |
Definition at line 1486 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
|
static |
Definition at line 1428 of file scriptforge.py.
Referenced by scriptforge.SFScriptForge.SF_Session.ExecuteBasicScript().
|
static |
Definition at line 1427 of file scriptforge.py.
|
static |
Definition at line 1433 of file scriptforge.py.
|
static |
Definition at line 1429 of file scriptforge.py.
|
static |
Definition at line 1430 of file scriptforge.py.
|
static |
Definition at line 1431 of file scriptforge.py.
|
static |
Definition at line 1432 of file scriptforge.py.
|
static |
Definition at line 1421 of file scriptforge.py.
Referenced by scriptforge.SFServices.__repr__(), scriptforge.SFServices.__setattr__(), scriptforge.SFServices.basicmethods(), scriptforge.SFServices.basicproperties(), scriptforge.SFServices.Dispose(), scriptforge.SFServices.GetProperty(), and scriptforge.SFServices.SetProperty().
|
static |
Definition at line 1422 of file scriptforge.py.
Referenced by scriptforge.ScriptForge.__init__(), and scriptforge.SFServices.__repr__().
|
static |
Definition at line 1424 of file scriptforge.py.
Referenced by scriptforge.SFServices.__setattr__(), and scriptforge.SFServices.Properties().
|
static |
Definition at line 1423 of file scriptforge.py.