diff options
author | László Németh <nemeth@numbertext.org> | 2024-01-19 01:29:34 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2024-01-19 17:37:41 +0100 |
commit | b5e275f47a54bd7fee39dad516a433fde5be872d (patch) | |
tree | 3e64c98944decf2c28885d3f27bdd1c6114d25a1 /offapi | |
parent | 3288fba8ad31c21e6e8cebf605efda544f031156 (diff) |
tdf#106733 sw: implement CharNoHyphenation
Implement CharNoHyphenation character property to
disable automatic hyphenation of words in paragraphs
with enabled hyphenation.
Fix also fo:hyphenate mapping to CharNoHyphenation
using automatic inversion of their boolean values
defined by xmloff's XML_TYPE_NBOOL, as suggested by
Michael Stahl.
Update also the test for tdf#159102 to check the available
hyphenation dictionary (also custom hyphenation patterns
work only with supported locales of the hyphenator).
Note: patch of thints.cxx contains also partial revert
of commit 53b289eabb3d265b47bc7fb6cc430291c97f0c0b
"use more TypedWhichId".
Follow-up to commit 73bd04a71e741788a2f2f3b26cc46ddb6a361372
"tdf#106733 xmloff: keep fo:hyphenate in character formatting".
Change-Id: If99b94ddcd44a5c2426e646be149078a3b9773b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162300
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/style/CharacterProperties.idl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/offapi/com/sun/star/style/CharacterProperties.idl b/offapi/com/sun/star/style/CharacterProperties.idl index 6502a47b2886..aaff4a569455 100644 --- a/offapi/com/sun/star/style/CharacterProperties.idl +++ b/offapi/com/sun/star/style/CharacterProperties.idl @@ -325,7 +325,13 @@ published service CharacterProperties /** This optional property determines if the word can be hyphenated at the - character. + character by automatic hyphenation. + + <p>Setting to `true` will disable hyphenation enabled by ParaIsHyphenation.</p> + + <p>Note: implemented since LibreOffice 24.2.</p> + + @see ParaIsHyphenation */ [optional, property] boolean CharNoHyphenation; |