Yes, pdf export is what I'm doing now, using either ghostscript or xpdf to image each PDF page into a PNG. But it is slower than being able to directly grab the rendered page from Writer. Can somebody point me to the PDF export functions? Maybe I could hack a PNG export function instead. Laurent.
On 3/9/07, ashok _ <[EMAIL PROTECTED]> wrote:
If I can add to Frank's idea of working with PDF and then processing the pdf into images..... I have used the iText library with good results : http://sourceforge.net/projects/itext/ which allows you to manipulate pdf.... split it based on page boundaries, output each page to a different format and so on..... So you could take the pdf output of writer and process it into images.... On 3/9/07, Frank Meies - Sun Germany - Development - Software Engineer <[EMAIL PROTECTED]> wrote: > Hi Laurent, > > On 03/08/07 07:54, Laurent Denoue wrote: > > > Is there an API to export each page of a Writer document as a picture? > > It's possible under Impress, as shown here: > > http://www.oesf.org/forums/lofiversion/index.php/t7790.html > > I don't see a way to do this directly. What about using the pdf export > filter and use some external tools to convert the pages to graphic files? > > Best regards, > > Frank > > -- > Frank Meies (fme) - OpenOffice.org Writer > OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
