LibreOffice Module wizards (master) 1
Public Member Functions | Static Public Attributes | List of all members
scriptforge.SFScriptForge.SF_Session Class Reference
Inheritance diagram for scriptforge.SFScriptForge.SF_Session:
[legend]
Collaboration diagram for scriptforge.SFScriptForge.SF_Session:
[legend]

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
 

Detailed Description

    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.

Member Function Documentation

◆ ExecuteBasicScript()

def scriptforge.SFScriptForge.SF_Session.ExecuteBasicScript (   cls,
  scope = '',
  script = '',
args 
)

◆ ExecuteCalcFunction()

def scriptforge.SFScriptForge.SF_Session.ExecuteCalcFunction (   cls,
  calcfunction,
args 
)

Definition at line 1447 of file scriptforge.py.

References scriptforge.SFServices.SIMPLEEXEC.

◆ ExecutePythonScript()

def scriptforge.SFScriptForge.SF_Session.ExecutePythonScript (   cls,
  scope = '',
  script = '',
args 
)

Definition at line 1457 of file scriptforge.py.

References scriptforge.SFServices.SIMPLEEXEC.

◆ HasUnoMethod()

def scriptforge.SFScriptForge.SF_Session.HasUnoMethod (   self,
  unoobject,
  methodname 
)

◆ HasUnoProperty()

def scriptforge.SFScriptForge.SF_Session.HasUnoProperty (   self,
  unoobject,
  propertyname 
)

◆ OpenURLInBrowser()

def scriptforge.SFScriptForge.SF_Session.OpenURLInBrowser (   cls,
  url 
)

Definition at line 1467 of file scriptforge.py.

References scriptforge.SFServices.SIMPLEEXEC.

◆ RunApplication()

def scriptforge.SFScriptForge.SF_Session.RunApplication (   self,
  command,
  parameters 
)

◆ SendMail()

def scriptforge.SFScriptForge.SF_Session.SendMail (   self,
  recipient,
  cc = '',
  bcc = '',
  subject = '',
  body = '',
  filenames = '',
  editmessage = True 
)

◆ UnoMethods()

def scriptforge.SFScriptForge.SF_Session.UnoMethods (   self,
  unoobject 
)

◆ UnoObjectType()

def scriptforge.SFScriptForge.SF_Session.UnoObjectType (   self,
  unoobject 
)

◆ UnoProperties()

def scriptforge.SFScriptForge.SF_Session.UnoProperties (   self,
  unoobject 
)

◆ WebService()

def scriptforge.SFScriptForge.SF_Session.WebService (   self,
  uri 
)

Member Data Documentation

◆ SCRIPTISAPPLICATION

string scriptforge.SFScriptForge.SF_Session.SCRIPTISAPPLICATION = 'application'
static

◆ SCRIPTISEMBEDDED

string scriptforge.SFScriptForge.SF_Session.SCRIPTISEMBEDDED = 'document'
static

Definition at line 1427 of file scriptforge.py.

◆ SCRIPTISOXT

string scriptforge.SFScriptForge.SF_Session.SCRIPTISOXT = 'uno_packages'
static

Definition at line 1433 of file scriptforge.py.

◆ SCRIPTISPERSONAL

string scriptforge.SFScriptForge.SF_Session.SCRIPTISPERSONAL = 'user'
static

Definition at line 1429 of file scriptforge.py.

◆ SCRIPTISPERSOXT

string scriptforge.SFScriptForge.SF_Session.SCRIPTISPERSOXT = 'user:uno_packages'
static

Definition at line 1430 of file scriptforge.py.

◆ SCRIPTISSHARED

string scriptforge.SFScriptForge.SF_Session.SCRIPTISSHARED = 'share'
static

Definition at line 1431 of file scriptforge.py.

◆ SCRIPTISSHAROXT

string scriptforge.SFScriptForge.SF_Session.SCRIPTISSHAROXT = 'share:uno_packages'
static

Definition at line 1432 of file scriptforge.py.

◆ serviceimplementation

string scriptforge.SFScriptForge.SF_Session.serviceimplementation = 'basic'
static

◆ servicename

string scriptforge.SFScriptForge.SF_Session.servicename = 'ScriptForge.Session'
static

◆ serviceproperties

scriptforge.SFScriptForge.SF_Session.serviceproperties = dict()
static

◆ servicesynonyms

tuple scriptforge.SFScriptForge.SF_Session.servicesynonyms = ('session', 'scriptforge.session')
static

Definition at line 1423 of file scriptforge.py.


The documentation for this class was generated from the following file: