Ask Your Question
0

docx watermark shows under all content in LibreOfficeDev 4.4.4 [closed]

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

psg gravatar image

updated 2020-08-21 17:00:32 +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: 4.4.4.0.0+ 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 reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-21 17:00:43.640799

1 Answer

Sort by » oldest newest most voted
0

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

Question Tools

1 follower

Stats

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

Seen: 397 times

Last updated: May 24 '15