diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-12-06 14:04:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-06 15:45:47 +0100 |
commit | 387a7dcfe7c2a5c32b9fa7678f722845775041ba (patch) | |
tree | 9e4137fa47c8f82f5c3abd5dd79597ed0098ffbe /xmloff/inc | |
parent | b0e4f29560671d48c3943b6d0165c91c7ba91fd5 (diff) |
fastparser in XMLImpSpanContext_Impl
Change-Id: Iba1b61c607f5f748f5acf4ce16d2c0cce8dee72e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107281
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index 10c33b3bfa31..b8560b17b3d6 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -69,6 +69,10 @@ public: const char* pService, /// name of SO API service sal_uInt16 nPrfx, /// namespace prefix const OUString& rLocalName); /// element name w/o prefix + XMLTextFieldImportContext( + SvXMLImport& rImport, /// XML Import + XMLTextImportHelper& rHlp, /// Text import helper + const char* pService); /// name of SO API service /// process character data: will be collected in member sContentBuffer virtual void SAL_CALL characters( const OUString& sContent ) override; @@ -89,6 +93,10 @@ public: sal_uInt16 nPrefix, const OUString& rName, sal_uInt16 nToken); + static XMLTextFieldImportContext* CreateTextFieldImportContext( + SvXMLImport& rImport, + XMLTextImportHelper& rHlp, + sal_Int32 nElement); protected: /// get helper @@ -985,9 +993,7 @@ class XMLUrlFieldImportContext final : public XMLTextFieldImportContext public: XMLUrlFieldImportContext(SvXMLImport& rImport, - XMLTextImportHelper& rHlp, - sal_uInt16 nPrfx, - const OUString& sLocalName); + XMLTextImportHelper& rHlp); private: /// no attributes -> empty method |