office-gobmx/offapi/com/sun/star
László Németh 6e8819f29b tdf#132599 cui offapi sw xmloff: add hyphenation-keep-type
Support XSL attribute "column" and CSS 4 attribute "spread",
stored in loext:hyphenation-keep-type, to give better control
over hyphenation-keep. E.g. spread: both parts of a hyphenated
word shall lie within a single spread, i.e. when the next page
is not visible at the same time (e.g. the next page is not a
right page of a book).

– css::style::ParaHyphenationKeep is a boolean property now,
  importing hyphenation-keep = "page" as true.

– type of ParaHyphenationKeep, including the new non-ODF types
  is stored in the new ParagraphProperties::ParaHyphenationKeepType.

– default value of ParaHyphenationKeepType is COLUMN for
  interoperability.

– Add checkboxes to Text Flow -> Hyphenation Across in
  paragraph dialog:

  * Column (previously: Hyphenate across column and page)
  * Page
  * Spread

  – enabling/disabling them follows XSL/CSS 4/loext, i.e.
    possible combinations:

  * No Hyphenation across
    (hyphenation-keep = "page" and loext:hyphenation-keep-type = "column")

  * Hyphenation across [x] Column
    (hyphenation-keep = "page" and loext:hyphenation-keep-type = "page")

  * Hyphenation across [x] Column [x] Page
    (hyphenation-keep = "page" and loext:hyphenation-keep-type = "spread")

  * Hyphenation across [x] Column [x] Page [x] Spread
    (hyphenation-keep = "auto")

– Add ODF import/export

– Update DOCX import

– Add ODF unit tests

Note: recent implementation depends on widow settings: disabling widow
handling allows hyphenation across columns and pages not only in table
cells.

Note: RTF import-only, but not used bPageEnd has been renamed to bKeep.
Depending on the RTF test results, likely it will need to disable
the layout change, e.g. GetKeepType()=ParagraphHyphenationKeepType::AUTO,
if PageEnd uses obsolete hyphenation rule, i.e. shifting only the
hyphenated word to the next page, not the full line.

More information:

– COLUMN (standard XSL value, defined in
  https://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#hyphenation-keep)

– SPREAD and ALWAYS (CSS 4 values of hyphenate-limit-last,
  equivalent of hyphenation-keep, defined in
  https://www.w3.org/TR/css-text-4/#hyphenate-line-limits).

Follow-up to commit 9574a62add
"tdf#132599 cui offapi sw xmloff: implement hyphenate-keep" and
commit c8ee0e8f58
"tdf160518 DOCX: import hyphenation-keep to fix layout".

Change-Id: I3ac6d9e86d0ed1646f105de8607c0e8ebc534eaa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165954
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-04-11 10:20:41 +02:00
..
accessibility a11y: Fix XAccessible{Editable,Multiline}Text doc 2024-04-04 17:16:05 +02:00
animations
auth
awt tdf#123864 a11y: Handle new CHECKABLE state in misc places 2023-12-19 09:30:15 +01:00
chart
chart2 tdf#50934: Add a version comment, and more structure for of-pie 2024-02-06 15:16:31 +01:00
configuration tdf#157432 Expert config: Allow filtering by changed values 2023-12-07 08:03:36 +01:00
cui Create an UNO service to do the cui symbol lookup in vcl 2024-02-25 14:45:55 +01:00
datatransfer Fix some misspelled LibreOffice @since tags 2023-09-08 11:16:50 +02:00
deployment
document Clarify FROM_LIST_AND_SIGNED_WARN description a bit 2023-11-08 11:39:14 +01:00
drawing [API CHANGE] Add OOXML way of curved connector routing 2023-12-01 08:44:01 +01:00
embed tdf#105844 offapi,package,sfx2: use Argon2 for wholesome ODF encryption 2023-12-20 18:29:36 +01:00
form
formula tdf#134193: Add the ability to set RTL math direction 2023-09-04 18:15:50 +02:00
frame Fix some misspelled LibreOffice @since tags 2023-09-08 11:16:50 +02:00
gallery
geometry
graphic
i18n
image
inspection
ldap
linguistic2
logging
mail
media
mozilla
office
packages
presentation Create an UNO service to do the symbol lookup in sd 2024-03-05 18:31:48 +01:00
qa
rdf
rendering tdf#155810: Pass Kashida insertion positions through canvas 2023-06-18 22:01:53 +02:00
report
resource
scanner
script
sdb
sdbc Fix some misspelled LibreOffice @since tags 2023-09-08 11:16:50 +02:00
sdbcx
security Correct typo in comment 2024-03-28 18:10:21 +01:00
setup
sheet Create an UNO service to do the symbol lookup in sc 2024-03-05 13:07:36 +01:00
smarttags
style tdf#132599 cui offapi sw xmloff: add hyphenation-keep-type 2024-04-11 10:20:41 +02:00
svg
system improve docs of XSystemShellExecute 2024-01-30 09:03:18 +01:00
table
task tdf#157650 Unhelpful error when XML in content.xml is malformed 2023-10-09 22:13:18 +02:00
text Create an UNO service to do the symbol lookup in sw 2024-03-06 12:34:10 +01:00
tiledrendering
ucb
ui fix comparison of UIObject's inside UITests 2024-03-28 17:17:32 +01:00
util Fix typo 2023-11-14 12:37:44 +01:00
view [API CHANGE] tdf#158041 Remove unused table printing option from sw 2023-12-18 09:24:35 +01:00
xforms
xml tdf#105844 offapi,package,sfx2: use Argon2 for wholesome ODF encryption 2023-12-20 18:29:36 +01:00
xsd
modules.idl