Bug 166466 - word-spacing and other line breaking/hyphenation entries are missing in list of ODF extensions
Summary: word-spacing and other line breaking/hyphenation entries are missing in list ...
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: HelpGaps-NewFeatures
  Show dependency treegraph
 
Reported: 2025-05-05 13:34 UTC by Regina Henschel
Modified: 2025-06-11 10:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
loext: hyphenation settings (a slide from LiboCon 2024 presentation "Write Better! by László Németh) (5.48 MB, application/pdf)
2025-06-11 10:52 UTC, László Németh
Details
research for loext: in the area of word spacing and hyphenation (slides from COOL Days presentation "Hyphenation Control Achieving Optimal Readability in Your Documents" by László Németh) (2.44 MB, application/pdf)
2025-06-11 10:56 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2025-05-05 13:34:37 UTC
The commits for bug 126154 and bug 159923 have introduced the new attributes loext:word-spacing, loext:word-spacing-minimum and loext:word-spacing-maximum of the <style:paragraph-properties> element.

These entries are missing in
https://wiki.documentfoundation.org/Development/ODF_Implementer_Notes/List_of_LibreOffice_ODF_Extensions
Comment 1 Christy 2025-05-09 04:59:29 UTC Comment hidden (spam)
Comment 2 László Németh 2025-06-11 10:51:12 UTC
@Regina: many thanks for the bug report! I am attaching an incomplete list from my last LiboCon presentation about the loext: extensions in the hyphenation/line breaking area. It hasn't contained the word-spacing settings and a few newer ones, yet.

All the loext: extensions are listed in https://git.libreoffice.org/core/+/refs/heads/master/schema/libreoffice/OpenDocument-v1.4+libreoffice-schema.rng, including  the following ones over loext:word-spacing/word-spacing-minimum/word-spacing-maximum:

– loext:hyphenation-keep-type, which is an extension to ODF 1.0 hyphenation-keep to cover all XSL/CSS4 attributes);

– loext:hyphenation-keep-line, which is for MSO 2013, and MSO 2016 interoperability, where the algorithm for hyphenation-keep was changed to move hyphenated word instead of move hyphenated line – still supported both of them by the newest MSO;

– loext:hyphenation-zone-always, loext:hyphenation-zone-column, loext:hyphenation-zone-page, loext:hyphenation-zone-spread: fine adjustment for hyphenation across, introduced by some DTP programs (see Affinity Publisher, a strong competitor of Adobe InDesign).

In the next few weeks, I will analyze hyphenation related to DOCX (MS Word) word spacing, to know more about the possible requirements in this area.

For example, maybe it will be a good idea to implement the more hyphenation or more desired word spacing de facto standard setting of DTP software, which can create better readability in a portable way.

By the way, I've started a basic research in hyphenation, too, see the attached slides from my COOL's Day presentation. I'm highly interested in German hyphenation and typography, e.g. related to the compound words, or compounding, to refine/extend the recent loext:hyphenation-compound-remain-char-count, possible push-char-count?, adding to hyphenation across?, other improvements... (Fine details of German typography, like disabling/modifying ligatures, adding hair space automatically after the verb prefixes, are also on the plate, but likely they don't need ODF extension.)
Comment 3 László Németh 2025-06-11 10:52:53 UTC
Created attachment 201197 [details]
loext: hyphenation settings (a slide from LiboCon 2024 presentation "Write Better! by László Németh)
Comment 4 László Németh 2025-06-11 10:56:56 UTC
Created attachment 201198 [details]
research for loext: in the area of word spacing and hyphenation (slides from COOL Days presentation "Hyphenation Control Achieving Optimal Readability in Your Documents" by László Németh)