mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-20 01:00:46 +01:00
Chunk 0x2800 has one u16 per attribute: AnchoredPosition at 40, HorizontalReferencePoint at 42, VerticalReferencePoint at 44, AnchorPoint from 46 and 50, HorizontalAlignment at 48, VerticalAlignment at 52, SpineRelative at 54 and PinPosition at 56, with the two offsets at 0 and 16. The grouped tables written before were the combinations the smaller corpus showed. Every field matches the 6,363 object styles, 1,076 anchored items and 1,295 preference chunks of the corpus. An anchored item gets every value when its object style turns the anchored object category off (670 items, with LockPosition and AnchorSpaceAbove from the value files), else the values that differ from the style's. Preferences and object styles without the chunk get the values every such file has. compare.py --exclude own/, trustworthy pairs: 98.46 % -> 98.51 % (+11,653 values, 0 lost on any key); ObjectStyle SpineRelative 2,031 -> 5,556 of 5,556, preference SpineRelative 0 -> 1,251 of 1,251, anchored text frames, rectangles, ovals, polygons, lines and groups gain their settings (TextFrame PinPosition 2 -> 556 of 556). Extra values unchanged (93,502).