Thx to OJ, who point me to an existing method in module svtools to
retrieve the model type.
Thus, the below made interface announcement will be changed by a new one.
[EMAIL PROTECTED] wrote:
*Type* info
*Title* extension of class <SvXMLExport>
*Posted by* [EMAIL PROTECTED]
*Affected* ...,xmloff
*Effective from* SRC680 cws swa11y203
/*Summary*/
+ enum SvXMLExport::tModelType
+ SvXMLExport::tModelType SvXMLExport::GetModelType()
/*Description*/
Method <SvXMLExport::GetModelType()> returns the type of the model -
<SvXMLExport::GetModel()> -, which is set at the <SvXMLExport> instance.
The return value is of enumeration type <SvXMLExport::tModelType> with
the following values:
MODEL_UNKNOWN - no model set at the <SvXMLExport> instance or set
model is of unknown type
MODEL_TEXT - model supports service com.sun.star.text.GenericTextDocument
MODEL_SPREADSHEET - model supports servive
com.sun.star.sheet.SpreadsheetDocument
MODEL_PRESENTATION - model supports service
com.sun.star.presentation.PresentationDocument
MODEL_DRAWING - model supports service
com.sun.star.drawing.DrawingDocument
MODEL_OFFICE_DATABASE - model supports service
com.sun.star.sdb.OfficeDatabaseDocument
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]