Sorry, I fudged the code a bit copying and pasting. Here's how it 'should'
look:
// Add Warning Images
PdfReader docReader = new PdfReader(tempFilename);
HashMap table = docReader.getNamedDestination();
// AnchorFactory keeps track of all the Anchor objects I've requested, so I know
// the names of all the Anchors identifying a 'warning' spot
for(String key : AnchorFactory.getWarningImageAnchorNames())
{
PdfArray dest = (PdfArray) table.get(key);
// Find the page location and add the warning image just left of the right
margin
}
-------------------------------------------------------------------------
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/