Re: [dev] Automate export to PDF
Hi, Here you can learn how to do it with UNO API. speaking about macro now near 3 years old http://oooconv.free.fr/oooconv/oooconv_en.html HTH Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org Indesko http://www.indesko.com Nuxeo CPS http://www.nuxeo.com - http://www.cps-project.org Livre Programmation OpenOffice.org, Eyrolles 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Automate export to PDF
Hi Cameron, I want to be able to automate on a server the exporting of OpenDocuments to PDF. Can someone point me to resources that would help me in doing so? you could use the UNO API ... for example to store a given xTextDoc to pdf, the following java-snippet should be useful PropertyValue[] PDFArgs = new com.sun.star.beans.PropertyValue[1]; PropertyValue PDFArgs[0] = new com.sun.star.beans.PropertyValue; PDFArgs[0].Name = FilterName; PDFArgs[0].Value = writer_pdf_Export; XStrorable store = (XStorable) UnRuntime.queryInterface(XStorable.class, xTextDoc); store.storeToURL(/path/to/your/destination/nicename.pdf,PDFArgs); Hope that helps Regards Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Automate export to PDF
On Fri, 2005-09-30 at 11:34 +1000, Cameron Zemek wrote: Hi Cameron, I want to be able to automate on a server the exporting of OpenDocuments to PDF. Can someone point me to resources that would help me in doing so? I wrote a simple shell script with one BASIC macro for automated conversion from all supported formats to PDF format. Old macro, shell script: http://blog.vojta.name/archives/2005-04-03T23_43_03.html Macro update: http://blog.vojta.name/archives/2005-04-04T22_22_17.html Here you can learn how to do it with UNO API. Hmm, I saw some webpage few months ago with similiar thing, but I can't find it now :( I tried Google and found this - ServOO http://www.servoo.net/. It's written in Java, some conversion, maybe it can help you too. Regards, Robert -- Robert Vojta http://blog.vojta.name/ It's God. No, not Richard Stallman, or Linus Torvalds, but God. (By Matt Welsh) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]