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

Yousuf (Jay) Philips <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]

--- Comment #2 from Yousuf (Jay) Philips <[email protected]> ---
So looking at the xml of a document saved with a custom gradient from the
sidebar, there were two problems in the saved document.

1) styles.xml: it isnt saving the custom gradient in a <draw:gradient> tag
under <office:styles>

2) content.xml: it is having a blank draw:fill-gradient-name attribute in the
<style:drawing-page-properties> tag under <style:style> under
<office:automatic-styles>

Possible solutions:

1) when background is set to gradient in the sidebar, create a random named
file-level preset for it

2) during the export process, if a gradient doesnt have name, create a random
name for it

Looking at the ODF output from the code done by Rishabh for the custom gradient
in the sidebar area fill content panel, it uses solution 1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to