Methods' Summary |
detect |
controls agreement of a "flat" TypeDetection
with given URL or arguments
|
Methods' Details |
detect
- 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 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 © 2000, 2012 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.