diff options
author | Mohammed Abdul Azeem <azeemmysore@gmail.com> | 2017-06-14 18:16:41 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2017-06-15 11:08:20 +0200 |
commit | 420cecf55878a2d652a61540ddc37a7faaf4cc46 (patch) | |
tree | 1a4ee822f7b5e9e0e21c31e6d24d7a8273c1b87e /include/oox | |
parent | dd0df1c8a213ab6f0959145396bc273bf885af39 (diff) |
[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 <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/core/filterdetect.hxx | 1 | ||||
-rw-r--r-- | include/oox/core/fragmenthandler.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/oox/core/filterdetect.hxx b/include/oox/core/filterdetect.hxx index f5932eab8af6..44f0363187c9 100644 --- a/include/oox/core/filterdetect.hxx +++ b/include/oox/core/filterdetect.hxx @@ -67,6 +67,7 @@ public: // XFastDocumentHandler virtual void SAL_CALL startDocument() override; virtual void SAL_CALL endDocument() override; + virtual void SAL_CALL processingInstruction( const OUString& rTarget, const OUString& rData ) override; virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator ) override; // XFastContextHandler diff --git a/include/oox/core/fragmenthandler.hxx b/include/oox/core/fragmenthandler.hxx index 7ab4261c5901..e8107a1dae82 100644 --- a/include/oox/core/fragmenthandler.hxx +++ b/include/oox/core/fragmenthandler.hxx @@ -101,6 +101,7 @@ public: virtual void SAL_CALL startDocument() override; virtual void SAL_CALL endDocument() override; + virtual void SAL_CALL processingInstruction( const OUString& rTarget, const OUString& rData ) override; virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& rxLocator ) override; // com.sun.star.xml.sax.XFastContextHandler interface --------------------- |