LibreOffice Module wizards (master) 1
|
Public Member Functions | |
def | ActiveWindow (self) |
def | Activate (self, windowname='') |
def | CreateBaseDocument (self, filename, embeddeddatabase='HSQLDB', registrationname='', calcfilename='') |
def | CreateDocument (self, documenttype='', templatefile='', hidden=False) |
def | Documents (self) |
def | GetDocument (self, windowname='') |
def | Maximize (self, windowname='') |
def | Minimize (self, windowname='') |
def | OpenBaseDocument (self, filename='', registrationname='', macroexecution=MACROEXECNORMAL) |
def | OpenDocument (self, filename, password='', readonly=False, hidden=False, macroexecution=MACROEXECNORMAL, filtername='', filteroptions='') |
def | Resize (self, left=-1, top=-1, width=-1, height=-1) |
def | RunCommand (self, command, *args, **kwargs) |
def | SetStatusbar (self, text='', percentage=-1) |
def | ShowProgressBar (self, title='', text='', percentage=-1) |
def | WindowExists (self, windowname) |
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.UI' |
tuple | servicesynonyms = ('ui', 'scriptforge.ui') |
serviceproperties = dict(ActiveWindow = False, Height = False, Width = False, X = False, Y = False) | |
MACROEXECALWAYS | |
MACROEXECNEVER | |
MACROEXECNORMAL | |
BASEDOCUMENT | |
CALCDOCUMENT | |
DRAWDOCUMENT | |
IMPRESSDOCUMENT | |
MATHDOCUMENT | |
WRITERDOCUMENT | |
activeWindow | |
activewindow | |
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 | |
Singleton class for the identification and the manipulation of the different windows composing the whole LibreOffice application: - Windows selection - Windows moving and resizing - Statusbar settings - Creation of new windows - Access to the underlying "documents"
Definition at line 1625 of file scriptforge.py.
def scriptforge.SFScriptForge.SF_UI.Activate | ( | self, | |
windowname = '' |
|||
) |
Definition at line 1652 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.ActiveWindow | ( | self | ) |
Definition at line 1647 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.CreateBaseDocument | ( | self, | |
filename, | |||
embeddeddatabase = 'HSQLDB' , |
|||
registrationname = '' , |
|||
calcfilename = '' |
|||
) |
Definition at line 1655 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.CreateDocument | ( | self, | |
documenttype = '' , |
|||
templatefile = '' , |
|||
hidden = False |
|||
) |
Definition at line 1659 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.Documents | ( | self | ) |
Definition at line 1662 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.GetDocument | ( | self, | |
windowname = '' |
|||
) |
Definition at line 1665 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.Maximize | ( | self, | |
windowname = '' |
|||
) |
Definition at line 1668 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.Minimize | ( | self, | |
windowname = '' |
|||
) |
Definition at line 1671 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.OpenBaseDocument | ( | self, | |
filename = '' , |
|||
registrationname = '' , |
|||
macroexecution = MACROEXECNORMAL |
|||
) |
Definition at line 1674 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.OpenDocument | ( | self, | |
filename, | |||
password = '' , |
|||
readonly = False , |
|||
hidden = False , |
|||
macroexecution = MACROEXECNORMAL , |
|||
filtername = '' , |
|||
filteroptions = '' |
|||
) |
Definition at line 1677 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.Resize | ( | self, | |
left = -1 , |
|||
top = -1 , |
|||
width = -1 , |
|||
height = -1 |
|||
) |
Definition at line 1682 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.RunCommand | ( | self, | |
command, | |||
* | args, | ||
** | kwargs | ||
) |
Definition at line 1685 of file scriptforge.py.
References scriptforge.SFServices.SIMPLEEXEC.
def scriptforge.SFScriptForge.SF_UI.SetStatusbar | ( | self, | |
text = '' , |
|||
percentage = -1 |
|||
) |
Definition at line 1693 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.ShowProgressBar | ( | self, | |
title = '' , |
|||
text = '' , |
|||
percentage = -1 |
|||
) |
Definition at line 1696 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
def scriptforge.SFScriptForge.SF_UI.WindowExists | ( | self, | |
windowname | |||
) |
Definition at line 1701 of file scriptforge.py.
References scriptforge.SFServices.ExecMethod(), sfx2::SfxNotebookBar.ExecMethod(), and scriptforge.SFServices.vbMethod.
|
static |
Definition at line 1650 of file scriptforge.py.
|
static |
Definition at line 1650 of file scriptforge.py.
|
static |
Definition at line 1643 of file scriptforge.py.
|
static |
Definition at line 1643 of file scriptforge.py.
|
static |
Definition at line 1643 of file scriptforge.py.
|
static |
Definition at line 1643 of file scriptforge.py.
|
static |
Definition at line 1642 of file scriptforge.py.
|
static |
Definition at line 1642 of file scriptforge.py.
|
static |
Definition at line 1642 of file scriptforge.py.
|
static |
Definition at line 1643 of file scriptforge.py.
|
static |
Definition at line 1636 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 1637 of file scriptforge.py.
Referenced by scriptforge.ScriptForge.__init__(), and scriptforge.SFServices.__repr__().
|
static |
Definition at line 1639 of file scriptforge.py.
Referenced by scriptforge.SFServices.__setattr__(), and scriptforge.SFServices.Properties().
|
static |
Definition at line 1638 of file scriptforge.py.
|
static |
Definition at line 1643 of file scriptforge.py.