summaryrefslogtreecommitdiffstats
path: root/include/sax
diff options
context:
space:
mode:
authorMohammed Abdul Azeem <azeemmysore@gmail.com>2016-07-06 20:44:39 +0530
committerMichael Meeks <michael.meeks@collabora.com>2016-07-09 20:12:28 +0000
commitfdd1c64821a81d653ddc911e35149ff969e2f198 (patch)
treed03c8cca7bc594d61b29a92b2cd1d2fc595f0b88 /include/sax
parentResolves: tdf#100809 Paragraph styles drop-down list (diff)
downloadcore-fdd1c64821a81d653ddc911e35149ff969e2f198.tar.gz
core-fdd1c64821a81d653ddc911e35149ff969e2f198.zip
GSOC: Adapt XLegacyFastParser to function like XParser.
Made XFastParser to pass namespace prefix instead of URI for Unknown attributes and elements, Namespace handler is provided to resolve those. Test for XFastParser unknown elements is removed, since testing XLegacyFastParser indirectly tests that also. Change-Id: Ia41ff5d3d4c07cef0ca23ba858bfb2a94b91b1f5 Reviewed-on: https://gerrit.libreoffice.org/26982 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/fastparser.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sax/fastparser.hxx b/include/sax/fastparser.hxx
index 0325513e3b52..3ddba58f2707 100644
--- a/include/sax/fastparser.hxx
+++ b/include/sax/fastparser.hxx
@@ -61,6 +61,7 @@ public:
virtual void SAL_CALL setErrorHandler( const css::uno::Reference< css::xml::sax::XErrorHandler >& Handler ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setEntityResolver( const css::uno::Reference< css::xml::sax::XEntityResolver >& Resolver ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setLocale( const css::lang::Locale& rLocale ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setNamespaceHandler( const css::uno::Reference< css::xml::sax::XFastNamespaceHandler >& Handler) throw (css::uno::RuntimeException, std::exception) override;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) throw (css::uno::RuntimeException, std::exception) override;