summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-11-30 20:20:58 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-12-01 08:32:28 +0100
commit9d3b636466ba113fa769cca786b8f70fe2a70789 (patch)
tree6d7b1083694a54a279590d24626ea2821d039ee1 /sw/inc
parentd8a526eabe3a7256c1637307e8de74c54e5df4eb (diff)
sw doc model xml dump: show the format of section nodes
The SwSectionNode has an SwSection, which is registered in an SwSectionFormat, which finally tells us if it's a protected one. Change-Id: Ie46c516f900f1c479c11cbbaf061973400614a2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126151 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/node.hxx2
-rw-r--r--sw/inc/section.hxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index bdcc9c801a49..bc0d874f66cb 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -568,6 +568,8 @@ public:
a hidden sub-area. */
bool IsContentHidden() const;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
+
};
/** This class is internal, used only during DocumentContentOperationsManager::CopyWithFlyInFly(), and for undo.
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 06a173daec7f..6e32cd41f5e7 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -244,6 +244,7 @@ public:
void BreakLink();
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
// #i117863#