iText only reads the printed content from a PDF. It leaves outside fields, bookmarks and links. That said, changing a PDF the way you said in 1) is not possible. Creating a new PDF or adding the fields to an existing PDF (SUBMIT and probably others) is possible, with javascript, hiding, etc. All the field possibilities are supported in iText.
Best Regards, Paulo Soares > -----Original Message----- > From: Bezawada Vamseedhar [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 13:48 > To: [EMAIL PROTECTED] > Subject: [iText-questions] adding button dynamically > > > > Hi, > > > > I have some problem modifying my PDF file using java. I will explain > u breifly what i am expecting to do, please let me know if u have any > idea. > > > > I have a servlet which redirects to the PDF file. Before forwarding to > PDF file i need to check for some thing and according to that modify the > PDF file. The possible case of PDF is either with SUBMIT Button or without > SUBMIT Button. If the pdf file is with SUBMIT button then i need to hide > the field(in one case). If it is without the button then i need to add the > button(in the other case). > > > > 1) First situtaion is PDF with SUBMIT Button-----As i said i need to > hide it, can it be done by using any of these packages? > > 2) PDF without SUBMIT button----i need to add the button and also i need > to add some java script action to the button. Is it possible in ur > knowledge? > > > > Which way do u think is better to do? > > > > Thanks in advance, > > > > with regards, > > vamsi. > > > > > > P.S:- if i choose to create a PDF file with SUBMIT button, then in some > cases i need to hide the button. Is this hiding possible by using ur java > classes? if yes, can u please tell me how? > > > > > > > > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
