[Libreoffice-bugs] [Bug 112365] New: ODF: LO writes invalid value 0 for attribute draw: gradient-step-count in case of automatic
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 13 07:52:16 UTC 2017
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: libreoffice-bugs at lists.freedesktop.org
Reporter: rb.henschel at t-online.de
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170913/f163744b/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list