LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XImportFilter2 Interface Reference

interface to implement for an XML-based import filter. More...


Inheritance diagram for XImportFilter2:

Public Member Functions

boolean importer ([in] sequence< com::sun::star::beans::PropertyValue > aSourceData, [in] com::sun::star::xml::sax::XFastParser xFastParser, [in] sequence< string > msUserData) raises ( com::sun::star::lang::IllegalArgumentException )
 performs the import. More...
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
void acquire ()
 increases the reference counter by one. More...
void release ()
 decreases the reference counter by one. More...

Detailed Description

interface to implement for an XML-based import filter.

Enhanced vs XImportFilter to take a XFastDocumentHandler.

LibreOffice 7.1

Member Function Documentation

◆ importer()

boolean importer ( [in] sequence< com::sun::star::beans::PropertyValue aSourceData,
[in] com::sun::star::xml::sax::XFastParser  xFastParser,
[in] sequence< string >  msUserData 
raises (com::sun::star::lang::IllegalArgumentException

performs the import.

The source data (location indicated by aSourceData), and the XML representation of the document must be generated by calls to xocHandler (???) methods.

aSourceDatacom::sun::star::document::MediaDescriptor which defines the data source
msUserDataSequence of strings which contains the user data defined in the TypeDetection.xml
xFastParserthe fast parser for the XML document, i.e. an SvXMLImport subclass
TRUE if import process is successful

The documentation for this interface was generated from the following file: