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

--- Comment #16 from Hossein <hoss...@libreoffice.org> ---
Created attachment 181288
  --> https://bugs.documentfoundation.org/attachment.cgi?id=181288&action=edit
An ODT file with a custom background

I am using LibreOffice 7.3 Writer.

Version: 7.3.0.3 / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

I no longer see "background" tab when opening "Gallery", which is now available
from the sidebar. The menu option for "Gallery" is currently in:

    Insert > Media > Gallery

On the other hand, it is possible to set a custom background using this method:

https://ask.libreoffice.org/t/writer-custom-background-size-image-as-page-background-unwanted-images-are-not-deleted/44138/6

    Styles > Default Page Style > (Right click) > Modify > Area > Image

When I save the file as ODT, I see these in styles.xml:

...
<draw:fill-image draw:name="Maple_20_Leaves" draw:display-name="Maple Leaves"
xlink:href="Pictures/1000000000000200000002009F9CDFF76A1A9DB9.jpg"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
...
<style:background-image
xlink:href="Pictures/1000000000000200000002009F9CDFF76A1A9DB9.jpg"
xlink:type="simple" xlink:actuate="onLoad"/>

The jpeg file is stored in the Pictures folder. It means that the files is now
embedded in the document.

Thus, I consider this issue fixed.

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

Reply via email to