Properties of an ExtendedTypeDetection Service

From OpenOffice.org Wiki

Jump to: navigation, search


PAGE_TITLE: UHJvcGVydGllcyBvZiBhbiBFeHRlbmRlZFR5cGVEZXRlY3Rpb24gU2VydmljZQ==

In contrast to filters or frame loaders, the ExtendedTypeDetection has no configuration API on top of its configuration data. The normal configuration API of OpenOffice.org has to be used, as described in Configuration Management. The configuration set org.openoffice.Office.TypeDetection/DetectServices could be used, but it is better to use the already mentioned basic macro regfilter.bas in combination with regfilter.ini. Such detector services are used automatically during type detection of content. A detector service is addressed by its UNO implementation name.

Property Name Description
ServiceName string. This must be a valid UNO implementation name. This field cannot contain the service name, because this value must be unique, otherwise it would be impossible to distinguish more than one registered entry, for a service name is not unique. This value is also an entry in the corresponding configuration list.
Types sequence<string>. A list of type names recognized by this service that makes it possible to write a service that detects more than one type.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
Collection