From 420cecf55878a2d652a61540ddc37a7faaf4cc46 Mon Sep 17 00:00:00 2001 From: Mohammed Abdul Azeem Date: Wed, 14 Jun 2017 18:16:41 +0530 Subject: [API CHANGE] Add processingInstruction event to XFastDocumentHandler: Also made changes in FastParser impl. to emit this event. I've made use of existing namespace and element name strings to store target and data for this event. Change-Id: I6f00cd1172552dd9a74ec22190bef3d2289ae515 Reviewed-on: https://gerrit.libreoffice.org/38784 Reviewed-by: Michael Meeks Tested-by: Michael Meeks --- offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl b/offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl index 61cb668c00c7..bdabf6d51701 100644 --- a/offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl +++ b/offapi/com/sun/star/xml/sax/XFastDocumentHandler.idl @@ -50,6 +50,12 @@ interface XFastDocumentHandler: XFastContextHandler raises( com::sun::star::xml::sax::SAXException ); + /** receives notification of a processing instruction. + */ + void processingInstruction( [in] string aTarget, [in] string aData ) + raises( com::sun::star::xml::sax::SAXException ); + + /** receives an object for locating the origin of SAX document events. */ void setDocumentLocator( [in] com::sun::star::xml::sax::XLocator xLocator ) -- cgit