Files
docx/scripts
Dolan 54bb97d5d9 feat(layout): lay out table rows across pages with merged cells, tables in cells, set heights and footnotes, as Word does (#3689)
Word's PDFs of word-stops-tables.docx and word-stops-notes.docx (lay-stops2's
batch) settle most of the work's line 20:

- A table in a cell doesn't repeat its header rows on the next page (RW1),
  and one with cells merged down its rows whose text is in their first rows
  breaks as any other (RW2). An empty paragraph that ends a cell after a
  table takes no room.
- The text of a cell merged down rows goes on page by page in the last of
  its rows (RW4a), between the border above its first row and the one below
  its last (RW4a, RW4b).
- A cell merged down from a row set taller than a page has its text in it
  (RW5a), and the row's footnote starts at the bottom of the next page (RW5c).
- A row set to at least a height taller than a page, whose text is taller
  than a page too, breaks where its text does, each part filling its page
  (RW6).
- In columns, a row kept whole that is taller than a column goes down the
  first column of each page (RW11).
- A table in a cell merged down rows breaks as one in a cell of a row (RW12).
- A row with a table in a cell beside a line with a footnote breaks where
  the footnote fits whole below it (NT11), rather than after the line.

word-stops-rows2.ts is the probe for the next batch: merged text beside a
row across three pages and across a page break between its rows, rows set
taller than a page with footnotes, merged cells or as a header row, and in
columns, and merged text in a table in a cell.
2026-10-05 11:43:23 +01:00
..