I'm creating a report based on several input files. One section of the report is an appendix, listing a good deal of information. I want to be able to crosslink items in the body of the report to information in the appendix, but there's no guarantee that the destination will actually be there in a situation where the input files don't match like they're supposed to.
I also have a requirement that the report be formatted in PDF, RTF, or HTML, meaning I have to use simpler objects. I've been using Anchor objects to achieve my crosslinking, as they appear to be the most universal object to obtain the desired results. So, to make a long story short: is there a way to check my anchor references prior to calling .close() on my document and remove the ones that don't have destinations? If not, can you recommend any other ways to do what I need to do? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
