[Zope] PDF and Zope

Hannu Krosing hannu@tm.ee
Thu, 05 Nov 1998 00:08:30 +0000


Oscar Picasso wrote:
> 
> Hi,
> 
> I need to modify on the fly PDF file that are stored in a ZODB.
> The basic idea is to use these PDF files as templates and add to them some
> texts and drawings generated by some external method or with DTML scripts.
> 
> I tried Pavlos ZpdfDocument product. It's very nice to generate PDF code
> from HTML or Structured text.
> 
> However I need something more flexible. I took a look also at the PDFGen
> library. I think it could meet some of my requirements, especially the
> Canvas methods are very useful and easy. But here too it seems that you can
> only produce new PDF documents.
> 
> As anyone tried to do the same thing (adding objects to PDF files)? Any
> pointer greatly appreciated.

Maybe the "correct" way to do it would be to create a SVG->PDF product and 
generate the required SVG from zope ? 

The initial layouts could be done with Sketch or dia or any other SVG-capable 
vector package.

--------
Hannu