diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-10-28 17:11:21 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-11-02 13:25:53 +0100 |
commit | ac48a33060304a62372b00bfef08b067cec6ceb6 (patch) | |
tree | 2b4612411dcc39b9c766c35a5e7298ed78c7476f /sw/sdi | |
parent | 5e113259f8382c2d045193abd79267529a6a5f6b (diff) |
Table panel: Implement functionality of Column Width spinbutton
Change-Id: I809cfe4af82cebabe80c171cdd488ff43d749a86
Reviewed-on: https://gerrit.libreoffice.org/81895
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_tabsh.sdi | 7 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 18 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sw/sdi/_tabsh.sdi b/sw/sdi/_tabsh.sdi index 948d6e5476f6..e39edc61c3c0 100644 --- a/sw/sdi/_tabsh.sdi +++ b/sw/sdi/_tabsh.sdi @@ -444,5 +444,12 @@ interface BaseTextTable StateMethod = GetState ; DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] + + SID_ATTR_TABLE_COLUMN_WIDTH + [ + ExecMethod = Execute ; + StateMethod = GetState ; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; + ] } diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index bdae66ae91d5..ae8e4a37b44a 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -7808,3 +7808,21 @@ SfxUInt32Item TableRowHeight SID_ATTR_TABLE_ROW_HEIGHT ToolBoxConfig = TRUE, GroupId = SfxGroupId::Table; ] + +SfxUInt32Item TableColumWidth SID_ATTR_TABLE_COLUMN_WIDTH + +[ + AutoUpdate = TRUE, + FastCall = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Table; +] |