diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-02-26 18:37:18 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-02-28 11:03:32 +0100 |
commit | 9ed367da9cf7ff283762cb79a97238defe85c30c (patch) | |
tree | 0c4b4f50f0b3837442783f75b5ad0b5ad09f041a | |
parent | d569fe313bbad33b1be49647506e51d1f3893f0f (diff) |
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@cib.de>
-rw-r--r-- | sw/source/core/text/xmldump.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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 ); |