diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-30 11:27:26 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-30 11:44:44 +0200 |
commit | 911261a3a581b9f2f4262f1d5403d9be3bbecf63 (patch) | |
tree | 1b10c802073401af2eaf2e95db9a6a000750c1de /sw | |
parent | 3abd3e5bef7a6157a70423af1a8c027de917b408 (diff) |
sw layout dump: show name of shapes
Change-Id: Iefd4a8e5a61c26a474886c968ebf7e85bcec0396
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/xmldump.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx index ede5dc0acac5..9f8a069a0ebc 100644 --- a/sw/source/core/text/xmldump.cxx +++ b/sw/source/core/text/xmldump.cxx @@ -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 ) |