Files
craft-libs/crates/docx/tests/it
Diego Guerini 5f453efa9a craft-docx: a relativeHeight of 0 stays the lowest stacking order
Float::z kept relativeHeight as read, so a file's 0, the lowest order a
file can give, read as 0, "none", which stacks above every object. z is
now one more than the file's (as ODF's draw:z-index is read), and
Float::stack gives the stacking key. The writer writes stored orders one
less, numbers objects made in the app above every stored one, and
numbers the stored ones again from Word's first order when u32::MAX
leaves no room above them. Document::stacking_orders counts every story
saved with the document, the glossary's building blocks included.

Moved from storytold/wordcraft#2655 (wordcraft#2638), whose DOCX reader
and writer now live here.
2026-11-15 20:10:47 +01:00
..