Frank Schönheit - Sun Microsystems Germany wrote:
Really? Isn't this just some "export the document, using the PDF export
filter"-code, regardless of the concrete application?
Not if one is lazy and uses storetoURL then you have to pass in the
proper filter name:
for example:
if (cPdfType = "CalcPDF") then
oDoc.storeToURL(cPdfURL, Array(MakePropertyValue( "FilterName",
"calc_pdf_Export" ),)
elseif (cPdfType = "WriterPDF") then
oDoc.storeToURL(cPdfURL, Array(MakePropertyValue( "FilterName",
"writer_pdf_Export" ),)
end if
This approach works, just tried it and therefore what I intend to do for
the current pass on this.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]