Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: document ::

interface XExtendedFilterDetection
Description
provides a "deep" filter detection

A "deep" filter detection means looking into the document stream to detect the format of it. Services of type ExtendedTypeDetection must support this interface to be called from generic load mechanism of the office for that.

See also
DetectService, TypeDetection, FilterFactory

Methods' Summary
detect controls agreement of a "flat" TypeDetection with given URL or arguments  
Methods' Details
detect
string
detect( [inout] sequence< ::com::sun::star::beans::PropertyValue >  Descriptor );

Description
controls agreement of a "flat" TypeDetection with given URL or arguments

Registerd services in configuration, which support this interface for different mime types, will be called automaticly to look into the document stream and cdecide wich format it represent. Add the collected information about detected documents in given MediaDescriptor Descriptor. The decision must be returned as any valid type name (which specifies the detected format) or an empty value for unknown formats.

Parameter Descriptor
represent a MediaDescriptor which can be used to get/set informations about the detected document
Returns
an internal type name if format was detected successfully
or an empty value for an unknown document format.
Top of Page

Apache Software Foundation

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

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