Class TypesGetter
- java.lang.Object
-
- org.libreoffice.ide.eclipse.core.office.TypesGetter
-
public class TypesGetter extends java.lang.ObjectFacade class loading all the methods using a LibreOffice instance.
-
-
Constructor Summary
Constructors Constructor Description TypesGetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOOogetOOo()java.util.Map<java.lang.String,java.util.List<InternalUnoType>>getTypes(java.lang.String pRoot, int pMask)Get the UNO types from an office instance.voidsetLocalRegs(java.util.List<java.lang.String> pLocalRegs)voidsetOOo(IOOo pOOo)Set the LibreOffice instance to use for the different operations.
-
-
-
Method Detail
-
setOOo
public void setOOo(IOOo pOOo)
Set the LibreOffice instance to use for the different operations.- Parameters:
pOOo- the LibreOffice instance to set.
-
getOOo
public IOOo getOOo()
- Returns:
- the LibreOffice to use for the different operations.
-
setLocalRegs
public void setLocalRegs(java.util.List<java.lang.String> pLocalRegs)
- Parameters:
pLocalRegs- the local registries to search
-
getTypes
public java.util.Map<java.lang.String,java.util.List<InternalUnoType>> getTypes(java.lang.String pRoot, int pMask)
Get the UNO types from an office instance.- Parameters:
pRoot- the root registry key where to look for the types. If the value isnullthe whole registry will be searchedpMask- the bit-ORed types to search. The types are defined in theIUnoFactoryConstantsclass.- Returns:
- the list of types available in the office
-
-