LibreOffice Module unotest (master) 1
Classes | Functions | Variables
org.libreoffice.unotest Namespace Reference

Classes

class  OfficeConnection
 UNO utilities ###. More...
 
class  UnoInProcess
 
class  UnoRemoteConnection
 

Functions

def mkPropertyValue (name, value)
 utilities ### More...
 
def mkPropertyValues (**kwargs)
 
def fileUrlToSystemPath (url)
 
def systemPathToFileUrl (systemPath)
 
def simpleInvoke (connection, test)
 
def retryInvoke (connection, test)
 
def runConnectionTests (connection, invoker, tests)
 
def makeCopyFromTDOC (file)
 

Variables

bool havePonies = False
 
 parser = argparse.ArgumentParser("Help utilities for testing LibreOffice")
 tests ### More...
 
 group = parser.add_mutually_exclusive_group()
 
 help
 
 action
 
 args = parser.parse_args()
 
bool verbose = True
 
 con = PersistentConnection({"verbose" : args.verbose})
 
 end
 

Function Documentation

◆ fileUrlToSystemPath()

def org.libreoffice.unotest.fileUrlToSystemPath (   url)

Definition at line 54 of file unotest.py.

◆ makeCopyFromTDOC()

def org.libreoffice.unotest.makeCopyFromTDOC (   file)

Definition at line 285 of file unotest.py.

Referenced by org.libreoffice.unotest.UnoInProcess.openDocFromTDOC().

◆ mkPropertyValue()

def org.libreoffice.unotest.mkPropertyValue (   name,
  value 
)

◆ mkPropertyValues()

def org.libreoffice.unotest.mkPropertyValues ( **  kwargs)
mkPropertyValues(Name=Value, Name=Value,...) -> (PropertyValue, PropertyValue,...)
ex. : mkPropertyValues(Hidden=True, ReadOnly=False)

Definition at line 48 of file unotest.py.

References org.libreoffice.unotest.mkPropertyValues().

Referenced by org.libreoffice.unotest.mkPropertyValues().

◆ retryInvoke()

def org.libreoffice.unotest.retryInvoke (   connection,
  test 
)

Definition at line 260 of file unotest.py.

◆ runConnectionTests()

def org.libreoffice.unotest.runConnectionTests (   connection,
  invoker,
  tests 
)

Definition at line 277 of file unotest.py.

◆ simpleInvoke()

def org.libreoffice.unotest.simpleInvoke (   connection,
  test 
)

Definition at line 253 of file unotest.py.

◆ systemPathToFileUrl()

def org.libreoffice.unotest.systemPathToFileUrl (   systemPath)

Definition at line 57 of file unotest.py.

Variable Documentation

◆ action

org.libreoffice.unotest.action

Definition at line 312 of file unotest.py.

◆ args

org.libreoffice.unotest.args = parser.parse_args()

◆ con

org.libreoffice.unotest.con = PersistentConnection({"verbose" : args.verbose})

Definition at line 317 of file unotest.py.

◆ end

org.libreoffice.unotest.end

Definition at line 318 of file unotest.py.

◆ group

org.libreoffice.unotest.group = parser.add_mutually_exclusive_group()

Definition at line 311 of file unotest.py.

◆ havePonies

bool org.libreoffice.unotest.havePonies = False

Definition at line 185 of file unotest.py.

◆ help

org.libreoffice.unotest.help

Definition at line 312 of file unotest.py.

◆ parser

org.libreoffice.unotest.parser = argparse.ArgumentParser("Help utilities for testing LibreOffice")

tests ###

Definition at line 310 of file unotest.py.

◆ verbose

bool org.libreoffice.unotest.verbose = True

Definition at line 316 of file unotest.py.