service FilterFactory in module com::sun::star::document::

(Global Index)

Syntax

service FilterFactory;

Description

factory to create filter objects

Exported Interfaces

com::sun::star::lang::XMultiServiceFactory

Description

search suitable filter for given internal type name and additional arguments and create it

After a TypDetection you have an internal name of a type which presents your document. Call createInstance() or createInstanceWithArguments() with these informations and we create a suitable filter for you. There exist two types of filters: ImportFilter and ExportFilter . A combination of both services in one implementation is also possible. You can regulate search for filter by giving correct arguments - like flags for import/export ... @attention Don't use getAvailableServiceNames()! Please use XNameAccess to get informations about our configuration of accessible filters.


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

Description

readonly access to filter configuration

These interfaces support a readonly access to our internal configuration of all accessible filters. The return value of XNameAccess::getByName() is a sequence packed in an Any! Supported properties are: name of property value type of property description "Type" [string ] filter is registered for this type "UIName" [string ] localized name of filter to show at the UI "DocumentService" [string ] service name which presents the document "FilterService" [string ] service name of filter implementation "Flags" [integer] flags to describe the filter "UserData" [string ] additional information with private structure! "FileFormatVersion" [integer] version number of file format "TemplateName" [string ] name of suitable template


Top of Page