in reply to Re^4: Opening word file in open office
in thread Opening word file in open office

Alex, OpenOffice::UNO is a straight bridge to the OpenOffice.org API, so the definitve reference is in the OpenOffice.org SDK.

You have to read http://api.openoffice.org/

http://wiki.services.openoffice.org/wiki/Uno

http://codesnippets.services.openoffice.org/Writer/Writer.StoreWriterAsPDF.snip

sUrl="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)
grep writer_pdf_Export -r OpenOffice-UNO-0.06

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/