Overview | Module | Use | Devguide | Index

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

:: 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 Registered services in configuration, which support this interface for different mime types, will be called automatically to look into the document stream and decide which 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 information 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 © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.