Class TypesGetter

java.lang.Object
org.libreoffice.ide.eclipse.core.office.TypesGetter

public class TypesGetter extends Object
Facade class loading all the methods using a LibreOffice instance.
  • Constructor Details

    • TypesGetter

      public TypesGetter()
  • Method Details

    • setOOo

      public void setOOo(IOOo ooo)
      Set the LibreOffice instance to use for the different operations.
      Parameters:
      ooo - the LibreOffice instance to set.
    • getOOo

      public IOOo getOOo()
      Returns:
      the LibreOffice to use for the different operations.
    • setLocalRegs

      public void setLocalRegs(List<String> localRegs)
      Parameters:
      localRegs - the local registries to search
    • getTypes

      public Map<String,List<InternalUnoType>> getTypes(String root, int mask)
      Get the UNO types from an office instance.
      Parameters:
      root - the root registry key where to look for the types. If the value is null the whole registry will be searched
      mask - the bit-ORed types to search. The types are defined in the IUnoFactoryConstants class.
      Returns:
      the list of types available in the office