You need to buy a very expensive server from Adobe to enable those rights in Reader.
----- Original Message ----- From: "Gandhi, Dharmesh" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, February 11, 2005 8:47 PM Subject: [iText-questions] Dynamically manipulating PDFAnnotations using Javascript > Hi, > > I am trying to maipulate Free Text Annotations dynamically after the pdf has > been loaded (using javascript) to reset the hidden property but doesn't seem > to be working in Reader 7. > The Adobe doc says that the reader needs > C Requires the right to manipulate Comments. - to be able to do this > using Javascript > > How can I set this property for the Adobe Reader using iText. I am > currently setting the foll permissions > > writer.setEncryption(PdfWriter.STRENGTH128BITS, "password", "World", > PdfWriter.AllowPrinting | PdfWriter.AllowModifyAnnotations | > PdfWriter.AllowModifyContents); > > but it doesn't seem to work. Also it doesn't seem to be setting other > properties like the 'subject' and the 'contents' although I am specifically > setting them as follows > > annotation.put(new PdfName("Subject"), new PdfString("My Subject")); > annotation.put(new PdfName("Contents"), new PdfString(" some text")); > > the 'Name' property does seem to get set and can be used to access the > annotation using the name from javascript > annotation.put(new PdfName("NM"), new PdfString("Free")); > > any ideas how I can get this to work - thanks > > Dharmesh > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
