office-gobmx/include/editeng
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
..
AccessibleComponentBase.hxx
AccessibleContextBase.hxx loplugin:finalmethods 2024-03-26 17:16:47 +01:00
AccessibleEditableTextPara.hxx
AccessibleParaManager.hxx
AccessibleSelectionBase.hxx loplugin:finalmethods 2024-03-26 17:16:47 +01:00
AccessibleStaticTextBase.hxx loplugin:finalmethods 2024-03-26 17:16:47 +01:00
acorrcfg.hxx
adjustitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
autokernitem.hxx
blinkitem.hxx
borderline.hxx
boxitem.hxx
brushitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
bulletitem.hxx
charhiddenitem.hxx
charreliefitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
charrotateitem.hxx
charscaleitem.hxx
cmapitem.hxx
colritem.hxx
contouritem.hxx
crossedoutitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
CustomPropertyField.hxx
editdata.hxx Base scale on 1.0, not on 100.0 2024-04-03 16:41:59 +02:00
editeng.hxx loplugin:unusedmethods 2024-04-04 19:58:14 +02:00
editengdllapi.h EDITENG_DLLPRIVATE is unnecessary 2024-03-13 17:22:47 +01:00
editerr.hxx
editids.hrc
editobj.hxx tdf#158773 reduce cost of ContentInfo::GetText 2024-03-06 13:00:19 +01:00
editrids.hrc tdf#132599 cui offapi sw xmloff: add hyphenation-keep-type 2024-04-11 10:20:41 +02:00
editstat.hxx drop EEControlBits::FORMAT100 2024-02-28 12:46:47 +01:00
editund2.hxx
editview.hxx reduce symbol visibility in editeng 2024-03-14 10:18:23 +01:00
edtdlg.hxx
eedata.hxx
eeitem.hxx ITEM: Solve SfxVoidItem(0) situation 2024-01-23 10:30:59 +01:00
eerdll.hxx ITEM: ItemPool Rework (I) 2024-02-12 10:35:33 +01:00
emphasismarkitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
EPaM.hxx
EPosition.hxx
escapementitem.hxx
ESelection.hxx
fhgtitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
fieldupdater.hxx
flditem.hxx
flstitem.hxx
fontitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
forbiddencharacterstable.hxx
forbiddenruleitem.hxx
formatbreakitem.hxx
frmdir.hxx tdf#67347 pptx import: stacked text, minimal impl. 2024-02-16 13:07:18 +01:00
frmdiritem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
hangulhanja.hxx
hngpnctitem.hxx
hyphenzoneitem.hxx tdf#132599 cui offapi sw xmloff: add hyphenation-keep-type 2024-04-11 10:20:41 +02:00
itemtype.hxx
justifyitem.hxx
keepitem.hxx
kernitem.hxx
langitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
legacyitem.hxx
lineitem.hxx
lrspitem.hxx
lspcitem.hxx
macros.hxx
measfld.hxx
memberids.h tdf#132599 cui offapi sw xmloff: add hyphenation-keep-type 2024-04-11 10:20:41 +02:00
misspellrange.hxx
nhypitem.hxx loplugin:unnecessarymethods 2024-01-29 14:03:29 +01:00
numdef.hxx
numitem.hxx
opaqitem.hxx
optitems.hxx
orphitem.hxx
outliner.hxx loplugin:unusedmethods 2024-04-04 19:58:14 +02:00
outlobj.hxx
overflowingtxt.hxx
paperinf.hxx
paragraphdata.hxx
paravertalignitem.hxx
pbinitem.hxx
pgrditem.hxx
pmdlitem.hxx
postitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
prntitem.hxx
protitem.hxx
rsiditem.hxx
scriptspaceitem.hxx
scripttypeitem.hxx
section.hxx
shaditem.hxx
shdditem.hxx
sizeitem.hxx
smallcaps.hxx
SpellPortions.hxx
spltitem.hxx
splwrap.hxx EDITENG_DLLPRIVATE is unnecessary 2024-03-13 17:22:47 +01:00
svxacorr.hxx Use weak reference to SfxObjectShell in SfxEventHint to avoid use-after-free 2024-03-11 04:43:28 +01:00
svxenum.hxx
svxfont.hxx tdf#67347 fix stacked text kern problems 2024-02-20 18:38:00 +01:00
svxrtf.hxx
swafopt.hxx
Trie.hxx
tstpitem.hxx
twolinesitem.hxx
txtrange.hxx
udlnitem.hxx ITEM: Slight re-design of global Item-Reusage 2024-01-25 01:58:36 +01:00
ulspitem.hxx
unoedhlp.hxx
unoedprx.hxx
unoedsrc.hxx fix windows --enable-mergelibs build 2024-02-13 18:53:21 +01:00
unofdesc.hxx
unofield.hxx
UnoForbiddenCharsTable.hxx loplugin:finalmethods 2024-03-26 17:16:47 +01:00
unofored.hxx
unoforou.hxx loplugin:finalmethods 2024-03-26 17:16:47 +01:00
unoipset.hxx
unolingu.hxx
unonames.hxx
unonrule.hxx
unoprnms.hxx tdf#152878 switch off replacment image in picture frame 2024-03-13 22:11:40 +01:00
unotext.hxx loplugin:finalmethods 2024-03-26 17:16:47 +01:00
unoviwou.hxx EDITENG_DLLPRIVATE is unnecessary 2024-03-13 17:22:47 +01:00
urlfieldhelper.hxx
wghtitem.hxx tdf#158605 Add global SfxPoolItem re-use 2024-01-23 18:56:12 +01:00
widwitem.hxx
writingmodeitem.hxx
wrlmitem.hxx
xmlcnitm.hxx