mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-28 12:27:11 -06:00
A table with repeated header rows that started near the bottom of a page left the header rows there alone when the first row after them didn't fit, then repeated them on the next page above that row. Word starts such a table on the next page. place_table now checks, before the first row, whether the row after the header rows can start under them (whole, or split when it may split). If it can't and the page already holds something, the table starts on the next page. A table at the top of a page keeps its header there as before. Co-authored-by: dfgodvan <180286157+dfgodvan@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>