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>
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user