https://issues.apache.org/ooo/show_bug.cgi?id=25752

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #12 from [email protected] ---
Maybe there is a "bug" or at least an ambiguity in the Open Document standard
v1.2.

If I create a writer file with 3 copies of a picture, and then make no
modification to the first, set 50% brightness to the second and -50% to the
last one. The automatic style attribute draw:luminance in the content.xml
becomes as follows:

draw:luminance="0%"

draw:luminance="50%"

draw:luminance="-50%"

This looks ok when compared to the initial text in Open Document v1.2 part 1
chapter 20.135:
"The draw:luminance attribute specifies a signed percentage value that sets the
output luminance of a bitmap or raster graphic."

BUT!, if you continue to read the last row in 20.135 draw:luminance is stated
to have the type "zeroToHunderPercent" as specified by 18.3.41. Even though
this is the non-signed version having the allowed range [0%, 100%]!

In chapter 18.3.30 the type "signedZeroToHundredPercent" is specified with the
range [-100%, 100%]

So either, the initial text in Open Document v1.2 part 1 chapter 20.135 is
incorrect, or the assigned attribute type.

This probably lead to all kinds of misunderstandings of what is "right" or
"wrong".

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

Reply via email to