[Libreoffice-bugs] [Bug 103602] new documents fail ODF validation with Error: unexpected attribute "draw:fill"
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed May 27 15:21:29 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=103602
--- Comment #34 from Regina Henschel <rb.henschel at t-online.de> ---
I think, that the attribute drawing:background-size should be written in
addition to the <style:drawing-page-properties> element. So when reading this
element is implemented, the documents would have already the correct settings.
That attribute is optional but has no default. So it would be good, if the
documents contain the correct setting.
In Writer fill with gradient, color, pattern and hatch fills the entire page,
so that would be drawing:background-size="full". Fill with bitmap still fills
only inside border, so that would be drawing:background-size="border".
And I think, in case of saving to "ODF 1.3 strict", the attribute draw:fill and
connected attributes should not be written to the <draw:page-layout-properties>
at all. Users who need the additional features which are possible with
attribute draw:fill and the connected attributes, can save to "ODF 1.3
extended". With such restriction in save to "ODF 1.3 strict" LibreOffice would
still not render conform to the spec text (= draw:fill in a style disables
<style:background-image> and <fo:background-color>), but at least the produced
documents would contain valid XML.
--
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/20200527/d04230ae/attachment.htm>
More information about the Libreoffice-bugs
mailing list