summaryrefslogtreecommitdiff
path: root/sw/inc/rolbck.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-09-08 13:51:32 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-09-08 13:51:32 +0000
commit68e655314072e2f2d21c37b79f74f59f72225d4c (patch)
treea4cb79d7ff9e4c8d8e25328c17b0a6976adb45dc /sw/inc/rolbck.hxx
parent4ed7295df0818044da26035a94e081f28085b462 (diff)
INTEGRATION: CWS swundo03 (1.3.10); FILE MERGED
2004/08/04 14:44:53 hbrinkm 1.3.10.3: #115575#,#115582# 2004/07/19 17:42:30 hbrinkm 1.3.10.2: #115582# 2004/07/07 16:44:19 hbrinkm 1.3.10.1: #115575# SwSetTxtFldHint::Get{FieldType|Field}
Diffstat (limited to 'sw/inc/rolbck.hxx')
-rw-r--r--sw/inc/rolbck.hxx20
1 files changed, 17 insertions, 3 deletions
diff --git a/sw/inc/rolbck.hxx b/sw/inc/rolbck.hxx
index f929040c14be..ac173a1fc532 100644
--- a/sw/inc/rolbck.hxx
+++ b/sw/inc/rolbck.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: rolbck.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2004-08-12 12:05:30 $
+ * last change: $Author: hr $ $Date: 2004-09-08 14:51:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -142,6 +142,7 @@ public:
virtual ~SwHstryHint() {} // jetzt inline
virtual void SetInDoc( SwDoc* pDoc, BOOL bTmpSet ) = 0;
HISTORY_HINT Which() const { return eWhichId; }
+ virtual String GetDescription() const;
};
class SwSetFmtHint : public SwHstryHint
@@ -155,6 +156,8 @@ public:
SwSetFmtHint( const SfxPoolItem* pFmtHt, ULONG nNode );
virtual ~SwSetFmtHint();
virtual void SetInDoc( SwDoc* pDoc, BOOL bTmpSet );
+ virtual String GetDescription() const;
+
OUT_HSTR_HINT(SetFmtHnt)
};
@@ -177,6 +180,7 @@ public:
SwSetTxtHint( /*const*/ SwTxtAttr* pTxtHt, ULONG nNode );
virtual ~SwSetTxtHint();
virtual void SetInDoc( SwDoc* pDoc, BOOL bTmpSet );
+
OUT_HSTR_HINT(SetTxtHnt)
};
@@ -191,6 +195,12 @@ public:
SwSetTxtFldHint( SwTxtFld* pTxtFld, ULONG nNode );
virtual ~SwSetTxtFldHint();
virtual void SetInDoc( SwDoc* pDoc, BOOL bTmpSet );
+
+ const SwFieldType * GetFieldType() const { return pFldType; }
+ const SwFmtFld * GetField() const { return pFld; }
+
+ virtual String GetDescription() const;
+
OUT_HSTR_HINT(SetTxtFldHnt)
};
@@ -249,6 +259,9 @@ public:
const SwUndoSaveSection* GetUndoObj() const { return pUndo; }
SwUndoSaveSection* GetUndoObj() { return pUndo; }
+
+ virtual String GetDescription() const;
+
OUT_HSTR_HINT(SetFtnHnt)
};
@@ -360,7 +373,8 @@ public:
#endif
typedef SwHstryHint* SwHstryHintPtr;
-SV_DECL_PTRARR_DEL( SwpHstry, SwHstryHintPtr, 0, 2 )
+SV_DECL_PTRARR_DEL( SwpHstry, SwHstryHintPtr, 0, 2 );
+
class SwHistory : private SwpHstry
{
friend class SwDoc; // eig. darf nur SwDoc::DelUndoObj zugreifen