diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-09-23 18:51:54 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-09-24 20:58:13 +0200 |
commit | 68aec8fd57eda8c05926b7f361dc102772f2c501 (patch) | |
tree | 055781b9c27e02ab52b5764240fa26137e2ec92b /officecfg | |
parent | 38aa699f265c17548769aaa4f20e1ae35d18f202 (diff) |
tdf#134782 sw,unotools,officecfg: adapt configuration and UI
Store AddParaLineSpacingToTableCells in configuration as
"AddTableLineSpacing", consistently inconsistent like AddTableSpacing
(the <desc> elements are not subject to translation).
Adapt SwCompatibilityOptPage with some ugly hacks to allow 3 different
states (TriState) for the corresponding checkbox that map to false/false,
true/false and true/true.
The checkbox widget doesn't allow to change *to* indeterminate but at
least the status of the document can be displayed this way,
with a non-obvious tweak to optcompatpage.ui to reference "checktri1"
column.
Change-Id: I5f32e05c93b5e16e782cba5d1d055809d9e5e251
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103318
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs index 10468d11e3f4..5b89f9498005 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs @@ -76,7 +76,13 @@ </prop> <prop oor:name="AddTableSpacing" oor:type="xs:boolean" oor:nillable="false"> <info> - <desc>???</desc> + <desc>Add paragraph and table spacing at bottom of table cells</desc> + </info> + <value>true</value> + </prop> + <prop oor:name="AddTableLineSpacing" oor:type="xs:boolean" oor:nillable="false"> + <info> + <desc>Add paragraph line spacing at bottom of table cells</desc> </info> <value>true</value> </prop> |