diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-09-23 17:51:41 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-09-23 18:27:57 +0200 |
commit | b848a2eb7ff2d58251d1f83356c6e6e7a74f23ea (patch) | |
tree | e2592c62abc33fa61d203f69e27085c4271301a0 /sw/inc/doc.hxx | |
parent | 6cb1cb26d8b512fa91bed8eb070fb68b6c839dff (diff) |
debug support for dumping writer nodes structure
Similarly to the layout debug support. F12 -> layout, Shift+F12 -> nodes.
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index be85f2cd706f..3461e6d10b43 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -2033,6 +2033,14 @@ public: ::sw::UndoManager & GetUndoManager(); ::sw::UndoManager const& GetUndoManager() const; SfxObjectShell* CreateCopy(bool bCallInitNew) const; + +#if OSL_DEBUG_LEVEL > 0 + /** + * Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by default) + * @since 3.5 + */ + void dumpAsXml( xmlTextWriterPtr writer = NULL ); +#endif }; // This method is called in Dtor of SwDoc and deletes cache of ContourObjects. |