Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: frame ::

service ContentHandlerFactory
Description
factory to create content loader

With this factory it's possible to

  • have access on configuration of set of registered content handler objects
  • create a content handler by his internal name
  • query for a content handler by using special query or property description.


Exported Interfaces - Summary
::com::sun::star::lang::XMultiServiceFactory

interface to create handler objects by using his internal name (details)

::com::sun::star::container::XNameAccess

provides access to the whole content handler configuration (details)

::com::sun::star::container::XContainerQuery

supports query mode for configuration access (details)

Exported Interfaces - Details
::com::sun::star::lang::XMultiServiceFactory
Description
interface to create handler objects by using his internal name

Returned objects must support the service specification of a ContentHandler. They can be created by using of his internal name, which must be unambigous everytime, only. To get this name use further specified interfaces of this factory for access on the flat configuration.

::com::sun::star::container::XNameAccess
Description
provides access to the whole content handler configuration

This interface supports an access to the internal configuration of all accessible handler objects. The return value of ::com::sun::star::container::XNameAccess::getByName() is a property sequence packed in an any.

Types [string] file types for which handler is registered
UIName [string] UI representable and localized name
::com::sun::star::container::XContainerQuery
Description
supports query mode for configuration access

This interface can be used to get sub sets of current configuration entries which represent given search parameters.


 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.