mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-23 18:50:45 +01:00
Keys that the regeneration dropped because a few documents differ are read from the INDD instead (evidence in objects.md and attributes.md): - Spread PageTransitionType and PageTransitionDirection: chunk 0x2050C (five transition codes, four direction codes; none without it). - Object style StrokeTint, GapColor, EndCap, EndJoin, LeftLineEnd, RightLineEnd and ArrowHeadAlignment: page item attribute IDs 0x6E66, 0x6E89, 0x6E6B, 0x6E6C, 0x6E71, 0x6E72 and 0x6E84 of the style's list. - Paragraph and character style PreviewColor: the u32 14 bytes before the name, 0 or an interface colour. - Object style ApplyNextParagraphStyle (chunk 0x1B94D), KeyboardShortcut "0 0" (key 0 after the name in chunk 0x1B907), ApplyToMasterPageOnly (wrap chunk u16 at 40), and UseNoLineBreaksForAutoSizing (chunk 0x1B924 u16 at 140). - AnchorXoffset and HorizontalReferencePoint of anchored object settings (chunk 0x2800, f64 at 16 and u16 at 42), for object styles, anchored frames and the preferences. compare.py --exclude own/, trustworthy pairs: +58,048 values, 0 lost on any key; Spread transitions 0 -> 9,509 of 9,509 each, CharacterStyle PreviewColor 0 -> 3,154 of 3,154, the object style keys 5,550 to 5,556 of 5,556 (KeyboardShortcut 4,262 of 4,305: other keys left out). Extras 94,249 -> 94,233.