Hello Paulo and Leonard,
As I said earlier, I have to stop writing the tutorial for a while, which is a pity. I have a new project at the University: I need to generate cards in PDF that can be used as a pass for students. On the pass there will be textual information (name, address,...), the matriculation number should be displayed as a barcode and the card should also show a photograph of the student.
If I would do this using my current knowledge of iText, I would generate every card from scratch and add all the data at absolute places (with some formatting). But maybe there's a better way. Suppose I let the 'art department' design a card template with an acroform. How would I be able to fill this card? 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). For the textual data, I probably wouldn't need to fetch the field locations, I could get the acroform and fill in the different fields. But can I do that with an Image? Can I get a acrofield and scale an Image so that it fits in the field using some setField method? Can I pass a matriculation number to a field and have it displayed as a barcode? (If not, would it be feasible to implement this?)
If I can achieve all this with forms, it would make a great user-case to add to the tutorial. 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
