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

Public Member Functions

def Architecture (self)
 
def ComputerName (self)
 
def CPUCount (self)
 
def CurrentUser (self)
 
def Machine (self)
 
def OSName (self)
 
def OSPlatform (self)
 
def OSRelease (self)
 
def OSVersion (self)
 
def Processor (self)
 
def PythonVersion (self)
 
def UserData (self)
 
- 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.Platform'
 
tuple servicesynonyms = ('platform', 'scriptforge.platform')
 
 serviceproperties
 
string py = ScriptForge.pythonhelpermodule + '$' + '_SF_Platform'
 
- 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 'Platform' service implements a collection of properties about the actual execution environment
    and context :
        the hardware platform
        the operating system
        the LibreOffice version
        the current user
    All those properties are read-only.
    The implementation is mainly based on the 'platform' module of the Python standard library

Definition at line 1239 of file scriptforge.py.

Member Function Documentation

◆ Architecture()

def scriptforge.SFScriptForge.SF_Platform.Architecture (   self)

◆ ComputerName()

def scriptforge.SFScriptForge.SF_Platform.ComputerName (   self)

◆ CPUCount()

def scriptforge.SFScriptForge.SF_Platform.CPUCount (   self)

◆ CurrentUser()

def scriptforge.SFScriptForge.SF_Platform.CurrentUser (   self)

◆ Machine()

def scriptforge.SFScriptForge.SF_Platform.Machine (   self)

◆ OSName()

def scriptforge.SFScriptForge.SF_Platform.OSName (   self)

◆ OSPlatform()

def scriptforge.SFScriptForge.SF_Platform.OSPlatform (   self)

◆ OSRelease()

def scriptforge.SFScriptForge.SF_Platform.OSRelease (   self)

◆ OSVersion()

def scriptforge.SFScriptForge.SF_Platform.OSVersion (   self)

◆ Processor()

def scriptforge.SFScriptForge.SF_Platform.Processor (   self)

◆ PythonVersion()

def scriptforge.SFScriptForge.SF_Platform.PythonVersion (   self)

◆ UserData()

def scriptforge.SFScriptForge.SF_Platform.UserData (   self)

Member Data Documentation

◆ py

string scriptforge.SFScriptForge.SF_Platform.py = ScriptForge.pythonhelpermodule + '$' + '_SF_Platform'
static

◆ serviceimplementation

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

◆ servicename

string scriptforge.SFScriptForge.SF_Platform.servicename = 'ScriptForge.Platform'
static

◆ serviceproperties

scriptforge.SFScriptForge.SF_Platform.serviceproperties
static
Initial value:
= dict(Architecture = False, ComputerName = False, CPUCount = False, CurrentUser = False,
Extensions = False, FilterNames = False, Fonts = False, FormatLocale = False,
Locale = False, Machine = False, OfficeLocale = False, OfficeVersion = False,
OSName = False, OSPlatform = False, OSRelease = False, OSVersion = False,
Printers = False, Processor = False, PythonVersion = False, SystemLocale = False,
UserData = False)

Definition at line 1254 of file scriptforge.py.

Referenced by scriptforge.SFServices.__setattr__(), and scriptforge.SFServices.Properties().

◆ servicesynonyms

tuple scriptforge.SFScriptForge.SF_Platform.servicesynonyms = ('platform', 'scriptforge.platform')
static

Definition at line 1253 of file scriptforge.py.


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