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

--- Comment #11 from Armin Le Grand <armin.le.gr...@me.com> ---
ALG: When trying to repoduce in AOO341 with loading in AOO400:

version (1): D&D or copy/paste the two rects from draw/impress: ALl attributes
get hard set at the objects, at export both have FillStyle and FillColor set as
hard attributes

version (2): Creating both in new calc in 341: the one with 'blue8' has fill
and color set, the one with 'blue9' has no fill or color set. It still works
since in the ODF in the styles.xml in style:graphic-properties the defaults are
defined and there draw:fill-color="#cfe7f5" is set what is 'blue9'.

The example does not work since there is only a draw:fill-color for the object
with 'blue9' (so this stays at load time), but not for the object with 'blue8'
*and* there is no default draw:fill-color given in the styles.xml
style:graphic-properties, thus the default (blue9) is used.
In AOO341 still 'blue8' was used as default due to an error in calc not setting
the correct defaults for the pool, even when the defaults for filling were
already set correctly. Without that error the behavior of this file would have
already shown in AOO341, too.
This gives a slight correction possibility at load time: If there is no color
set and there is no default color, fallback to using the old AOO341 pool
default of 'blue8'. But since only files which cannot regularly be created
(AFAIK) show this and this correction is not easy, I am not sure if this should
be done.

This explains why the example file changes fill color from 'blue8' to 'blue9'.
It also raises the question how that file was created, there is no way to
create this in AOO341/340 nor AOO400. Only sevalav can shine more light on
this.

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

Reply via email to