LibreOffice
LibreOffice 24.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 ExportFilter SaxDocumentHandler XExtendedDocumentHandler XMLImportFilter 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
Office Development - Writing the Filtering Component
Office Development - Writing the Filtering Component - XDocumentHandler

Member Function Documentation

◆ characters()

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

receives notification of character data.

◆ endDocument()

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

receives notification of the end of a document.

◆ endElement()

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

receives notification of the end of an element.

◆ ignorableWhitespace()

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

receives notification of white space that can be ignored.

◆ processingInstruction()

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

receives notification of a processing instruction.

◆ setDocumentLocator()

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.

◆ startDocument()

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

receives notification of the beginning of a document.

◆ startElement()

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: