diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-12 11:10:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-12 15:11:56 +0200 |
commit | 1d7dd96e313dd23ca8d49abf879d51db448f76ee (patch) | |
tree | c8f2d0aadd38bec9783655304b4eb5ae10c9cf2f /svx/source/svdraw/svdtext.cxx | |
parent | ab6dcd326ad7bf8c47a820514440bf8ac5f0d5f3 (diff) |
impress: extend dumpAsXml to table cell and styles
Change-Id: If11ca945cae4f5127394dcc3871f4b6a76c24fac
Diffstat (limited to 'svx/source/svdraw/svdtext.cxx')
-rw-r--r-- | svx/source/svdraw/svdtext.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdtext.cxx b/svx/source/svdraw/svdtext.cxx index 483f7e5efd3c..64e94b2516cf 100644 --- a/svx/source/svdraw/svdtext.cxx +++ b/svx/source/svdraw/svdtext.cxx @@ -25,6 +25,7 @@ #include "editeng/fhgtitem.hxx" #include <editeng/eeitem.hxx> #include <svl/itemset.hxx> +#include <libxml/xmlwriter.h> #include <memory> SdrText::SdrText( SdrTextObj& rObject, OutlinerParaObject* pOutlinerParaObject /* = 0 */ ) @@ -201,4 +202,11 @@ SfxStyleSheet* SdrText::GetStyleSheet() const return mrObject.GetStyleSheet(); } +void SdrText::dumpAsXml(struct _xmlTextWriter * pWriter) const +{ + xmlTextWriterStartElement(pWriter, BAD_CAST("sdrText")); + mpOutlinerParaObject->dumpAsXml(pWriter); + xmlTextWriterEndElement(pWriter); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |