To solve the trade-off between better spacing and less hyphenation, support hyphenation level and its user interface, the hyphenation slider, like DTP software do. Add new paragraph property com::sun::star::text::ParaHyphenationLevel The hyphenation slider is the basic interface of DTP software to adjust single (or all) paragraphs using better word spacing (i.e. more hyphenation) or less hyphenation (i.e. worse word spacing). It allows 1) to choose the best from the near equally good layouts and 2) to solve an extreme bad layout (caused by words without hyphenation or other corner cases). – 50% hyphenation level means disabled hyphenation, if minimum and maximum word spacing settings allow to break the line within words (default interoperability value). – 100% hyphenation level means using extra hyphenation only if that results better word spacing in the line, than breaking within words. – Between 50% and 100% hyphenation level, use extra hyphenation only if its weighted word spacing is better, than breaking the line between words (weighting grows with the hyphenation level). – Between 0% and 50% hyphenation level it means disabled hyphenation with increased desired and maximum word spacing, depending on the hyphenation level. At %0, the desired word spacing is enlarged to the original maximum word spacing, while maximum word spacing is enlarged by a single space. For example, the original 4-page unit test document with the default 50% hyphenation level contains 14 hyphenations. 100% hyphenation level results in 22 hyphenations, while 0% only results in 8 hyphenations. – sw/qa/extras/layout/data/tdf167648_minimum.fodt, sw/qa/extras/layout/data/tdf169168_minimum.fodt: set maximum word-spacing to 100% from 101% to limit the original unit test only for minimum letter spacing. More information: LO/COOL Book & Typography projects: https://www.numbertext.org/typography/ https://www.numbertext.org/book/ Follow-up to commitcf104be5cb"tdf#119908 tdf#166113 cool#15973 sw smart justify: fix DOCX hyphenation", commitd572576dd6"tdf#119908 cool#15973 sw smart justify: fix "smart" hyphenation", commit529755f091"tdf#166113 sw smart justify: adjust algorithm for interoperability" and commit7d08767b89"tdf#130088 tdf#119908 smart justify: fix DOCX line count + compat opt." Change-Id: I84b3893ea6c5cd4eff74a73514722285e7071392 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207545 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: Jenkins
LibreOffice API IDL Files Except UDK API
Contains all of the IDL files except those in udkapi.
i.e. the interfaces that are specific to the LibreOffice application. An artificial (?) separation.
The reference offapi/type_reference/offapi.idl and
udkapi/type_reference/udkapi.idl (formerly combined into a single
offapi/type_reference/types.rdb) are used to detect inadvertent incompatible
changes. They are plain-text .idl files (not strictly lexicographically sorted,
though, so they satisfy the .idl file requirements for no forward dependencies),
so in cases where we deliberately /do/ become incompatible they can be modified
manually.
Old such cases of deliberately becoming incompatible are listed in
offapi/type_reference/typelibrary_history.txt, newer such cases are recorded in
the git logs of (now superseded) offapi/type_reference/types.rdb,
offapi/type_reference/offapi.rdb, and udkapi/type_reference/udkapi.rdb, new such
cases are recorded in the git logs of offapi/type_reference/offapi.idl and
udkapi/type_reference/udkapi.idl.