summaryrefslogtreecommitdiff
path: root/sw/inc/doc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r--sw/inc/doc.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 86aae2817d6c..c7d7af8de5ef 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -436,6 +436,7 @@ private:
bool mbCopyIsMove : 1; ///< TRUE: Copy is a hidden Move.
bool mbVisibleLinks : 1; ///< TRUE: Links are inserted visibly.
bool mbInReading : 1; ///< TRUE: Document is in the process of being read.
+ bool mbInMailMerge : 1; //< TRUE: Document is in the process of being written by mail merge.
bool mbInXMLImport : 1; ///< TRUE: During xml import, attribute portion building is not necessary.
bool mbUpdateTOX : 1; ///< TRUE: After loading document, update TOX.
bool mbInLoadAsynchron : 1; ///< TRUE: Document is in the process of being loaded asynchronously.
@@ -1428,6 +1429,9 @@ public:
bool IsInReading() const { return mbInReading; }
void SetInReading( bool bNew ) { mbInReading = bNew; }
+ bool IsInMailMerge() const { return mbInMailMerge; }
+ void SetInMailMerge( bool bNew ) { mbInMailMerge = bNew; }
+
bool IsClipBoard() const { return mbClipBoard; }
/// N.B.: must be called right after constructor! (@see GetXmlIdRegistry)
void SetClipBoard( bool bNew ) { mbClipBoard = bNew; }