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

makes it possible to connect a document with an ImportFilter More...

import"XImporter.idl";

Inheritance diagram for XImporter:
XInterface ImportFilter XMLImportFilter

Public Member Functions

void setTargetDocument ([in] com::sun::star::lang::XComponent Document) raises ( com::sun::star::lang::IllegalArgumentException )
 sets the target document for the importer 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

makes it possible to connect a document with an ImportFilter

An ImportFilter must know the target of his filter operation. To set this on a filter is part of this interface. Same mechanism exist for export too.

See also
ExportFilter
ImportFilter
XExporter

Member Function Documentation

◆ setTargetDocument()

void setTargetDocument ( [in] com::sun::star::lang::XComponent  Document)
raises (com::sun::star::lang::IllegalArgumentException
)

sets the target document for the importer

Parameters
Documentthe target document
Exceptions
com::sun::star::lang::IllegalArgumentExceptionif Document does not support any service which is supported by this importer

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