On Wed, Dec 9, 2009 at 6:30 PM, Shrinivasan T <[email protected]>wrote:

> You can use openoffice API's to do this.
>
> Recently OO mailing also discuss this.
>
> Follow up here.
>
>
> http://groups.google.com/group/mailing.comp.open-office/browse_thread/thread/04690ef10005a892?pli=1
>
>
Thank You for the support
But i was not able to get it done

The Command i used is

raj...@rajesh-laptop:~/Documents$ openoffice.org -headless
"macro:///Standard.convert.SaveAsPDF(/home/rajesh/Documents/test.odt)"

A file is created as test.pdf but when i tried to open the file it says that
the document cannot be opened
File type unknown (application/octet-stream) is not supported
_______________________________________________
To unsubscribe, email [email protected] with 
&quot;unsubscribe &lt;password&gt; &lt;address&gt;&quot;
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to