mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-19 16:50:48 +01:00
Decoded chunks: - EPUB (0x21A1A), HTML (0x21A19), fixed layout EPUB (0x21A25) and Publish Online (0x21A20) export options; the EPUB chunk is read in the layout of its two variable blocks that ends at the chunk's end. Files without a chunk get the values every such file has. - Adjust layout (0x7020): EnableAdjustLayout, AllowFontSizeAndLeadingAdjustment, EnableAutoAdjustMargins. - Language quotes (0x2D26), and $ID/ for an empty vendor of a language whose vendor is never stored; Romanian quotes without the chunk. Values without a field follow the InDesign that exported the IDML, taken from the save history or the edition that made the document (the language of its assignment name); preferences.md lists the rules and their exceptions: DOMVersion by the last session's release, Publish Online resolution and PublishPdf, EnableAdjustLayout after 14.0.0 and 14.0.1, the index title and separator, SnapZone, BaselineFrameGridColor and ColumnGuideColor by the last session's language code, and style shortcut key codes by its platform (also on character styles of DOM 7 to 12, which got none). compare.py --exclude own/, trustworthy pairs: 98.74 % -> 98.96 % together with the three commits before (+62,457 values, 0 lost on any key); e.g. EPubExportPreference 0 -> 1,242 per attribute, DOMVersion 668 -> 1,164 of 1,251, IndexOptions Title 284 -> 1,162, SnapZone 68 -> 1,240, Language HyphenationVendor 1,945 -> 2,818 of 2,829, BaselineFrameGridColor 934 -> 1,154 (object styles 4,163 -> 5,136), ColumnGuideColor 406 -> 1,228, CharacterStyle KeyboardShortcut 2,547 -> 3,154 of 3,154. Extra values 93,502 -> 92,838: +346 on Language elements the reference IDML leaves out (their new vendors and quotes), one PublishPdf of an IDML exported by another release.