diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-09 18:09:47 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-12 13:22:04 -0400 |
commit | 6a3a25fa40ac9a7f1f579c3fb114cbcc9ed158db (patch) | |
tree | 576d29895b3ece36b750e44a9ae34d6f10887eb0 /sc/source/ui/inc/undobase.hxx | |
parent | 90f571cf964edea8ce6f6e37aeb1c36a8adfd226 (diff) |
ScMultiBlockUndo in place.
Diffstat (limited to 'sc/source/ui/inc/undobase.hxx')
-rw-r--r-- | sc/source/ui/inc/undobase.hxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx index 701378430d2d..6f4135c9c8d4 100644 --- a/sc/source/ui/inc/undobase.hxx +++ b/sc/source/ui/inc/undobase.hxx @@ -94,6 +94,26 @@ protected: void ShowBlock(); }; +class ScMultiBlockUndo: public ScSimpleUndo +{ +public: + ScMultiBlockUndo(ScDocShell* pDocSh, const ScRangeList& rRanges, + ScBlockUndoMode eBlockMode); + virtual ~ScMultiBlockUndo(); + +protected: + ScRangeList maBlockRanges; + SdrUndoAction* mpDrawUndo; + ScBlockUndoMode meMode; + + void BeginUndo(); + void EndUndo(); + void EndRedo(); + + void AdjustHeight(); + void ShowBlock(); +}; + //---------------------------------------------------------------------------- // for functions that act on a database range - takes care of the unnamed database range |