service TypeDetection in module com::sun::star::document::

(Global Index)

Syntax

service TypeDetection;

Description

type detection of a specified resource (document)

Exported Interfaces

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

Description

detect resource

Use XTypeDetection interface to get information about type of given document.


com::sun::star::container::XNameAccess

Description

readonly access to complete type configuration list

These interface support a readonly access to our internal configuration of all accessible types. The return value of XNameAccess::getByName() is a sequence packed in an Any! Supported properties are: name of property value type of property description "UIName" [string] localized name of type to show at UI elements "MediaType" [string] mime type "ClipboardFormat" [string] name of clipboard format "URLPattern" [sequence ] a list of URL patterns which identify this type "Extensions" [sequence ] a list of file extensions which identify this type "DocumentIconID" [integer] an ID which present the number of corresponding icon


Top of Page