Kaydet (Commit) 911261a3 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw layout dump: show name of shapes

Change-Id: Iefd4a8e5a61c26a474886c968ebf7e85bcec0396
üst 3abd3e5b
......@@ -22,6 +22,7 @@
#include <anchoredobject.hxx>
#include <libxml/xmlwriter.h>
#include <SwPortionHandler.hxx>
#include <svx/svdobj.hxx>
class XmlPortionDumper:public SwPortionHandler
{
......@@ -418,6 +419,9 @@ void SwAnchoredObject::dumpAsXml( xmlTextWriterPtr writer ) const
xmlTextWriterWriteFormatAttribute( writer, BAD_CAST( "height" ), "%ld", GetObjBoundRect().Height() );
xmlTextWriterEndElement( writer );
if (const SdrObject* pObject = GetDrawObj())
pObject->dumpAsXml(writer);
xmlTextWriterEndElement( writer );
if ( bCreateWriter )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment