[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Fri Oct 20 11:28:42 UTC 2017


 sw/source/core/text/xmldump.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 28584366a4ce57df988fadea98c81604d7c2c564
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Oct 20 10:43:45 2017 +0200

    sw layout xml dump: show validity flags of SwFrame
    
    Change-Id: I48ef2d7b2f88421c90a5128785e21868dc2cef32
    Reviewed-on: https://gerrit.libreoffice.org/43589
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

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


More information about the Libreoffice-commits mailing list