mandar.jagtap wrote:
> That's right...Thanks a ton for the suggestions...I would like to fix that
> bug in iText to add the screen annotation on page-number other than...where
> and how can I trace it and fix. I will try it definately if I can... or your
> help will do things very much easy for me...I am using iText 2.1.4.
Meanwhile the bug has been fixed in the SVN repository.
Modified: trunk/src/core/com/lowagie/text/pdf/PdfStamperImp.java
===================================================================
--- trunk/src/core/com/lowagie/text/pdf/PdfStamperImp.java 2009-02-19
00:11:18 UTC (rev 3700)
+++ trunk/src/core/com/lowagie/text/pdf/PdfStamperImp.java 2009-02-19
14:27:48 UTC (rev 3701)
@@ -1227,6 +1227,7 @@
}
void addAnnotation(PdfAnnotation annot, int page) {
+ annot.setPage(page);
addAnnotation(annot, reader.getPageN(page));
}
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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