You have to read http://api.openoffice.org/
http://wiki.services.openoffice.org/wiki/Uno
http://codesnippets.services.openoffice.org/Writer/Writer.StoreWriterAsPDF.snip
grep writer_pdf_Export -r OpenOffice-UNO-0.06sUrl="file:///myhome/documents/source.sxw" oDocument=oDesktop.loadComponentFromURL(sUrl,"_blank",0,DimArray()) Dim args(0) as new com.sun.star.beans.PropertyValue args(0).Name = "FilterName" args(0).Value = "writer_pdf_Export" destination = "file:///myhome/documents/test.pdf" odocument.storeToURL(destination,args()) oDocument.close(true)
http://cpansearch.perl.org/src/MBARBON/OpenOffice-UNO-0.06/t/14.t
http://perluno.cvs.sourceforge.net/viewvc/perluno/perluno/examples/DocumentSaver/
http://perluno.cvs.sourceforge.net/viewvc/perluno/perluno/examples/DocumentConverter/
In reply to Re^5: Opening word file in open office
by Anonymous Monk
in thread Opening word file in open office
by soubalaji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |