summaryrefslogtreecommitdiff
path: root/sw/inc/rolbck.hxx
diff options
context:
space:
mode:
authorPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-09 15:11:54 +0200
committerPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-09 15:11:54 +0200
commiteb5cdebdf7e3ff4c8d9c4f26682892c861b0a2d2 (patch)
treed3f14fb42f9c896b4de8698913ef90595bf97fae /sw/inc/rolbck.hxx
parent73c391c15da3961be45133e152e8417f4407cd37 (diff)
parentb4fca3befd4ada3c6288c6f5c3826fefd3e3b7cf (diff)
merge with m61
Diffstat (limited to 'sw/inc/rolbck.hxx')
-rw-r--r--sw/inc/rolbck.hxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/sw/inc/rolbck.hxx b/sw/inc/rolbck.hxx
index 2178c0056c..3fb23fc2e4 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;
@@ -164,7 +168,7 @@ class SwHistorySetTxtFld : public SwHistoryHint
//!! If they get destroyed in the wrong order sw may crash (namely mail-merge as well)
::std::auto_ptr<SwFieldType> m_pFldType;
const ::std::auto_ptr<SwFmtFld> m_pFld;
-
+
ULONG m_nNodeIndex;
xub_StrLen m_nPos;
USHORT m_nFldWhich;
@@ -298,6 +302,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
@@ -449,13 +454,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 );