https://bugs.documentfoundation.org/show_bug.cgi?id=133487
Bug ID: 133487
Summary: z-index wrong for shape with
style:run-through="background"
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: rb.hensc...@t-online.de
Created attachment 161386
--> https://bugs.documentfoundation.org/attachment.cgi?id=161386&action=edit
Example with wrong z-index
Open attached document. You see a red triangle in background, then a blue
ellipse in the middle and a yellow rectangle in front. So for the z-index you
would expect
red index < blue index < yellow index. But when opening the file you will find
red (2), blue (0) and yellow (1).
For z-index ODF 1.3 says in 19.231, part 3 of the spec:
"The draw:z-index values increase from back to front."
And especially for the case style:run-through:
"For a shape on which the style:run-through 20.351 attribute with value
foreground is in effect, producers should not generate a draw:z-index value
that is smaller than the value of any draw:z-index on a shape on which the
style:run-through attribute with value background is in effect."
Because negative values are not allowed, the z-index values should be
red(0), blue(1), yellow(2), for example.
The ODF 1.2 spec had not such clear rules, but only states "The draw:z-index
attribute defines a rendering order for shapes in a document instance."
It becomes more precise in ODF 1.3 with issue
https://issues.oasis-open.org/browse/OFFICE-2122. The implementation in LO 7.0
needs to be adapted for ODF 1.3.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs