https://bugs.documentfoundation.org/show_bug.cgi?id=89475
Bug ID: 89475
Summary: Failure to load gradients from ods file
Product: LibreOffice
Version: 4.1.6.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
LibreOffice 4.1.6.2 410m0(Build:2)
The to-be-attached file contains a circle with a gradient that should go
from red to yellow in the direction from upper left to lower right.
When localc loads this file, it incorrectly sees a 4 degree angle, not
a 45 degree angle.
<draw:gradient draw:name="Gradient-0" draw:start-color="#ffff00"
draw:end-color="#ff0000" draw:style="linear" draw:angle="45"/>
The ODF 1.2 language is...
18.3.1 angle
An angle, as defined in ยง4.1 of [SVG]. An angle is a double value that may be
followed immediately by one of the following angle unit identifiers: deg
(degrees), grad (gradiants) or rad (radians). If no unit identifier is
specified, the value is assumed to be in degrees.
Note: OpenDocument v1.1 did not support angle specifications that contain an
angle unit identifier. Angle unit identifiers should be omitted for
compatibility with OpenDocument v1.1.
Changing the "45" to "45deg" causes LO to act as-if "0" was requested.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs