Files
craft-libs/crates/doc-binary/src
RickiNano 5cdb115518 craft-doc-binary: a Word 97 built-in style takes its built-in name (#1805)
A .doc saved by a non-English Word stores its built-in styles under that
language's names (Обычный, Kop 1). Word reads a built-in style by its sti
and names it from the reserved names in [MS-OE376] Part 4 §2.7.3.9, so
the document's own Normal is Normal. The Word 97 reader ignored sti and
kept the stored name, so these documents had no Normal.

- stsh: one table of the built-in names for sti 0-266, from [MS-OE376].
  The Word 97 reader names a built-in style from it; a user-defined style
  (0x0FFE) and any sti past the table keep the stored name.
- word6: the Word 6.0/95 reader uses the same table instead of its own,
  which stopped at 106.
- write: Plain Text is sti 90, not 91 (E-mail Signature). With the reader
  naming styles by sti, a Plain Text style would otherwise read back as
  E-mail Signature.
2026-11-21 08:53:16 +01:00
..