[Libreoffice-bugs] [Bug 118535] New: FILESAVE DOCX Writer saves images anchored to header/footer multiple times

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 4 11:00:17 UTC 2018


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

            Bug ID: 118535
           Summary: FILESAVE DOCX Writer saves images anchored to
                    header/footer multiple times
           Product: LibreOffice
           Version: 6.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: kelemeng at ubuntu.com

Created attachment 143304
  --> https://bugs.documentfoundation.org/attachment.cgi?id=143304&action=edit
Example file from Writer

Writer saves copies of images belonging to different header/footer styles only
once to odt, but multiple times to docx, increasing file size unnecessarily.
Word saves such images only once too.

To reproduce:
1, Create a custom page style in Writer
2, Insert an image into the default page header, make sure to anchor it to the
paragraph in the header
3, Insert a page break, set the custom page style to the new page
4, Insert the *same* image into the second pages header, make sure to anchor it
to the paragraph in the header
5, Save the document to odt and docx.

If you rename the files to zip and unpack them, you should see one instance of
the image in the odt's Pictures directory, and two instances of the docx's
word\media directory.

Expected results:
Docx export should contain the image only once.


Version: 6.2.0.0.alpha0+
Build ID: bb1d5780226bb1b9156580972eea9aa849178742
CPU threads: 1; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86 at 42, Branch:master, Time: 2018-07-03_05:56:48
Locale: hu-HU (hu_HU); Calc: group threaded

-- 
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/20180704/5fc6427c/attachment-0001.html>


More information about the Libreoffice-bugs mailing list