Re: header footer background images don't display on file reopen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux