summaryrefslogtreecommitdiff
path: root/sw/inc/anchoredobject.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-04-13 15:54:06 +0200
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-04-13 15:55:38 +0200
commit0772e9af0ea6cc082acaf4745dafb3d2fbff4e96 (patch)
tree01f0d7e96690e865d04b730901c31272b58f23cd /sw/inc/anchoredobject.hxx
parent408f9e77dff76e20d9cf3b67f2c763fbad9687d2 (diff)
layout dumper: dump anchored objects too
Diffstat (limited to 'sw/inc/anchoredobject.hxx')
-rw-r--r--sw/inc/anchoredobject.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx
index ce5ef72c4445..c4f9d65911b2 100644
--- a/sw/inc/anchoredobject.hxx
+++ b/sw/inc/anchoredobject.hxx
@@ -31,6 +31,7 @@
#include <tools/rtti.hxx>
#include <swtypes.hxx>
#include <swrect.hxx>
+#include <libxml/xmlwriter.h>
class SdrObject;
class SwFrm;
@@ -551,6 +552,15 @@ class SW_DLLPUBLIC SwAnchoredObject
@return Point - determined relative position
*/
Point GetRelPosToLine() const;
+
+ /** Dump a bunch of useful data to an XML representation to ease
+ layout understanding, debugging and testing.
+ */
+ virtual void dumpAsXml( xmlTextWriterPtr pWriter );
+
+ /** The element name to show in the XML dump.
+ */
+ virtual const char* getElementName( ) { return "SwAnchoredObject"; }
};
// ============================================================================