SwAnchoredObject::dumpAsXml: show bound rect
Change-Id: I1754850d7674efb53c95886c3c3cdcde8ca6ee4d
This commit is contained in:
@@ -418,6 +418,14 @@ void SwAnchoredObject::dumpAsXml( xmlTextWriterPtr writer )
|
||||
|
||||
xmlTextWriterStartElement( writer, BAD_CAST( getElementName() ) );
|
||||
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "ptr" ), "%p", this );
|
||||
|
||||
xmlTextWriterStartElement( writer, BAD_CAST( "bounds" ) );
|
||||
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "left" ), "%ld", GetObjBoundRect().Left() );
|
||||
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "top" ), "%ld", GetObjBoundRect().Top() );
|
||||
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "width" ), "%ld", GetObjBoundRect().Width() );
|
||||
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "height" ), "%ld", GetObjBoundRect().Height() );
|
||||
xmlTextWriterEndElement( writer );
|
||||
|
||||
xmlTextWriterEndElement( writer );
|
||||
|
||||
if ( bCreateWriter )
|
||||
|
Reference in New Issue
Block a user