Hi Cor,

try the following:

Create instance of service "com.sun.star.comp.PDF.PDFDialog".

This should support XExporter::setSourceDocument to set the document
model you try to export to pdf.

Then use XPropertyAccess::setPropertyValues to set the properties from
the media descriptor.

Then XExecuteDialog::execute to execute the dialog and on success you
can use XPropertyAccess::getPropertyValues to retrieve the new
media descriptor properties.

Not tested but this should work.

Regards,
Christian



Cor Nouws wrote:
Hi,

I've once more searched the idl reference and the devGuideWiki, but cannot find anything on showing only the PDF options dialog (via Basic).

Anyone who knows more on this?

Thanks,
Cor


Cor Nouws wrote (27-3-2008 9:22)
Hi *,

 From OOoBasic I can start PDF export without the options dialog.
I also can start the PDF options dialog automatically followed by the Export dialog. However, I would like to add path/name info to the Export dialog, therefore looking for a way to display the PDF options dialog without automatic Export dialog thereafter.

This is a different question as this one, that learns how to set various options: http://api.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=1886361





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to