torben wrote: > I would like to convert a Impresss document to a pdf-file from java by > connecting to an remote OpenOffice server. > > I had been looking at the example program DocumentConverter.java from > the DevelopmentKit. > > I can get the example to work if I convert a Microsoft PowerPoint to > impress8 format. > > But I cannot convert Impress file to either Microsoft PowerPoint or to pdf.
(error message snipped) > at $Proxy6.storeAsURL(Unknown Source) This is your problem at least in case of PDF: using "storeAsURL" is only possible for export filters that also can import the written format. For pure export filters you must use storeToURL that just creates a copy of the document without changing its location. This isn't a problem in the document converter because it stores to the OOo "own" format. Maybe we should exchange the methods though just to avoid the problem that you can't use the example for all formats. I don't know why it fails in case of PPT export because this is an import/export filter and should work with storeAsURL. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
