From 59ed21b1720db5fd0326e1b723483b288725e662 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Thu, 20 Sep 2018 17:16:14 +0300 Subject: tdf#64242 sw add minimize table col/row UI A followup commit will modify the optimize functions, which currently function as a minimize, so lets make sure that the ability to minimize is still available. Minimize column width: Adjusts the width of the selected columns to fit the selected content. The table can shrink if necessary, but will not grow. (This is how Optimize column width worked in LO <= 6.1.) Minimize row height: Adjusts the height of the selected rows to fit the content, causing the table to shrink. (This is how Optimize row height worked in LO <= 6.1.) Change-Id: I2c0b8c7b7a05c31328f2feef464ef0e131318ff8 Reviewed-on: https://gerrit.libreoffice.org/60902 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- include/svx/svxids.hrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/svx/svxids.hrc b/include/svx/svxids.hrc index 54cab86e69da..acd2df632a1a 100644 --- a/include/svx/svxids.hrc +++ b/include/svx/svxids.hrc @@ -970,7 +970,8 @@ class SfxStringItem; #define SID_SIGN_SIGNATURELINE ( SID_SVX_START + 1175 ) #define SID_MEASURE_DLG ( SID_SVX_START + 1176 ) - +#define SID_TABLE_MINIMAL_COLUMN_WIDTH ( SID_SVX_START + 1185 ) +#define SID_TABLE_MINIMAL_ROW_HEIGHT ( SID_SVX_START + 1186 ) #define SID_TABLE_OPTIMAL_COLUMN_WIDTH ( SID_SVX_START + 1187 ) #define SID_TABLE_OPTIMAL_ROW_HEIGHT ( SID_SVX_START + 1188 ) -- cgit