OpenOffice UNO export PDF help needed

w chun wescpy at gmail.com
Fri Jun 23 20:36:17 EDT 2006


> > Subject: OpenOffice UNO export PDF help needed
> > From: "Sells, Fred" <fred at adventistcare.org>
> > Date: Sun Apr 30 04:17:43 CEST 2006
> >
> > 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,
> > 		:
> > below is a java code snippet, submitted with apologies,  I'm using that
> > rather than python because I found better examples and my java IDE helps me
> > out.  I originally started out to do python, and will eventually shift back
> > to it once I get this working
>
>
> Subject: OpenOffice UNO export PDF help needed
> From: "Michele Petrazzo" <michele.petrazzo at TOGLIunipex.it>
> Date: Mon May 1 11:37:07 CEST 2006
>
> 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


fred,

have you had any luck with either your Java or Python code?
did you take a look at the code that Michele had suggested?

please post your progress or any errors you encounter as
others on the list are interested too.

what version of OOo are you using?

thanks,
-wesley

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
    http://corepython.com

wesley.j.chun :: wescpy-at-gmail.com
python training and technical consulting
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com



More information about the Python-list mailing list