Commit Graph
2 Commits
Author SHA1 Message Date
aiongg dd15594885 feat: write paragraph-level text sources and cross-reference sources
- A text source over several character ranges of one paragraph range is
  written as a child of the ParagraphStyleRange: the ranges at its ends
  are split and the parts inside become its CharacterStyleRange
  children. Sources across paragraph ranges, or holding an XML marker,
  are left out with a warning.
- Text sources with chunk 0x135A0 are written as CrossReferenceSource
  with AppliedFormat. One that holds more than a text variable instance
  is written at paragraph level, since the schema allows no Content in
  it.

Trustworthy pairs: reproduced 10,530,141 -> 10,566,138 (91.50 % ->
91.81 %); HyperlinkTextSource 3,449 -> 5,475, CrossReferenceSource 116,
hyperlinks 3,097 -> 5,149, all with their values. Extra values 26,634 ->
26,516: the 332 values of cross-reference sources written as hyperlink
sources go, and cross-reference sources written around a character
range add their inner ranges (one pair). No key reproduces fewer values.
"spans several text ranges" warnings over all files 9,703 -> 3,277.
Schema validation: 0 failures.
2026-10-08 01:55:40 +00:00
aiongg 146afc2cf7 feat: convert cross-reference formats
Read cross-reference formats (class 0x1355E) and their building blocks
and write them to designmap. Evidence is in
docs/format/cross-references.md.
2026-10-06 23:23:45 +00:00