mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-20 01:00:46 +01:00
New table and table style attributes: stroke and fill counts, end row and start/end column stroke colours, weights, types and tints, column fill colours and tints, skip counts, graphic insets and ClipContentToGraphicCell; on tables only LeftInset etc. and BreakHeaders; on styles only the footer region style and the region flags. Groups whose IDs are always equal (border weights, colours, types, tints and gap colours; StartColumnStrokeType/EndColumnLineStyle; SkipFirstHeader/SkipLastFooter) are written only when all IDs agree. Table stroke types are decoded as two words. The root table style takes its INDD values where the observed root values have the attribute, and from DOM 11 its text and graphic cell values. A cell style without its own paragraph style gets [No paragraph style] (tables.md). compare.py --exclude own/, trustworthy pairs: value coverage 94.23 % -> 94.24 %; every Table key above is now right on every table, TableStyle Text*/Graphic*Inset and clip flags 341-348 -> 375 of 375, border and region keys up, CellStyle AppliedParagraphStyle 507 -> 547 of 547. No new extras in trustworthy pairs; 98 in a stale pair's table that its reference lacks.