diff options
-rw-r--r-- | svx/source/svdraw/svdpage.cxx | 9 | ||||
-rw-r--r-- | vcl/source/filter/ipdf/pdfread.cxx | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 981381643430..536167b04e56 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -1841,6 +1841,15 @@ void SdrPage::dumpAsXml(xmlTextWriterPtr pWriter) const (void)xmlTextWriterStartElement(pWriter, BAD_CAST("SdrPage")); SdrObjList::dumpAsXml(pWriter); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("width")); + (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("value"), "%s", + BAD_CAST(OString::number(mnWidth).getStr())); + (void)xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("height")); + (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("value"), "%s", + BAD_CAST(OString::number(mnHeight).getStr())); + (void)xmlTextWriterEndElement(pWriter); + if (mpSdrPageProperties) { mpSdrPageProperties->dumpAsXml(pWriter); diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx index 0780e1c9baaa..595df4fac886 100644 --- a/vcl/source/filter/ipdf/pdfread.cxx +++ b/vcl/source/filter/ipdf/pdfread.cxx @@ -7,9 +7,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <vcl/pdfread.hxx> + #include <vcl/outdev.hxx> #include <vcl/svapp.hxx> -#include <vcl/pdfread.hxx> #include <tools/UnitConversion.hxx> |