Sells, Fred wrote: > I've geen googling for 3 days now, and cannot find out how to do > this. > > I'm trying to use OpenOffice 2.0 and UNO to generate PDF documents. > I'm using windows, but will have to make it work under Linux for > production. I've been able to set the parameters and call the > exportToPdf method, but the exported file is not PDF but an .odt > document,
Have you tried the ooextract.py found on: http://udk.openoffice.org/python/python-bridge.html Here work well and generate a pdf file. See also this for more info about generate pdf: http://mithrandr.moria.org/blog/447.html Michele -- http://mail.python.org/mailman/listinfo/python-list