[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Feb 28 10:03:58 UTC 2019
sw/source/core/text/xmldump.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 9ed367da9cf7ff283762cb79a97238defe85c30c
Author: Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Tue Feb 26 18:37:18 2019 +0100
Commit: Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Thu Feb 28 11:03:32 2019 +0100
sw: dump SwCellFrame rowspan in layout.xml
Change-Id: I4477874116e8059cf0a82b9b3106c9e26a641947
Reviewed-on: https://gerrit.libreoffice.org/68400
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index 0b57bb1a5581..5a25baaeb264 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -14,6 +14,7 @@
#include <tabfrm.hxx>
#include <pagefrm.hxx>
#include <txtfrm.hxx>
+#include <cellfrm.hxx>
#include <hffrm.hxx>
#include <rootfrm.hxx>
#include <editsh.hxx>
@@ -360,6 +361,12 @@ void SwFrame::dumpAsXml( xmlTextWriterPtr writer ) const
}
}
+ if (IsCellFrame())
+ {
+ SwCellFrame const* pCellFrame(static_cast<SwCellFrame const*>(this));
+ xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "rowspan" ), "%ld", pCellFrame->GetLayoutRowSpan() );
+ }
+
xmlTextWriterStartElement( writer, BAD_CAST( "infos" ) );
dumpInfosAsXml( writer );
xmlTextWriterEndElement( writer );
More information about the Libreoffice-commits
mailing list