diff options
author | Vojtěch Doležal <dolezvo1@cvut.cz> | 2023-03-25 13:01:30 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-04-04 08:23:18 +0200 |
commit | 28675af84ae8e2342bd78be3696dc09de6ce5cc5 (patch) | |
tree | b07a2ae7476c339540e3adeb3d2254bab99bae91 /officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs | |
parent | fb8e9b3e8ec9b03399e6cd0d47a9d08976b71ed7 (diff) |
tdf#41652: Variable width NBSP
Adds a flag that when enabled (opt-in for both old and new documents) changes behaviour of NBSP to not be strictly fixed width.
This commit also implements this behaviour such that NBSP has always the width of a standard space (0x20) on the given line. This change is only noticeable when the paragraph is justified.
Lastly a tilde or a degree character is now shown in place of NBSP when nonprintable characters are enabled, since the gray field alone is not visible in many circumstances.
Change-Id: Iabb30b5930ced62691cc4304f60c5e6dc886ed61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149576
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs index 68b369ba09fc..fc0919ae2a3a 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs @@ -128,6 +128,12 @@ </info> <value>true</value> </prop> + <prop oor:name="UseVariableWidthNBSP" oor:type="xs:boolean" oor:nillable="false"> + <info> + <desc>Render NBSP as having variable size, instead of having a fixed size</desc> + </info> + <value>false</value> + </prop> </group> </templates> <component> |