https://bugs.documentfoundation.org/show_bug.cgi?id=112365
Bug ID: 112365
Summary: ODF: LO writes invalid value 0 for attribute
draw:gradient-step-count in case of automatic
Product: LibreOffice
Version: 6.0.0.0.alpha0+ Master
Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Created attachment 136219
--> https://bugs.documentfoundation.org/attachment.cgi?id=136219&action=edit
Example with "automatic" and with step count = 3
In the step-count is set to "Automatic" LibreOffice writes the value 0 for
attribute draw:gradient-step-count. See
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-draw_gradient-step-count
"By default, the step count is automatically calculated based on the size and
resolution of the filled area.
A gradient step count of color interpretation shall be 3 or greater."
LibreOffice uses the value 0 internally to track the case "Automatic". But it
must not write it to file. In case "Automatic" LibreOffice must not write the
attribute at all, so that the default case of the spec applies.
[I thought that I had reported already, but I do not find it.]
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs