Ask Your Question

docx watermark shows under all content in LibreOfficeDev 4.4.4

asked 2015-05-23 23:21:36 +0200

psg gravatar image

updated 2015-08-26 21:22:00 +0200

Alex Kemp gravatar image

Hi, I am trying to display a water mark in a document that can grow to multiple pages. The requirement is to use docx, so I am stuck with than. I use docx4j to edit he document and a headless LibreOffice to save as PDF and print.

The problem is that LibreOffice renders the watermark under all content if it is in the header or in the footer. If the watermark is in the body (document.xml), LibreOffice shows it on top but as expected it renders it on the first page only.

Is this a bug or is there a trick with the docx OpenXML tags to display it properly?

I am using the dev version as it fixes another problem with headless socket exceptions: Version: Build ID: d276993a1b60f66ce4322c29709c0c3907977663 TinderBox: Win-x86@42, Branch:libreoffice-4-4, Time: 2015-05-20_15:31:13

Thank you in advance

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-05-24 00:33:22 +0200

psg gravatar image

I found a work-around - i removed all <w:shd w:color="auto" w:fill="auto" w:val="clear"/> tags which made all paragraphs and table cells transparent

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-05-23 23:21:36 +0200

Seen: 358 times

Last updated: May 24 '15