Hi Drew,

>> 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:
> ...

Ah, there are indeed different filter implementations for the different
filter types ... I supposed that we have some generic "export to PDF
filter", since from the implementation, I know that PDF export is
basically the same as printing, so I would have assume we have some
generic "setup PDF export and do printing" filter. Okay, I stand corrected.

Which unfortunately means you need to really open the report definition,
and extract the property describing the export type. Not nice. And the
support for the "Hidden" flag when opening a form/report is not yet in
2.4, but only in 3.0 ....

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

Reply via email to