Campbell, Mark wrote: > Paulo, > > Below is the small code which is used for REASON_FOR_CHANGE section of PDF. > The code works as below: > > 1. Create a Document. > 2. Open Document. > 3. Create Table defining no. of columns > 4. Define width of column. > 5. Create Phrase (Actual content to be added in PDF). > 6. Call setMarkupAttribute() Method to set Property for cell in which > phrase is to be added. > 7. Create a cell adding these phrase. > 8. Call setCellEvent() method. (get getMarkupAttribute ) > 9. Add cell to Table. > 10. Add Table to Document.
Maybe you can wrap the Phrase in a MarkedObject. Note that I didn't try that myself yet. It's just a suggestion. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
