Hi Jim,
Jim Raykowski schrieb am 27-Jan-19 um 02:17:
Greetings All,
Trying to make header and footer background images redisplay on opening.
I noticed draw:fill="bitmap" in style:header-footer-properties in a
.fodt test file.
...
</style:page-layout-properties>
<style:header-style>
<style:header-footer-properties fo:min-height="0in"
fo:margin-bottom="0.1965in" draw:fill="bitmap" style:repeat="repeat"
draw:fill-image-ref-point="top-left">
<style:background-image>
<office:binary-data>iVBORw0KGgoAAAANSUhEUgAAApUAAACpCAYAAAENcfbOAAAACXBIWXMAAA7EAAAOxQGMMD9a
...
If draw:fill="bitmap" is removed the image shows in the header on
reopen. When not removed blue background fill is shown.
Is draw:fill="bitmap" needed?
There must not be attribute draw:fill="bitmap" nor the other associated
draw:fill... at all. The attribute style:repeat is invalid too.
In ODF 1.2 only the attribute fo:background-color (20.175) and the child
element <style:background-image> (17.3) are allowed in
<style:header-footer-properties> (17.5).
In ODF 1.2 extended such attributes would be allowed, but must have a
private namespace like 'loext'.
Try validator https://odfvalidator.org/
and look into spec
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#element-style_header-footer-properties
Another example of implementing things without considering how they are
correctly reflected in fill format.
Kind regards
Regina
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.