[API CHANGE] Add processingInstruction event to XFastDocumentHandler:

Desktop / LibreOffice - Mohammed Abdul Azeem [gmail.com] - 15 June 2017 05:08 EDT

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

420cecf [API CHANGE] Add processingInstruction event to XFastDocumentHandler:
include/oox/core/filterdetect.hxx | 1 +
include/oox/core/fragmenthandler.hxx | 1 +
.../com/sun/star/xml/sax/XFastDocumentHandler.idl | 6 +++
oox/source/core/filterdetect.cxx | 4 ++
oox/source/core/fragmenthandler.cxx | 4 ++
oox/source/crypto/DocumentDecryption.cxx | 2 +
oox/source/docprop/docprophandler.cxx | 4 ++
oox/source/docprop/docprophandler.hxx | 1 +
sax/qa/cppunit/xmlimport.cxx | 3 +-
sax/qa/data/nestedns.xml | 2 +
sax/source/fastparser/fastparser.cxx | 48 +++++++++++++++++++++-
sax/source/fastparser/legacyfastparser.cxx | 7 ++++
unoxml/qa/unit/domtest.cxx | 4 ++
.../source/ooxml/OOXMLFastDocumentHandler.cxx | 4 ++
.../source/ooxml/OOXMLFastDocumentHandler.hxx | 1 +
15 files changed, 90 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share