24 Commits
Author SHA1 Message Date
aiongg 7f3060e5bc docs: list interactive elements, articles, story links and style mappings in the README 2026-10-13 01:48:24 +00:00
aiongg 2a7a9b7da9 docs: document story links, link source IDs, style mappings and placed-text import options 2026-10-12 18:43:58 +00:00
aiongg 99bf192b6d feat: write $ID/ PostScript names for InDesign 7.0 up to build 522 2026-10-12 18:17:37 +00:00
aiongg d20d1fa3ed fix: leave out font axes and placed-text plugin data from the measurement 2026-10-12 18:04:47 +00:00
aiongg d1c0a3072b docs: list the defaults and the print page range field 2026-10-12 16:09:45 +00:00
aiongg 9f72881d5e docs: document movies and sounds 2026-10-12 15:55:32 +00:00
aiongg 388cc0e3d4 feat: write capitalization code 4 as LowerCase 2026-10-12 13:48:31 +00:00
aiongg da4cbfa11e fix: leave a family name's trailing spaces out of its fonts' Name from DOM 21 2026-10-12 13:43:24 +00:00
aiongg 0bd2db2b96 fix: write a colon in a style group's name as \: in its Self and Name 2026-10-12 13:40:58 +00:00
aiongg f3acf86a98 docs: record colons in style group names and lowercase capitalization as open 2026-10-12 11:28:23 +00:00
aiongg 63d0a2fe38 docs: record the DOM version of IDML exported by a later release as not stored 2026-10-12 10:20:59 +00:00
aiongg b5761b3333 feat: write the footnote separator tab without the footnote chunk, and record the endnote separator exceptions 2026-10-12 10:20:33 +00:00
aiongg d58d89fa87 feat: write the layer before grouping, table style caption position, generated alternative text and nested style group names
- BeforeGroupingLayerReference from the u32 at 0 of chunk 0x324, a
  spread layer resolved to its layer.
- TableStyle CaptionPosition from DOM 21.5: attribute 0x1047D = 1 gives
  BeforeTable, absent gives AfterTable.
- AIGeneratedAltText, AltTextGenerationError and AltTextCropSyncRect of
  page items from chunks 0x1E262, 0x1E260 and 0x1E261.
- The Name of a nested style group is its full path joined by ':'.
2026-10-12 08:12:50 +00:00
aiongg 6dda8c63bd feat: write the preview data of unlinked images that name no raw data object as Contents
An image without a link whose chunk 0x8C23 is 0 or absent keeps its
file in its preview (0x170D -> class 0x1708 -> 0x119 -> raw data
object). Images of InDesign 2.0 to 5.0 whose chunk 0x8C1B names a class
0x8C01 object keep the preview as a preview.
2026-10-12 07:22:26 +00:00
aiongg 3e8ea49d4a feat: write clipping path settings of every type, their geometry, and those of placed pages
Chunk 0x2C1A gives the clipping type (None, DetectEdges, AlphaChannel,
PhotoshopPath) and a flags byte (high-resolution image, invert and
restrict to frame). Graphics of types 1 to 3 write their chunk 0x162B
paths as ClippingPathGeometry; PhotoshopPath names come from key 0x7D
of the image properties when ASCII, AlphaChannel names from chunk
0x177C. Placed pages get the element with the values of graphics
without the chunk.
2026-10-12 04:08:34 +00:00
aiongg 2cab1c0d65 feat: read RulerOrigin and measure guide locations from it
Chunk 0x808 of the preferences is the ruler origin (0 spread, 1 page,
2 spine). With PageOrigin a page guide is measured from its own page,
with SpineOrigin a vertical guide on a two-page spread from the spine.
The difference is taken after adding the spread's translation, which
gives IDML's 0 for guides on the origin.
2026-10-12 01:02:06 +00:00
aiongg 1149d01150 feat: write a paragraph range per paragraph-style record
IDML starts a ParagraphStyleRange at every paragraph-style run record,
also between neighbouring records with equal formatting. Document the
rule and the paragraph length list of the records in objects.md, and
the remaining splits inside one record in unknowns.md.
2026-10-11 17:24:08 +00:00
aiongg 86c512235f feat: write the page items of graphic table cells
A grid position's 0x10469 record names a graphic cell object (class
0x1046B, u32 at byte 70 of its first value) whose chunk 0x10466 lists
the cell's page items. Write them inside the Cell like nested items.
2026-10-11 15:29:17 +00:00
aiongg 35f15b7556 feat: write InsetSpacing as the f64 at 0 of chunk 0x3723 for frames that are not 4-point rectangles
A plain rectangle has exactly four straight points along the axes. Other
frames take the one number from offset 0 of chunk 0x3723, whatever their
four insets, and before DOM 11 always have InsetSpacing.
2026-10-11 14:22:55 +00:00
aiongg 0a27d17fce feat: write the transparency of object styles 2026-10-11 04:36:33 +00:00
aiongg 08b846f831 feat: name the built-in mojikumi sets 10 and 14
kMojikumiDefaultName10 is LineEndAllOneEmEnum: the BasedOnMojikumiSet of
7 custom mojikumi tables in 7 trustworthy pairs (code 10).
kMojikumiDefaultName14 is LineEndPeriodOneEmEnum: the Mojikumi of one
paragraph range in one trustworthy pair. Codes 3, 5, 6, 9 and 11 have
no pair and stay unwritten (docs/format/unknowns.md).

compare.py --exclude own/: trustworthy values reproduced 28,699,017 ->
28,699,026 (+7 BasedOnMojikumiSet, +2 Mojikumi); coverage 99.484 % ->
99.485 %; extras 92,883 unchanged; no pair loses values.
2026-10-10 21:20:47 +00:00
aiongg 8c4cf32d51 feat: write alternate glyphs (text attribute 0x42AE)
Text attribute 0x42AE (value type 0x42DF) holds the OpenType feature of
a glyph chosen from its alternates: u16 count, then per feature four tag
bytes and a u32 number. IDML writes it as Properties/OpenTypeFeatures,
a list of [$ID/<tag>, number]. The converter writes values with one
feature and leaves out the empty lists that styles store.

Evidence (docs/format/attributes.md, alternate glyphs): 127 of 127 runs
in the trustworthy pairs, 11 tags; tag byte order checked on 7
big-endian files.

compare.py --exclude own/: trustworthy values reproduced 28,698,890 ->
28,699,017 (+127, all CSR.P.OpenTypeFeatures gaps); extras 92,883
unchanged; no pair loses values; 0 conversion failures.
2026-10-10 21:20:38 +00:00
aiongg 5fb4df3857 docs: state only the measured exceptions of the column and watermark rules
Leaves out details of the column direction exceptions and the chunk size that were not measured, and updates the counts of the open items from the current comparison.
2026-10-10 19:09:21 +00:00
aiongg c87e41bcb8 docs: list the open format items
docs/format/unknowns.md lists what is not decoded after the next-gaps work, with the reason (no field found, never varies, no pair, not explained, not needed) and the page that describes the rest of each item.
2026-10-10 18:34:24 +00:00