[Libreoffice-bugs] [Bug 115457] FILEOPEN: Footer background image replaced by blue area in ODT (comment 19)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 14 13:24:09 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=115457
--- Comment #22 from Regina Henschel <rb.henschel at t-online.de> ---
The draw:fill and related attributes should not have been written at all,
because they are invalid in this context.
We can try to solve the problem on import: In case a draw:fill="bitmap" is
found but no draw:fill-image-name, ignore all the draw:fill related attributes.
A further solution could be to generate a <draw:fill-image> element on the fly
from the image given in the <style:background-image> element, if that exists.
(Of cause this has not to be done on XML, but on the internal representation.)
A total different solution would be a separate repair tool, that corrects the
XML directly and works on the file.
Because LibreOffice has produced such documents, I think marking as "invalid"
would not be the correct way.
--
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/20200914/80ebb3e9/attachment.htm>
More information about the Libreoffice-bugs
mailing list