mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-21 17:50:47 +01:00
- 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.