LibreOffice Module pyuno (master) 1
Classes | Functions | Variables
unohelper Namespace Reference

Classes

class  _FactoryHelper_
 
class  _ImplementationHelperEntry
 
class  Base
 
class  CurrentContext
 
class  ImplementationEntry
 
class  ImplementationHelper
 

Functions

def _mode_to_str (mode)
 
def _propertymode_to_str (mode)
 
def inspect (obj, out)
 
def createSingleServiceFactory (clazz, implementationName, serviceNames)
 
def writeRegistryInfoHelper (smgr, regKey, seqEntries)
 
def systemPathToFileUrl (systemPath)
 
def fileUrlToSystemPath (url)
 
def absolutize (path, relativeUrl)
 
def getComponentFactoryHelper (implementationName, smgr, regKey, seqEntries)
 
def addComponentsToContext (toBeExtendedContext, contextRuntime, componentUrls, loaderName)
 
def _unohelper_getHandle (self)
 

Variables

dictionary _g_typeTable = {}
 

Function Documentation

◆ _mode_to_str()

def unohelper._mode_to_str (   mode)
private

Definition at line 44 of file unohelper.py.

Referenced by inspect().

◆ _propertymode_to_str()

def unohelper._propertymode_to_str (   mode)
private

Definition at line 54 of file unohelper.py.

Referenced by inspect().

◆ _unohelper_getHandle()

def unohelper._unohelper_getHandle (   self)
private

Definition at line 224 of file unohelper.py.

References uno.getTypeByName(), and uno.isInterface().

Referenced by unohelper.Base.getTypes().

◆ absolutize()

def unohelper.absolutize (   path,
  relativeUrl 
)

Definition at line 186 of file unohelper.py.

Referenced by pythonloader.Loader.getModuleFromUrl().

◆ addComponentsToContext()

def unohelper.addComponentsToContext (   toBeExtendedContext,
  contextRuntime,
  componentUrls,
  loaderName 
)

Definition at line 195 of file unohelper.py.

◆ createSingleServiceFactory()

def unohelper.createSingleServiceFactory (   clazz,
  implementationName,
  serviceNames 
)

◆ fileUrlToSystemPath()

def unohelper.fileUrlToSystemPath (   url)

◆ getComponentFactoryHelper()

def unohelper.getComponentFactoryHelper (   implementationName,
  smgr,
  regKey,
  seqEntries 
)

Definition at line 190 of file unohelper.py.

References createSingleServiceFactory().

◆ inspect()

def unohelper.inspect (   obj,
  out 
)

Definition at line 74 of file unohelper.py.

References _mode_to_str(), _propertymode_to_str(), and uno.getComponentContext().

◆ systemPathToFileUrl()

def unohelper.systemPathToFileUrl (   systemPath)

Definition at line 178 of file unohelper.py.

◆ writeRegistryInfoHelper()

def unohelper.writeRegistryInfoHelper (   smgr,
  regKey,
  seqEntries 
)

Definition at line 171 of file unohelper.py.

Variable Documentation

◆ _g_typeTable

dictionary unohelper._g_typeTable = {}
private

Definition at line 223 of file unohelper.py.