[Libreoffice-bugs] [Bug 133525] Page Style > Area > Gradient: Increment value not saved with document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 31 00:32:54 UTC 2020


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

--- Comment #2 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Julien Nabet from comment #1)
> On pc Debian x86-64 with master sources updated today, I could reproduce
> this.
> 
> Regina: trying to save different values related to gradient in the file and
> unzipping it, I noticed there were no attribute concerning increment.
> Indeed, styles.xml contains this line:
>      <draw:gradient draw:name="Gradient_20_4" draw:display-name="Gradient 4"
> draw:style="rectangular" draw:cx="76%" draw:cy="77%"
> draw:start-color="#ffd7d7" draw:end-color="#b4c7dc"
> draw:start-intensity="95%" draw:end-intensity="90%" draw:angle="34deg"
>     draw:border="35%" />
> 
> Is "increment" attribute a kind of extension to ODF?

No, it is ODF. But "increment" does not belong to the gradient definition in
<draw:gradient>, but it is a property of the object itself. Therefore it is in
the automatic-style of the object in the attribute draw:gradient-step-count.
For a page you get in LO7.0 (ODF 1.3) for example:
<style:drawing-page-properties draw:fill="gradient"
draw:fill-gradient-name="yellow2blue30deg" draw:gradient-step-count="7"
draw:background-size="full"/>

LO6 is faulty in writing gradients for pages.

The error here is, that the dialog does not mirror the values of the
master-page, if it opens for a page. It does mirror the value if it is opened
on shapes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200531/cee6f7bf/attachment.htm>


More information about the Libreoffice-bugs mailing list