Files
odfstudio/offapi
László Németh 3c53797210 tdf#167648 sw letter spacing: implement minimum letter spacing
Implement new paragraph justification option "Minimum letter spacing"
allowing to shrink text lines more, choosing better paragraph layout
instead of hyphenation or rivers of space.

* Implement visual layout of minimum letter spacing.

* Enable Minimum letter spacing spin box on Alignment pane of the
  paragraph formatting dialog window

* Remove also desired letter spacing spin box from the alignment pane.
  It will be better to visualize CharKerning with percentage value
  instead of adding a new user interface to the same setting.

* Set minimum and maximum spin box ranges to [-100, 0] and [0, 500],
  and remove unnecessary handlers.

* offapi: extend API description with ranges of letter spacing
  [-100, 500] and word spacing ([0, 1000]).

* Add ODF unit test.

Note: hyphenated lines, lines with multiple portions haven't
been using custom letter spacing, yet.

Note: resolution of the custom letter spacing is only 1/20 point
(1 twip) yet.

Note: adjust testTdf163149 failing on a test machine, maybe
because the DOCX test document contains the not supported Arial
font, resulting small differences based on the font replacement.

Follow-up to commit f83a04c510
"tdf#167648 cui offapi xmloff sw: add DTP-feature maximum letter
spacing".

Change-Id: I0d686ccbdaa5324eaf6c4c7f6da0f37e76f60611
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190533
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2025-09-03 15:21:58 +02:00
..
…
…

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.