diff options
author | Daniel Sikeler <d.sikeler94@gmail.com> | 2015-09-10 17:16:29 +0200 |
---|---|---|
committer | Daniel Sikeler <d.sikeler94@gmail.com> | 2015-09-10 17:16:29 +0200 |
commit | ef214ac0b1d87d6143b46dde5225b74b1f827c6c (patch) | |
tree | 0227c11999beba0b7de7296cbd22d0525a580b08 | |
parent | 9c0240837f9ee4ab589c7f1d173bb4c8af50af91 (diff) |
fastparser impl. for XMLFileNameImportContext
Change-Id: I35b3554f61886c00804b63291b05dbc0c2653f98
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/text/txtfldi.cxx | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index b596049e8a2e..a20714302301 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -854,6 +854,9 @@ public: XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName); + XMLFileNameImportContext( SvXMLImport& rImport, + XMLTextImportHelper& rHlp, + sal_Int32 Element ); protected: /// process attribute values diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index e250d3eb5547..e3800a0dae5c 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -2476,6 +2476,19 @@ XMLFileNameImportContext::XMLFileNameImportContext( bValid = true; } +XMLFileNameImportContext::XMLFileNameImportContext( + SvXMLImport& rImport, XMLTextImportHelper& rHlp, + sal_Int32 Element ) +: XMLTextFieldImportContext( rImport, rHlp, sAPI_file_name, Element ), + sPropertyFixed(sAPI_is_fixed), + sPropertyFileFormat(sAPI_file_format), + sPropertyCurrentPresentation(sAPI_current_presentation), + nFormat(FilenameDisplayFormat::FULL), + bFixed(false) +{ + bValid = true; +} + void XMLFileNameImportContext::ProcessAttribute( sal_uInt16 nAttrToken, const OUString& sAttrValue ) |