On 5/10/2010 10:33, tutubel wrote: > > Hi, > > I have this project where a person highlights important places in pdf > articles& uploads these pdf's to a server. Now i want to merge pdf& > highlights so people with ipad can view highlighted places (ipad does'nt > display annotations without extra software) > > How can i merge these to make a pdf with embedded highlighting? I tried > PdfStamper but didn't succeed.
Get the page dictionary from each page with getPageN(). Then inspect the /Annots array. Use PdfStamper and "direct content" to "render" the annotations. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
