mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-20 17:20:49 +01:00
Cells start at positions with attribute 0xB666 (text) or 0x10469 (graphic); positions past a short row record are covered. The layout record is parsed by its flags, so the width is read where it is, and cells never laid out are kept. Spans follow a two-pass rule: the column span whose widths best match the layout width plus the insets in effect, then the free covered rows below. From DOM 11 every Table, Row, Column and Cell gets TextTop/Left/Bottom/RightInset and ClipContentToTextCell in effect: cell set, cell style chain, table-style region cell style, table, table style chain, root table style; rows and columns copy their first cell (tables.md). compare.py --exclude own/, trustworthy pairs: value coverage 92.51 % -> 93.13 %, median 96.5 % -> 96.7 %; story text 18,509 -> 18,517. All Cell, Row, Column and Table text insets and ClipContentToTextCell are now right (Cell 11,097 of 11,097 each), Cell ColumnSpan 11,304 -> 11,550 and RowSpan 11,389 -> 11,550 of 11,550; 144 overset cells are no longer dropped. No new extras in trustworthy pairs; the extras of one stale pair's table that its reference lacks grow by 1,052.