summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-11-10 11:33:03 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-11-10 14:10:00 +0100
commit9b504ad3ae9f71ea02df2ab6f2c2fbd59d38ae9a (patch)
treeaae9a06a869b8bbe61956a90ea763afd835ca425 /sw/inc
parent7a87e9718ce8b455c0780ef7606b1c219bf228b5 (diff)
sw doc model xml dump: show comment text
Change-Id: If15ca89f2b7c54441f076eb233c4e1414dac25c0
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/docufld.hxx1
-rw-r--r--sw/inc/fldbas.hxx1
-rw-r--r--sw/inc/fmtfld.hxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 34b083efeb77..2e8c9152fd24 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -487,6 +487,7 @@ public:
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt16 nWhich ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt16 nWhich ) override;
virtual OUString GetDescription() const override;
+ virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
};
class SwDocInfoFieldType : public SwValueFieldType
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index 603e7587b8ee..6a49b5e82493 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -360,6 +360,7 @@ public:
virtual OUString GetDescription() const;
/// Is this field clickable?
bool IsClickable() const;
+ virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const;
};
inline SwFieldType* SwField::GetTyp() const
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx
index 0f83415293e8..4aba5ee50cab 100644
--- a/sw/inc/fmtfld.hxx
+++ b/sw/inc/fmtfld.hxx
@@ -112,6 +112,7 @@ public:
{ return m_wXTextField; }
SAL_DLLPRIVATE void SetXTextField(css::uno::Reference<css::text::XTextField> const& xTextField)
{ m_wXTextField = xTextField; }
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const override;
};
enum class SwFormatFieldHintWhich