[Libreoffice-ux-advise] [Bug 154051] Support table (cell) border transparency

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 4 14:13:57 UTC 2023


https://bugs.documentfoundation.org/show_bug.cgi?id=154051

--- Comment #8 from Regina Henschel <rb.henschel at t-online.de> ---
The background of the cell is currently written as <loext:graphic-properties>
element. You can add a draw:opacity attribute there. Then this opacity is
rendered in LibreOffice in edit and in presentation mode and preserved on
saving. So a semi-transparent cell background only needs implementing a UI. In
ODF 1.4 it will be included as <style:background-fill> element.

"Border" is more difficult because it is written as fo:border attribute. Such
fo:border attribute is a string with structure "9pt solid #0000ff", for
example. And the color included in this string is currently a RGB-color without
alpha-channel. That is different from shapes. Shapes do not use "border" but
"stroke" and for strokes a svg:stroke-opacity attribute exists.

So making borders semi-transparent is a larger effort, including extending ODF.
I could think of allowing a RGB-Color with alpha-channel in the string in file
markup. Such is allowed in CSS for example.

(In reply to Heiko Tietze from comment #7)
> Regina, at least the cell background should provide transparency like other
> shapes.

A table cell is very different from a shape. The "Table" object in Impress is
actually a frame-object (that is a shape), which has a table as content. The
frame has its own graphic properties, only most of them are suppressed if the
content is a table. A table can also exist as stand-alone element, what is done
in Writer or Calc.

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


More information about the Libreoffice-ux-advise mailing list