mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
* feat(layout): break at soft hyphens, join paragraphs whose mark is hidden, and line up decimal tabs and tabs past the margin as Word does * test(layout): lint and spelling * docs(layout): reflow a comment * fix(layout): leave a paragraph whose hidden mark has no paragraph after it as it is, as Word does Word's PDF of word-breaks-and-tabs.docx shows a paragraph whose mark is hidden before a table, alone in a table cell or last in one, each on its own line, with the rows as tall as without (HM2a, HM2b), so the layout no longer stops there. A hidden mark at the edge of a content control still stops, as no probe has had one. The probe's .docx and Word's PDF are committed with its script and reader. * fix(layout): join a hidden mark's paragraph to one naming the default style, as naming none is the same A paragraph that names the default paragraph style and one that names none are formatted the same, so a hidden mark between them joins them rather than stopping the layout. * docs(layout): say apart how decimal tab stops and tab stops past the end of the line are laid out