summaryrefslogtreecommitdiff
path: root/sw/inc/rolbck.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/rolbck.hxx')
-rw-r--r--sw/inc/rolbck.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/sw/inc/rolbck.hxx b/sw/inc/rolbck.hxx
index 253fdbf6640c..15a349c7a599 100644
--- a/sw/inc/rolbck.hxx
+++ b/sw/inc/rolbck.hxx
@@ -40,6 +40,10 @@
//Nur die History anziehen, um das docnew.cxx gegen die CLOOK's zu behaupten.
+namespace sfx2 {
+ class MetadatableUndo;
+}
+
class SwDoc;
class SwFmt;
class SwFmtColl;
@@ -294,6 +298,7 @@ class SwHistoryBookmark : public SwHistoryHint
const bool m_bSaveOtherPos;
const bool m_bHadOtherPos;
const IDocumentMarkAccess::MarkType m_eBkmkType;
+ ::boost::shared_ptr< ::sfx2::MetadatableUndo > m_pMetadataUndo;
};
class SwHistorySetAttrSet : public SwHistoryHint
@@ -445,13 +450,16 @@ public:
// --> OD 2008-02-27 #refactorlists# - removed <rDoc>
SwRegHistory( SwHistory* pHst );
// <--
- SwRegHistory( SwTxtNode* pTxtNode, const SfxItemSet& rSet,
- xub_StrLen nStart, xub_StrLen nEnd, USHORT nFlags,
- SwHistory* pHst );
SwRegHistory( const SwNode& rNd, SwHistory* pHst );
SwRegHistory( SwModify* pRegIn, const SwNode& rNd, SwHistory* pHst );
virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew );
+
+ /// @return true iff at least 1 item was inserted
+ bool InsertItems( const SfxItemSet& rSet,
+ xub_StrLen const nStart, xub_StrLen const nEnd,
+ SetAttrMode const nFlags );
+
void AddHint( SwTxtAttr* pHt, const bool bNew = false );
void RegisterInModify( SwModify* pRegIn, const SwNode& rNd );