summaryrefslogtreecommitdiff
path: root/sw/inc/node.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/node.hxx')
-rw-r--r--sw/inc/node.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 5860f25a9712..583b8e6ce617 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -297,6 +297,14 @@ public:
sal_uInt8 HasPrevNextLayNode() const;
+#if OSL_DEBUG_LEVEL > 0
+ /**
+ * Dumps the node structure to the given destination (file nodes.xml in the current directory by default)
+ * @since 3.5
+ */
+ virtual void dumpAsXml( xmlTextWriterPtr writer = NULL );
+#endif
+
private:
// Private constructor because copying is never allowed!!
SwNode( const SwNode & rNodes );
@@ -330,6 +338,10 @@ public:
// Call ChkCondcoll to all ContentNodes of section.
void CheckSectionCondColl() const;
+#if OSL_DEBUG_LEVEL > 0
+ virtual void dumpAsXml( xmlTextWriterPtr writer = NULL );
+#endif
+
private:
// Private constructor because copying is never allowed!!
SwStartNode( const SwStartNode & rNode );