Files
designcraft/crates
Aykut FiratandClaude Opus 5.5 d98b2cce01 IDML: TOC styles read InDesign's $ID/-prefixed separators and Properties-child entry styles
InDesign writes a TOC style entry's separator with the built-in prefix (`Separator="$ID/^y"`, the right indent tab)
and its FormatStyle / PageNumberStyle / SeparatorStyle as `<Properties>` children, not attributes. The importer kept
the prefix as text (entries read "Welcome$ID/<tab>3") and never found the entry styles, so a regenerated TOC lost its
entry paragraph style and page-number character style.

- names::toc_separator_in strips `$ID/` before decoding.
- toc_of reads FormatStyle, PageNumberStyle and SeparatorStyle with `prop` (attribute or Properties child).
- tests: a TOC style written as InDesign writes it imports its separator, entry style, page-number style and title style.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 15:32:00 -04:00
..
…
…