I was looking for a solution to use a watermark image in a writer document, without having to bother about margins.
So, I found this answer:
viewtopic.php?f=7&t=93590&hilit=PDFTK#p445098
I was able to do it, using the PDFTK command: "pdftk in.pdf background back.pdf output out.pdf"1.: Create a document without background picture, and export it to PDF format. Then create an one page document with zero margins, and with a picture on the page. Export it to PDF format. Then use a third party PDF manager software (like the free PDFTK) put a watermark (background picture) into each page of the first pdf file, by usage of the second pdf file as "watermark file".
So, is it possible to create a MACRO, to do the following:
1) Export the current document ODT file to a TEMPORARY PDF FILE;
2) Get this TEMPORARY PDF FILE and merge it with another PDF FILE (the watermark pdf) using PDFTK (using the parameter "BACKGROUND"), to create the FINAL PDF.
3) Delete the TEMPORARY PDF FILE.
I have tried to understand the SHELL function, but it is too too too far far away from my abilities to make all the steps to happen
Thx in advance.
MGM
Curitiba/Brazil