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

--- Comment #4 from Regina Henschel <[email protected]> ---
Hi Armin, currently color is written in fo:background-color, and transparency
in style:background-transparency in Writer. That is allowed by the spec, but I
am astonished, because fo:background-color belongs to paragraphs and
characters. In Draw it is written in draw:fill, draw:gradient, etc. The spec
states, that a draw:fill in a style has to switch off a fo:background-color.
Currently, if you copy&paste an OLE object from Draw to Writer, the draw:fill
attribute is not preserved and the other way from Writer to Draw
fo:background-color is not preserved.

I have looked in spec text and schema, none of the fo:background-color,
draw:fill etc. is mandatory and all are allowed on draw:object and on
draw:object-ole. (As far as I understand it.) The spec allows draw:fill etc. in
text context too, it is only Writer which does not support it.

The UI for fo:background and style:background-transparency for OLE object is
not "Area" but "Object">"Background", and that does not contain transparency at
all. When you set a value in style:background-transparency for an object
(tested Math and OLE to my PaintShopPro5) in the file directly and open the
file then in Writer, the transparency is rendered correctly, and it is still
correct after save and reload. So it is a shortcoming in the UI. The "Object"
dialog is very similar to the "Frame" dialog, which has a transparency field.

I agree with you to remove the Area panel and the Line panel for OLE objects in
Writer for AOO4.0. The Line panel does not crash, if you select a line style.
But doing so has no effect on the object. The reason is analogous. In Writer it
is a fo:border and not a draw:stroke. The frame properties are available via
the toolbar. They do not contain transparency, but that is no regression. For
charts exists the workaround to use the transparency of the chart document.

For a later target these enhancement/features can be considered:
(1) Implement a UI for style:background-transparency in the Object property
dialog.
(2) Extend the property panel with additional frame properties. Currently only
the wrap properties are available.
(3) Make OLE in Writer full Draw-objects (which would include rotation).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to