LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XDocumentHandler Interface Referencepublished

receives notification of general document events. More...

import"XDocumentHandler.idl";

Inheritance diagram for XDocumentHandler:
XInterface XMLBasicImporter XXMLOasisBasicImporter ExportFilter SaxDocumentHandler XExtendedDocumentHandler XMLImportFilter XMLOasisBasicImporter XWriter Writer

Public Member Functions

void startDocument () raises ( com::sun::star::xml::sax::SAXException )
 receives notification of the beginning of a document. More...
 
void endDocument () raises ( com::sun::star::xml::sax::SAXException )
 receives notification of the end of a document. More...
 
void startElement ([in] string aName, [in] com::sun::star::xml::sax::XAttributeList xAttribs) raises ( com::sun::star::xml::sax::SAXException )
 receives notification of the beginning of an element . More...
 
void endElement ([in] string aName) raises ( com::sun::star::xml::sax::SAXException )
 receives notification of the end of an element. More...
 
void characters ([in] string aChars) raises ( com::sun::star::xml::sax::SAXException )
 receives notification of character data. More...
 
void ignorableWhitespace ([in] string aWhitespaces) raises ( com::sun::star::xml::sax::SAXException )
 receives notification of white space that can be ignored. More...
 
void processingInstruction ([in] string aTarget, [in] string aData) raises ( com::sun::star::xml::sax::SAXException )
 receives notification of a processing instruction. More...
 
void setDocumentLocator ([in] com::sun::star::xml::sax::XLocator xLocator) raises ( com::sun::star::xml::sax::SAXException )
 receives an object for locating the origin of SAX document events. 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

receives notification of general document events.

This interface is an IDL version of the Java interface org.xml.sax.DocumentHandler with some smaller adaptations.

Developers Guide
OfficeDev - Writing the Filtering Component
OfficeDev - Writing the Filtering Component - XDocumentHandler

Member Function Documentation

void characters ( [in] string  aChars)
raises (com::sun::star::xml::sax::SAXException
)

receives notification of character data.

void endDocument ( )
raises (com::sun::star::xml::sax::SAXException
)

receives notification of the end of a document.

void endElement ( [in] string  aName)
raises (com::sun::star::xml::sax::SAXException
)

receives notification of the end of an element.

void ignorableWhitespace ( [in] string  aWhitespaces)
raises (com::sun::star::xml::sax::SAXException
)

receives notification of white space that can be ignored.

void processingInstruction ( [in] string  aTarget,
[in] string  aData 
)
raises (com::sun::star::xml::sax::SAXException
)

receives notification of a processing instruction.

void setDocumentLocator ( [in] com::sun::star::xml::sax::XLocator  xLocator)
raises (com::sun::star::xml::sax::SAXException
)

receives an object for locating the origin of SAX document events.

void startDocument ( )
raises (com::sun::star::xml::sax::SAXException
)

receives notification of the beginning of a document.

void startElement ( [in] string  aName,
[in] com::sun::star::xml::sax::XAttributeList  xAttribs 
)
raises (com::sun::star::xml::sax::SAXException
)

receives notification of the beginning of an element .


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