Components of a Filter

From OpenOffice.org Wiki

Jump to: navigation, search
Image:Book.png


PAGE_TITLE: Q29tcG9uZW50cyBvZiBhIEZpbHRlcg==

For a filter of this type to operate, three things are necessary.

  1. The XML filter adaptor.
  2. A filtering component that implements the required interfaces.
  3. A valid filter and type definition.

Both the XML filter adaptor and the filtering component are UNO components that can be instantiated through the /com.sun.star.lang.XMultiServiceFactory:createInstance() method. Since the XML filter adaptor is generic, the filtering component is all that needs to be implemented. Once this has been done, the TypeDetection.xcu file can be expanded to include the newly created filter definition.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools