Public Member Functions

Koo::Common::OpenOffice::OpenOffice Class Reference

List of all members.

Public Member Functions

def connect
def closeAll
def getServiceManager
def createUnoService
def getDesktop
def createUnoStruct
def makePropertyValue

Detailed Description

helper tools for using pyUNO

Definition at line 38 of file OpenOffice.py.


Member Function Documentation

def Koo::Common::OpenOffice::OpenOffice::closeAll (   self,
  close_desktop = False 
)
close all components and terminates desktop if requested

Definition at line 75 of file OpenOffice.py.

def Koo::Common::OpenOffice::OpenOffice::connect (   self  ) 
Connection to OOo instance using pyUNO

Definition at line 53 of file OpenOffice.py.

def Koo::Common::OpenOffice::OpenOffice::createUnoService (   self,
  cClass 
)
A handy way to create a global objects within the running OOo.

Definition at line 99 of file OpenOffice.py.

def Koo::Common::OpenOffice::OpenOffice::createUnoStruct (   self,
  cTypeName 
)
Create a UNO struct and return it.

Definition at line 119 of file OpenOffice.py.

def Koo::Common::OpenOffice::OpenOffice::getDesktop (   self  ) 
An easy way to obtain the Desktop object from a running OOo.

Definition at line 106 of file OpenOffice.py.

def Koo::Common::OpenOffice::OpenOffice::getServiceManager (   self  ) 
Get the ServiceManager from the running OpenOffice.org.

Definition at line 94 of file OpenOffice.py.

def Koo::Common::OpenOffice::OpenOffice::makePropertyValue (   self,
  cName = None,
  uValue = None,
  nHandle = None,
  nState = None 
)
Create a com.sun.star.beans.PropertyValue struct and return it.

Definition at line 132 of file OpenOffice.py.


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