That's my opinion too, the form fields as position placeholders. (I'm receiving the mailing list messages with hours delay and out of order. Is it just me?)
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno > Sent: Wednesday, January 19, 2005 3:36 PM > To: [email protected] > Subject: Re: [iText-questions] making a student pass > > Quoting Leonard Rosenthol <[EMAIL PROTECTED]>: > > > AcroForms are a much better approach to the problem - even if only > > as a placeholder. > > I always generated documents 'from scratch' in my projects. > But more and more non-technical people want to have their say > in the design. Changing layout if you make your documents > from scratch demands quite some work... > > > >My first idea would be to read the PDF, get all the field > locations and > > >add the new data at absolute positions (the PdfStamper solution). > > > > That's what we've done. > > > > The reason this works out better than using the standard AcroForm > > APIs is that it's consistent regardless of data type (text > vs. image) _AND_ > > it gives you more flexibility for what to place in those "boxes". > > Well, as I have to add barcodes too, I was thinking of > using PdfTemplates and scaling them in into a predefined field. > That would provide the flexibility you are talking about. > I was thinking of writing something like > setField(String name, PdfTemplate template); > But I haven't looked at the code yet to see if that makes sense... > > > >If I can achieve all this with forms, it would make a > great user-case > > >to add to the tutorial. > > > > Definitely! > > I have had a lot of non-PDF related projects the past two years, > I hope this will change in the months to come. The only problem > is that people overhere are using iText for 5+ years now and they > say: if it works the old way, why try to write new ways... > > br, > Bruno > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
