diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-19 17:38:14 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-04-26 08:03:21 +0000 |
commit | 64b2f209b72c5a5662afcb0ac1706b882e0e059b (patch) | |
tree | 3a3b57a6b837ab4abc1e1bcefdcc979feba836b9 /include | |
parent | 8d3dd678bf9fd50a736cc0ff956f1efd7e660502 (diff) |
tdf#99396 SvxTableController::SetVertical: implement undo support
All the table and cell objects know how to undo this change, what was
missing is the begin/end undo calls and the broadcast of the cell
format change.
(cherry picked from commits 3057b5cdb989d44613518900b25ebad8b7c600a2,
d60d70d92cec7bbc471f8f0c653d443282227d34,
6819992113947e7a6272bf750fee712c2df41905 and
100eb15b4d8529d7a11d98a28742f31f0f792fa1)
Conflicts:
sd/qa/unit/misc-tests.cxx
Change-Id: I3dfd203faf5c579da2937fedab5647129a8e903a
Reviewed-on: https://gerrit.libreoffice.org/24276
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdotable.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index 78a7e53c4133..f70d76840338 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -31,6 +31,7 @@ class SvStream; class SfxStyleSheet; +class SdrUndoAction; namespace sdr { namespace contact { class ViewContactOfTableObj; @@ -257,6 +258,9 @@ public: css::text::WritingMode GetWritingMode() const; + /// Add an undo action that should be on the undo stack after ending text edit. + void AddUndo(SdrUndoAction* pUndo); + virtual void onEditOutlinerStatusEvent( EditStatus* pEditStatus ) override; |