diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-04-22 15:19:45 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-04-22 15:21:38 +0200 |
commit | 57929ce5ccbb0ddf213d2182b94e939ba6a337bb (patch) | |
tree | 572644cdb6f5d511682e56af2d47339a4fcc5c02 /xmloff/inc | |
parent | bd75327c8bc1157036ca11db8c808dc7ceb2109e (diff) |
tdf#88056: Implement import of page title field from ODF
the field seems to get imported now, but still ain't displayed
in Impress *sigh*
Change-Id: I095b9a2c59145f984bc9db853cc22501ca103bb7
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index f423513f0d55..197285672a98 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -1406,6 +1406,28 @@ public: ::com::sun::star::beans::XPropertySet> & xPropertySet) SAL_OVERRIDE; }; +/** import page|slide title fields (<presentation:page-title>) */ +class XMLPageTitleFieldImportContext : public XMLTextFieldImportContext +{ +public: + TYPEINFO_OVERRIDE(); + + XMLPageTitleFieldImportContext( + SvXMLImport& rImport, /// XML Import + XMLTextImportHelper& rHlp, /// Text import helper + sal_uInt16 nPrfx, /// namespace prefix + const OUString& sLocalName); /// element name w/o prefix + + /// process attribute values + virtual void ProcessAttribute( sal_uInt16 nAttrToken, + const OUString& sAttrValue ) SAL_OVERRIDE; + + /// prepare XTextField for insertion into document + virtual void PrepareField( + const ::com::sun::star::uno::Reference< + ::com::sun::star::beans::XPropertySet> & xPropertySet) SAL_OVERRIDE; +}; + class XMLCustomPropertyFieldImportContext : public XMLTextFieldImportContext { OUString sName; |