summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/rolbck.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/rolbck.hxx')
-rw-r--r--sw/source/core/inc/rolbck.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/inc/rolbck.hxx b/sw/source/core/inc/rolbck.hxx
index 1882a68d1d0e..96a8eb58b7d9 100644
--- a/sw/source/core/inc/rolbck.hxx
+++ b/sw/source/core/inc/rolbck.hxx
@@ -54,6 +54,7 @@ class SwFormatChain;
class SwNode;
class SwCharFormat;
enum class SwFieldIds : sal_uInt16;
+typedef struct _xmlTextWriter* xmlTextWriterPtr;
enum HISTORY_HINT {
HSTRY_SETFMTHNT,
@@ -85,6 +86,7 @@ public:
virtual void SetInDoc( SwDoc* pDoc, bool bTmpSet ) = 0;
HISTORY_HINT Which() const { return m_eWhichId; }
virtual OUString GetDescription() const;
+ virtual void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
class SwHistorySetFormat : public SwHistoryHint
@@ -98,6 +100,7 @@ public:
virtual void SetInDoc( SwDoc* pDoc, bool bTmpSet ) override;
virtual OUString GetDescription() const override;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
class SwHistoryResetFormat : public SwHistoryHint
@@ -234,6 +237,7 @@ public:
virtual void SetInDoc( SwDoc* pDoc, bool bTmpSet ) override;
SwUndoDelLayFormat* GetUDelLFormat() { return m_pUndo.get(); }
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
class SwHistoryBookmark : public SwHistoryHint
@@ -400,6 +404,8 @@ public:
const bool bCopyFields );
void CopyFormatAttr( const SfxItemSet& rSet, sal_uLong nNodeIdx );
+
+ void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
class SwRegHistory : public SwClient