<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Macro is not always run & produce pdf file"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129206#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Macro is not always run & produce pdf file"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129206">bug 129206</a>
from <span class="vcard"><a class="email" href="mailto:oliver.brinzing@gmx.de" title="Oliver Brinzing <oliver.brinzing@gmx.de>"> <span class="fn">Oliver Brinzing</span></a>
</span></b>
<pre>have you tried to replace the watermark/store Dispatches ?
java code would look something like this:
Object xDoc = xComponentLoader.loadComponentFromURL(loadUrl,
"_blank", 0, new PropertyValue[0]);
// Create PDF filter data
PropertyValue pdfFilterData[] = new PropertyValue[1];
// Specifies the PDF version that should be generated:
// 0: PDF 1.4 (default selection) 1: PDF/A-1 (ISO 19005-1:2005)
pdfFilterData[0] = new PropertyValue();
pdfFilterData[0].Name = "SelectPdfVersion";
pdfFilterData[0].Value = new Integer(1);
PropertyValue[] conversionProperties = new PropertyValue[2];
conversionProperties[0] = new PropertyValue();
conversionProperties[0].Name = "FilterName";
conversionProperties[0].Value = "writer_pdf_Export";
conversionProperties[1] = new PropertyValue();
conversionProperties[1].Name = "FilterData";
conversionProperties[1].Value = pdfFilterData;
XStorable xStorable = UnoRuntime.queryInterface(XStorable.class, xDoc);
xStorable.storeToURL(storeUrl, conversionProperties);
XCloseable xClose = UnoRuntime.queryInterface(XCloseable.class, xDoc);
xClose.close(true);
and found a pice of python for watermark:
<a href="https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=88965">https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=88965</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>