diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-10-20 10:43:45 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-10-20 13:28:12 +0200 |
commit | 28584366a4ce57df988fadea98c81604d7c2c564 (patch) | |
tree | 911bfc3a2a098dc4c642797735a9d7fc87055814 | |
parent | 58843f4db5ac4769b603cc65251d63d65b06bea4 (diff) |
sw layout xml dump: show validity flags of SwFrame
Change-Id: I48ef2d7b2f88421c90a5128785e21868dc2cef32
Reviewed-on: https://gerrit.libreoffice.org/43589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r-- | sw/source/core/text/xmldump.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx index 7a28ceed4862..610dd9ce45b1 100644 --- a/sw/source/core/text/xmldump.cxx +++ b/sw/source/core/text/xmldump.cxx @@ -359,6 +359,9 @@ void SwFrame::dumpInfosAsXml( xmlTextWriterPtr writer ) const xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "width" ), "%ld", Frame().Width() ); xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "height" ), "%ld", Frame().Height() ); xmlTextWriterWriteAttribute(writer, BAD_CAST("mbFixSize"), BAD_CAST(OString::boolean(HasFixSize()).getStr())); + xmlTextWriterWriteAttribute(writer, BAD_CAST("mbValidPos"), BAD_CAST(OString::boolean(GetValidPosFlag()).getStr())); + xmlTextWriterWriteAttribute(writer, BAD_CAST("mbValidSize"), BAD_CAST(OString::boolean(GetValidSizeFlag()).getStr())); + xmlTextWriterWriteAttribute(writer, BAD_CAST("mbValidPrtArea"), BAD_CAST(OString::boolean(GetValidPrtAreaFlag()).getStr())); xmlTextWriterEndElement( writer ); // output the Prt |