Hi Bob,

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?
Just worksforme. With 2.2, But if I look to the code, I don't see anything that I expect to have been changed last year.

(I'm actually more interested in
using script code to convert the OOo file to HTML.)
I forward this message to [EMAIL PROTECTED]
In the archives of that list, or on the forum, or on that list, you can find helpt to save as HTML.
I think you have to use StoreAsURL and  )"FilterName", "HTML (StarWriter)")

HTH,
Cor

--

Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact

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

Reply via email to