Bug 106733 - Implement ODF attribute fo:hyphenate to exclude a portion of text from hyphenation
Summary: Implement ODF attribute fo:hyphenate to exclude a portion of text from hyphen...
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: László Németh
URL: https://docs.oasis-open.org/office/Op...
Whiteboard:
Keywords:
Depends on:
Blocks: ODF-import Authors
  Show dependency treegraph
 
Reported: 2017-03-23 23:39 UTC by Regina Henschel
Modified: 2022-12-11 09:34 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-03-23 23:39:09 UTC
This is translated feature request from http://listarchives.libreoffice.org/de/discuss/msg20770.html

Request: Add an option to exclude a portion of text from hyphenation. There is a workaround to set the language to "none". But then you loose spell check and thesaurus.

ODF 1.2 has already the suitable attribute "fo:hyphenate" in section 20.188, part 1. Currently LibreOffice does not even keep the attribute, if it is present.
Comment 1 Buovjaga 2017-03-30 12:21:13 UTC
Ok -> NEW
Comment 2 Regina Henschel 2021-12-10 22:54:47 UTC
20.195 fo:hyphenate in ODF 1.3

Implementation is still missing in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4ac9032163cf55c160145373e7c41741c9c339ca
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 3 Regina Henschel 2021-12-10 23:00:10 UTC
Next step: Proposal for UI for the new feature.
Comment 4 Heiko Tietze 2021-12-13 11:01:58 UTC
I see no difference to v1.2 20.188 fo:hyphenate. What exactly has changed? 

Hyphenation is enabled for whole paragraph via Text Flow > Hyphenation = Automatically. So we need this option on the character properties dialog and I suggest to have one frame labeled "Hyphenation" under Spacing containing the checkbox "[ ] Exclude from hyphenation".

The topic reminds me on bug 131487 where spell-checking should be suppressed for mixed-language words. We could name the frame Options and have another checkbox there.
Comment 5 Regina Henschel 2021-12-13 14:07:06 UTC
(In reply to Heiko Tietze from comment #4)
> I see no difference to v1.2 20.188 fo:hyphenate. What exactly has changed?

No content change, but section number is shifted from ODF 1.2 to ODF 1.3.