writing attribute style:background-transparency

Armin Le Grand armin_le_grand at me.com
Thu Sep 29 09:21:44 UTC 2016

Hi Regina,

Am 23.09.2016 um 00:40 schrieb Regina Henschel:
> Hi Armin,
> Armin Le Grand schrieb:
>> Hi Regina,
>> tried, but could not create one (tried frames in SW, too).
>> Might have to do with the change of SW FillStyle/Transparency attributes
>> to the full Draw ItemSet. These get written with the same attributes as
>> for draw objects, but before the change that attribute might have been
>> used. It would be loaded and converted at import, though.
>> Thus, might be if you use an older version which had not that change and
>> insert a frame and set transparency, but no guarantees
> Direct hit :)
> AOO 3.4.1 writes a style:background-transparency for a Writer frame 
> with background color and transparency. LibreOffice 5.3 writes 
> style:background-transparency too, but in addition it writes 
> draw:fill, draw:fill-color and draw:opacity.

Yes, this is to have some backward compatibility. This means that the 
'old' style to safe it might be removed in the future, but the new ones 
will stay. The new ones are the same as complete draw/fill style for 
graphic objects, thus unifying that stuff.


> LibreOffice writes draw:fill, draw:fill-color and draw:opacity too in 
> style:page-layout-properties, however there without 
> style:background-transparency. But for draw:fill, draw:fill-color and 
> draw:opacity it is the same problem as for 
> style:background-transparency: It is not allowed in 
> style:page-layout-properties.
> So my conclusion is, that a transparent property for page background 
> is indeed needed. But I would suggest not to extend the 
> style:background-transparency, but the draw:xyz attributes, because 
> they are richer and already used in LibreOffice.
> Kind regards
> Regina
>> HTH!
>> ALG
>> Am 21.09.2016 um 19:36 schrieb Regina Henschel:
>>> Hi all,
>>> the ODF TC is going to discuss issue OFFICE-3770 [1], which is about
>>> the attribute style:background-transparency. I'm trying to generate a
>>> document by LibreOffice, in which this attribute is used. But in all
>>> my tries I always get draw:opacity or draw:opacity-name (in case of
>>> gradient).
>>> Do you know a situation where LibreOffice writes the attribute
>>> style:background-transparency ?
>>> Kind regards
>>> Regina
>>> [1] https://issues.oasis-open.org/browse/OFFICE-3770
>>> _______________________________________________
>>> LibreOffice mailing list
>>> LibreOffice at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/libreoffice
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

ALG (PGP Key: EE1C 4B3F E751 D8BC C485 DEC1 3C59 F953 D81C F4A2)

More information about the LibreOffice mailing list