From 55bcba1e0aba237a873ee1f788761045a8eff846 Mon Sep 17 00:00:00 2001 From: Philippe Jung Date: Fri, 5 Jun 2015 11:46:34 +0200 Subject: WRITER: readd InsertRows/InsertCols Following ESC decision, uno commands InsertRows / InsertColumns must be added to the current one InsertRowsBefore / InsertColumnsBefore and InsertRowsAfter / InsertColumnsAfter. This will guarantee ascending compatibility while making more explicit the behaviour thanks to the new commands. Change-Id: I31964e3bdfa63b9447edb794fe233e2665651142 Reviewed-on: https://gerrit.libreoffice.org/16097 Reviewed-by: Philippe Jung Tested-by: Jenkins --- sw/sdi/swriter.sdi | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) (limited to 'sw/sdi/swriter.sdi') diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 2368d9dada44..03b94c1f28ae 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -3634,6 +3634,31 @@ SfxVoidItem InsertColumnsBefore FN_TABLE_INSERT_COL_BEFORE GroupId = GID_TABLE; ] +/* 2015/06 Deprecated, replaced by InsertColumsAfter */ +SfxVoidItem InsertColumns FN_TABLE_INSERT_COL +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_TABLE; +] + SfxVoidItem InsertColumnsAfter FN_TABLE_INSERT_COL_AFTER () [ @@ -4404,6 +4429,31 @@ SfxVoidItem InsertRowsBefore FN_TABLE_INSERT_ROW_BEFORE GroupId = GID_TABLE; ] +/* 2015/06 Deprecated, replaced by InsertRowsAfter */ +SfxVoidItem InsertRows FN_TABLE_INSERT_ROW +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = TRUE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_TABLE; +] + SfxVoidItem InsertRowsAfter FN_TABLE_INSERT_ROW_AFTER () [ -- cgit