Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XTypeDetection

Base Interface
com::sun::star::uno::XInterface

Description
support "flat" and "deep" type detection of a given document.


Known Services which Export this Interface

com::sun::star::document::TypeDetection type detection of a specified resource (document)

Methods' Summary

queryTypeByURL return internal type name which is suitable to given URL
queryTypeByDescriptor return internal type name which is suitable to given document properties by a MediaDescriptor

Methods' Details

queryTypeByURL
 
string
queryTypeByURL(
[ in ] string sURL );

Description
return internal type name which is suitable to given URL

We make a "flat" type detection only.

queryTypeByDescriptor
 
string
queryTypeByDescriptor(
[ inout ] sequence< com::sun::star::beans::PropertyValue > aDescriptor,
[ in ] boolean bDeep );

Description
return internal type name which is suitable to given document properties by a MediaDescriptor

These do the same as "queryTypeByURL()" before. As an additional feature, you can specify more document properties and select the detection mode. Available modes are "flat" (bDeep=FALSE) and "deep" (bDeep=TRUE) detection.


Top of Page