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

--- Comment #5 from Regina Henschel <rb.hensc...@t-online.de> ---
Created attachment 200441
  --> https://bugs.documentfoundation.org/attachment.cgi?id=200441&action=edit
Manually set three transparency gradient stops

The problem exists for a native ODF file as well. Only LO has no UI to set
multiple transparency gradient stops. The attached file has set such gradient
stops manually in file markup.

It seems, that in generating the <mask> element for SVG there is done some
"reversing", but in a wrong way.
The odg-file has
<draw:opacity draw:name="MyTransparency"
              draw:style="linear"
              draw:start="100%"
              draw:end="0%"
              draw:angle="0deg">
      <loext:opacity-stop svg:offset="0" svg:stop-opacity="1" />
      <loext:opacity-stop svg:offset="0.3" svg:stop-opacity="0.9" />
      <loext:opacity-stop svg:offset="1" svg:stop-opacity="0.2" />
</draw:opacity>

That becomes in SVG
<linearGradient id="gradient1"
                x1="11000" y1="2000"
                x2="11000" y2="26000"
                gradientUnits="userSpaceOnUse">
       <stop offset="0" style="stop-color:rgb(204,204,204)"/>
       <stop offset="0.7" style="stop-color:rgb(25,25,25)"/>
       <stop offset="1" style="stop-color:rgb(0,0,0)"/>
</linearGradient>

The problem becomes visible for the pptx file attached by the reporter, because
the pptx import creates three stops in the transparency gradient from the three
color stops on the pptx file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to