diff options
author | László Németh <nemeth@numbertext.org> | 2019-10-25 15:02:26 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-11-05 09:52:17 +0100 |
commit | 0c8b1efbad48fa9697c0b1afbe4753bbbc3c4c5c (patch) | |
tree | ad993d5bdff4265a18ab8a9c4106a1b1091646dd /sw/source/core/frmedt/fews.cxx | |
parent | 966227d9d1e6301f3c39c135d966e433f0c83771 (diff) |
tdf#127759 Writer: add table row/column insert mode
using enhanced table selection.
When the table rows or columns are selected by
enhanced table selection, ie. clicking in front of them,
next Cut operation cuts the selected rows or
columns completely without leaving empty cells.
Pasting them results insertion before the actual
row/column instead of overwriting the actual and
the next rows/columns. This greatly speeds up
moving table rows and columns, like in MSO.
Change-Id: I6d82ca8aad4888ab37bdb9a89d37102763fcd6c6
Reviewed-on: https://gerrit.libreoffice.org/81503
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/source/core/frmedt/fews.cxx')
-rw-r--r-- | sw/source/core/frmedt/fews.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx index 6134d0f73f45..3c0c7d5279a2 100644 --- a/sw/source/core/frmedt/fews.cxx +++ b/sw/source/core/frmedt/fews.cxx @@ -707,6 +707,7 @@ SwFEShell::SwFEShell( SwDoc& rDoc, vcl::Window *pWindow, const SwViewOption *pOp : SwEditShell( rDoc, pWindow, pOptions ) , m_bCheckForOLEInCaption(false) , m_aPasteListeners(GetPasteMutex()) + , m_eTableInsertMode(SwTable::SEARCH_NONE) { } @@ -714,6 +715,7 @@ SwFEShell::SwFEShell( SwEditShell& rShell, vcl::Window *pWindow ) : SwEditShell( rShell, pWindow ) , m_bCheckForOLEInCaption(false) , m_aPasteListeners(GetPasteMutex()) + , m_eTableInsertMode(SwTable::SEARCH_NONE) { } |