6e8819f29b
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 |
||
---|---|---|
.. | ||
AccessibleComponentBase.hxx | ||
AccessibleContextBase.hxx | ||
AccessibleEditableTextPara.hxx | ||
AccessibleParaManager.hxx | ||
AccessibleSelectionBase.hxx | ||
AccessibleStaticTextBase.hxx | ||
acorrcfg.hxx | ||
adjustitem.hxx | ||
autokernitem.hxx | ||
blinkitem.hxx | ||
borderline.hxx | ||
boxitem.hxx | ||
brushitem.hxx | ||
bulletitem.hxx | ||
charhiddenitem.hxx | ||
charreliefitem.hxx | ||
charrotateitem.hxx | ||
charscaleitem.hxx | ||
cmapitem.hxx | ||
colritem.hxx | ||
contouritem.hxx | ||
crossedoutitem.hxx | ||
CustomPropertyField.hxx | ||
editdata.hxx | ||
editeng.hxx | ||
editengdllapi.h | ||
editerr.hxx | ||
editids.hrc | ||
editobj.hxx | ||
editrids.hrc | ||
editstat.hxx | ||
editund2.hxx | ||
editview.hxx | ||
edtdlg.hxx | ||
eedata.hxx | ||
eeitem.hxx | ||
eerdll.hxx | ||
emphasismarkitem.hxx | ||
EPaM.hxx | ||
EPosition.hxx | ||
escapementitem.hxx | ||
ESelection.hxx | ||
fhgtitem.hxx | ||
fieldupdater.hxx | ||
flditem.hxx | ||
flstitem.hxx | ||
fontitem.hxx | ||
forbiddencharacterstable.hxx | ||
forbiddenruleitem.hxx | ||
formatbreakitem.hxx | ||
frmdir.hxx | ||
frmdiritem.hxx | ||
hangulhanja.hxx | ||
hngpnctitem.hxx | ||
hyphenzoneitem.hxx | ||
itemtype.hxx | ||
justifyitem.hxx | ||
keepitem.hxx | ||
kernitem.hxx | ||
langitem.hxx | ||
legacyitem.hxx | ||
lineitem.hxx | ||
lrspitem.hxx | ||
lspcitem.hxx | ||
macros.hxx | ||
measfld.hxx | ||
memberids.h | ||
misspellrange.hxx | ||
nhypitem.hxx | ||
numdef.hxx | ||
numitem.hxx | ||
opaqitem.hxx | ||
optitems.hxx | ||
orphitem.hxx | ||
outliner.hxx | ||
outlobj.hxx | ||
overflowingtxt.hxx | ||
paperinf.hxx | ||
paragraphdata.hxx | ||
paravertalignitem.hxx | ||
pbinitem.hxx | ||
pgrditem.hxx | ||
pmdlitem.hxx | ||
postitem.hxx | ||
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 | ||
svxacorr.hxx | ||
svxenum.hxx | ||
svxfont.hxx | ||
svxrtf.hxx | ||
swafopt.hxx | ||
Trie.hxx | ||
tstpitem.hxx | ||
twolinesitem.hxx | ||
txtrange.hxx | ||
udlnitem.hxx | ||
ulspitem.hxx | ||
unoedhlp.hxx | ||
unoedprx.hxx | ||
unoedsrc.hxx | ||
unofdesc.hxx | ||
unofield.hxx | ||
UnoForbiddenCharsTable.hxx | ||
unofored.hxx | ||
unoforou.hxx | ||
unoipset.hxx | ||
unolingu.hxx | ||
unonames.hxx | ||
unonrule.hxx | ||
unoprnms.hxx | ||
unotext.hxx | ||
unoviwou.hxx | ||
urlfieldhelper.hxx | ||
wghtitem.hxx | ||
widwitem.hxx | ||
writingmodeitem.hxx | ||
wrlmitem.hxx | ||
xmlcnitm.hxx |