Bob DuCharme wrote:

> In a macro, the following used to work to save a file as a PDF:
> 
>    cURL = ConvertToURL( cFile )
>    ' Save the document using a filter.
>    oDoc.storeToURL( cURL, Array(_
>             MakePropertyValue( "FilterName", "writer_pdf_Export" ),)
>  ' (full script at
> http://www.xml.com/pub/a/2006/01/11/from-microsoft-to-openoffice.html)
> 
> It doesn't work anymore. (I'm using 2.0.2.) Has a recent upgrade made this
> syntax obsolete? How do we do it now? (I'm actually more interested in
> using script code to convert the OOo file to HTML.)

Your version is quite old. Please update to version 2.2. I doubt that
looking for bugs in an old version is what anybody would like to do. In
case your macro still doesn't work in 2.2 please send your question to
the mailing list [EMAIL PROTECTED]

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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

Reply via email to