mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
* feat(layout): repeat a table's header rows at the top of each column, as Word does Word and LibreOffice repeat a table's header rows at the top of each column it goes on into, as at the top of each page (word-rules2.docx Q4). docx/layout stopped there. Word's PDF of a new probe, word-header-columns.docx, showed the same in columns evened out before a continuous section break, and that the empty paragraph that ends a section after a table has a line of its own below the last column, where LibreOffice gives it no room. * test(layout): keep the space after the empty paragraph's line after a table below it, as Word does The empty paragraph that ends a section after a table is a line of its own, and its space after is the larger with the next section's space before, as between any two paragraphs. Word's PDF of the columns demo puts the heading after its table a line and 12 points below the columns: the larger of the empty paragraph's 5 after and the heading's 12 before, not 7.