Files
docx/scripts
Dolan f5e5d35d1f feat(layout): join a paragraph whose mark is deleted to the next, and leave deleted rows out, as Word shows tracked changes (#3636)
* feat(layout): lay out tracked changes as Word shows them in balloons and Simple Markup

A paragraph whose mark is deleted joins the next, in the next one's formatting, a deleted section break leaves its
section to the next, deleted rows take no room, and a deleted footnote is still counted. Word sizes a table's columns by
its deleted rows and text all the same. Where Word hasn't been seen, the layout stops.

* fix(layout): read a deleted row of a table laid out fixed as the layout reads deleted runs, keeping its bookmarks

It was read as Word sizes columns, with its deleted text shown, so a deleted tab or break in it stopped its paragraph and
lost its bookmarks, though nothing sizes a fixed table's columns by it.

* fix(layout): say whether MK11g's deleted header row is on the table's first page and on the next, apart

The probe reader said the header was shown if it was on any page, so it couldn't tell the table's first page from a
repeat on the next.

* test(layout): expect a footnote reference's number in its run's font, as #3641 writes it

* fix(layout): stop at a field only part of which is deleted in a tracked change

A deleted run's field characters were dropped, so a deletion of a field's end or separator, and not its start, left the
field open, and the text after it was left out without a stop. They now keep their place on the field stack: a field
deleted whole is left out, as Word shows it, and one deleted only in part stops the layout.

* test(layout): number notes read again to size a table's columns as #3638 numbers them

* fix(layout): stop at a deleted footnote reference with a mark of its own, as at one not deleted

Word may not count such a note in the numbers of the others, so counting it when its reference is deleted could number
the footnotes after it one too high without a stop.
2026-10-02 06:10:25 +01:00
..