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

Public Member Functions

def HashStr (cls, inputstr, algorithm)
 
def IsADate (self, inputstr, dateformat='YYYY-MM-DD')
 
def IsEmail (self, inputstr)
 
def IsFileName (self, inputstr, osname=ScriptForge.cstSymEmpty)
 
def IsIBAN (self, inputstr)
 
def IsIPv4 (self, inputstr)
 
def IsLike (self, inputstr, pattern, casesensitive=False)
 
def IsSheetName (self, inputstr)
 
def IsUrl (self, inputstr)
 
def SplitNotQuoted (self, inputstr, delimiter=' ', occurrences=0, quotechar='"')
 
def Wrap (self, inputstr, width=70, tabsize=8)
 
- 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.String'
 
tuple servicesynonyms = ('string', 'scriptforge.string')
 
 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

    Focus on string manipulation, regular expressions, encodings and hashing algorithms.
    The methods implemented in Basic that are redundant with Python builtin functions
    are not duplicated

Definition at line 1492 of file scriptforge.py.

Member Function Documentation

◆ HashStr()

def scriptforge.SFScriptForge.SF_String.HashStr (   cls,
  inputstr,
  algorithm 
)

Definition at line 1505 of file scriptforge.py.

References scriptforge.SFServices.SIMPLEEXEC.

◆ IsADate()

def scriptforge.SFScriptForge.SF_String.IsADate (   self,
  inputstr,
  dateformat = 'YYYY-MM-DD' 
)

◆ IsEmail()

def scriptforge.SFScriptForge.SF_String.IsEmail (   self,
  inputstr 
)

◆ IsFileName()

def scriptforge.SFScriptForge.SF_String.IsFileName (   self,
  inputstr,
  osname = ScriptForge.cstSymEmpty 
)

◆ IsIBAN()

def scriptforge.SFScriptForge.SF_String.IsIBAN (   self,
  inputstr 
)

◆ IsIPv4()

def scriptforge.SFScriptForge.SF_String.IsIPv4 (   self,
  inputstr 
)

◆ IsLike()

def scriptforge.SFScriptForge.SF_String.IsLike (   self,
  inputstr,
  pattern,
  casesensitive = False 
)

◆ IsSheetName()

def scriptforge.SFScriptForge.SF_String.IsSheetName (   self,
  inputstr 
)

◆ IsUrl()

def scriptforge.SFScriptForge.SF_String.IsUrl (   self,
  inputstr 
)

◆ SplitNotQuoted()

def scriptforge.SFScriptForge.SF_String.SplitNotQuoted (   self,
  inputstr,
  delimiter = ' ',
  occurrences = 0,
  quotechar = '"' 
)

◆ Wrap()

def scriptforge.SFScriptForge.SF_String.Wrap (   self,
  inputstr,
  width = 70,
  tabsize = 8 
)

Member Data Documentation

◆ serviceimplementation

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

◆ servicename

string scriptforge.SFScriptForge.SF_String.servicename = 'ScriptForge.String'
static

◆ serviceproperties

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

◆ servicesynonyms

tuple scriptforge.SFScriptForge.SF_String.servicesynonyms = ('string', 'scriptforge.string')
static

Definition at line 1501 of file scriptforge.py.


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