Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: document ::
interface XExtendedFilterDetection
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-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 See also TypeDetection See also 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

Copyright © 2003 Sun Microsystems, Inc.