mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-20 09:10:47 +01:00
An edge value is written when every grid position along that edge has it with the same value; the priority comes from the cell's own set, or is 1 for the right (bottom) edge of a merged cell whose edge positions have one. New edge groups: gap tint, gap colour, overprint and gap overprint. Cell edge tints -1 are written as 100 and a weight is 0 when the edge colour is None. Stroke codes 0x5A3F (Japanese Dots) and 0xB007 (ThickThick) for cells and tables. New cell attributes: graphic insets, OverprintFill, VerticalJustification 0 and 3, FirstBaselineOffset, WritingDirection (not on cell styles: the schema lacks it), RotationAngle, DiagonalLineStrokeOverprint. Text*Inset only from DOM 11. Cell style edge IDs are rotated against the cell IDs (tables.md). compare.py --exclude own/, trustworthy pairs: value coverage 93.13 % -> 94.23 %, median 96.7 % -> 96.8 %, documents >= 99 % 14 -> 18; extra values 30,379 -> 30,237. Every Cell edge key is now right on every cell except one bottom weight (tables.md); CellStyle edge keys rise too. One unnamed colour (14 values) is no longer written: its only reference was a wrong BottomEdgeStrokeColor that is now right, and IDML writes the colour though nothing refers to it (objects.md). In stale pairs the extras of a table missing from its reference grow by 2,590.