mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-19 16:50:48 +01:00
Every document has one object of class 0x6E02 whose chunk 0x6E03 is a page item attribute list. An item that does not store a fill, stroke or corner attribute has the value of this list; IDML writes it where it differs from the object style's effective value. When the object style turns the attribute's category off, IDML writes the item's value even where it equals the style's (EnableFill: fill; EnableStroke: stroke colour; EnableStrokeAndCornerOptions: the other stroke and corner attributes). This replaces StrokeWeight="1" for items with [None]: the base list has 0.2835 in 125 of 606 trustworthy documents, which explains the 0.1 mm stroke weights, and corner radii of 14.1732 in the same documents. Groups are left out; EPS text takes no corner values. Evidence in attributes.md. compare.py --exclude own/, trustworthy pairs: coverage 98.41 % -> 98.53 % (StrokeColor of rectangles, text frames, ovals, polygons and lines 3,964 missing -> 4; StrokeWeight 256 wrong and 200 missing -> 0; corner radii and options about 10,000 missing -> 24; fill, miter and category-off values), documents >= 99 % 268 -> 278; all pairs 96.54 % -> 96.65 %. Extras unchanged on trustworthy pairs (8,968); over all pairs +93: 4 StrokeWeight values in 3 stale pairs and attributes of items the reference does not have. No new failures.