On 04.07.2017 00:48, Svante Schubert wrote:
> *XML of imported MSO document within LibreOffice (and saved as ODT)*
> Both documents in ODT and DOCX being loaded into LibreOffice 5.3.3.2
> Writer look fine regarding the Z positioning, showing the same relations.
> When the document is being saved as ODT again by the LO Writer it keeps
> its relation still changes the Z positioning to
> @draw:z-index="0" <=> very behind
> @draw:z-index="1" <=> very behind
> @draw:z-index="2" <=> behind
> @draw:z-index="3" <=> before
> @draw:z-index="4" <=> very before
>
> and ONLY the images behind have an attribute
> @style:run-through, which contains at least as expected "background"
> Please note that the spec is not mentioning a default value "foreground"
> <http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-style_run-through>,
> but thinking it over it would make sense to name this as default.
i agree, it would make sense to do this since there are lots of existing
documents created with that assumption.
> *Roundtrip Interoperability Issues*
> When this document is again being loaded with Word, strangely the order
> remains mostly the same, BUT the two very bottom pictures are becoming
> the two top pictures AND all images are behind the text. Strange bug!
... and it would also make sense to change to change LibreOffice to
write the run-through attribute always, which should hopefully avoid
this problem.
--
Michael Stahl | Software Engineer
Platform Engineering - Desktop Team
Red Hat
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
Red Hat GmbH, http://www.de.redhat.com/, Sitz: Grasbrunn,
Handelsregister: Amtsgericht München, HRB 153243,
Geschäftsführer: Charles Cachera, Michael Cunningham, Michael O'Neill,
Eric Shander