I have just asked this question in the news group
gmane.comp.openoffice.questions, but were asked to use this mailing list
instead.
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.
In both cases I get the exception:
om.sun.star.task.ErrorCodeIOException:
at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:275)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:141)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:377)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:346)
at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:106)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:845)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:794)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:137)
at $Proxy6.storeAsURL(Unknown Source)
at
dk.frojonck.test.DocumentConverter.traverse(DocumentConverter.java:143)
at dk.frojonck.test.DocumentConverter.main(DocumentConverter.java:251)
For the conversion pdf I use the "impress_pdf_Export" as type to convert
to.
I am using OpenOffice2.0.
Does someone have an example, that is working ?
Best regards
Torben Froeberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]