Article:
  Dynamically Creating PDFs in a Web Application
Subject:   iText in combination with Microsoft Word and Adobe Acrobat
Date:   2003-11-05 19:38:48
From:   anonymous2
Hi Sean,


I would like to generate templates first and then use these as my starting point to fill out information.


You said-


At my day job, we used iText in combination with Microsoft Word and Adobe Acrobat. First, our team designed a shipment form using Microsoft Word. Next, we converted the Word document to PDF using Adobe Acrobat. Then, using iText's template capability, we loaded the PDF file into our application. From there, it was quite easy to fill in data values on the form and output the final PDF document.


Do you have any tips how to do this, some document etc. that would help me set this up?


Thanks !


Nesh


Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • iText in combination with Microsoft Word and Adobe Acrobat
    2003-11-15 10:46:57  anonymous2 [View]

    http://www.lowagie.com/iText/tutorial/ch13.html

    http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg06170.html

    iText classes:

    PdfReader
    PdfImportedPage (a subclass of PdfTemplate)
    PdfContentByte
    PdfWriter

    Method:

    PdfWriter.getImportedPage

    Method:

    PdfContentByte.addTemplate

    Example code:

    http://itext.sourceforge.net/src/com/lowagie/tools/handout_pdf.java
  • iText in combination with Microsoft Word and Adobe Acrobat
    2003-11-08 07:49:02  anonymous2 [View]

    Here's an example that uses a wysiwyg app (Acrobat or alternative) to create the templates, then extracts the positional and other properties for each field into an XML file for the production merge process. While the example doesn't use iText, it could very easily be converted to do so, at least on the production side (I don't think iText can do the pre-production field properties extraction (yet...)

    http://www.visualbasicforum.com/t116588.html
    • iText in combination with Microsoft Word and Adobe Acrobat
      2003-11-17 14:56:33  anonymous2 [View]

      It's been ported to Java/iText:

      http://www.planetpdf.com/asp/default.asp?action=9&read=35912&fid=3#94629