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

Public Member Functions

def ImportFromCSVFile (self, filename, delimiter=',', dateformat='')
 
- 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.Array'
 
tuple servicesynonyms = ('array', 'scriptforge.array')
 
 serviceproperties = dict()
 
- 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

    Provides a collection of methods for manipulating and transforming arrays of one dimension (vectors)
    and arrays of two dimensions (matrices). This includes set operations, sorting,
    importing to and exporting from text files.
    The Python version of the service provides a single method: ImportFromCSVFile

Definition at line 610 of file scriptforge.py.

Member Function Documentation

◆ ImportFromCSVFile()

def scriptforge.SFScriptForge.SF_Array.ImportFromCSVFile (   self,
  filename,
  delimiter = ',',
  dateformat = '' 
)
    Difference with the Basic version: dates are returned in their iso format,
    not as any of the datetime objects.

Definition at line 623 of file scriptforge.py.

References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), scriptforge.SFServices.flgArrayRet, and scriptforge.SFServices.vbMethod.

Member Data Documentation

◆ serviceimplementation

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

◆ servicename

string scriptforge.SFScriptForge.SF_Array.servicename = 'ScriptForge.Array'
static

◆ serviceproperties

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

◆ servicesynonyms

tuple scriptforge.SFScriptForge.SF_Array.servicesynonyms = ('array', 'scriptforge.array')
static

Definition at line 620 of file scriptforge.py.


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