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

--- Comment #22 from Regina Henschel <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to