Sadly, even the marked content is no help.  MSWord's document structure
is all but worthless... One might even say WORSE that worthless:  It
passes the "basic accessibility" check, but putting the radio buttons in
images and several other Issues make that a LIE.  EVERYTHING is marked
as a <P> (paragraph), including line art for form fields.  Ugh.

Bad developers.  Bad!  No biscuit.

--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 
 

> -----Original Message-----
> From: 1T3XT info [mailto:[email protected]] 
> Sent: Tuesday, September 14, 2010 1:42 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] No Fields in Pdf add content
> 
> On 14/09/2010 10:27, beven wrote:
> >
> > Exaclty, This is my problem. I have to find the text in the pdf and 
> > there coordinates too. After that by some offset to the text 
> > coordinates i will add textfield or checkbox etc through 
> stamper and 
> > the pdf will become editable.
> 
> Ouch...
> 
> > Now i have done all the parts except the difficult one ---> 
>  finding 
> > the coordinates of text !
> 
> You can find the text using the classes in the parser 
> package, but some words will never be found.
> 
> Open your PDF in Adobe Reader and search for the word "Married".
> Adobe Reader tells you the word isn't in the PDF, yet you can 
> see that word as one of the radio button options.
> The word isn't seen by Adobe Reader (nor by iText) because it 
> was created as a raster image, NOT as text.
> 
> Experimenting with the parser package (read chapter 15 of the 
> second edition of "iText in Action" for more info) could 
> result in a solution, but don't complain if it's too hard to 
> implement, because you're doing something that is close to impossible.
> 
> For instance: you won't be able to replace the radio buttons, 
> you'll only be able to "cover" them.
> 
> > There will be alot of Pdf's so manually adding the 
> interactive fields 
> > is not feasible.
> 
> Then rethink your complete design, because you're at a dead end.
> You should create the document WITH fields, not create the 
> documents and then add fields afterward.
> 
> > 1 point is that the fields name will be fixed in all the 
> pdf's. i mean 
> > that all the pdf's will contain the Name, Address, Marital 
> status etc.
> >
> > Now, my question is :  Am i following the right approach ?
> 
> No.
> 
> > If yes, then are
> > there any code available on the net to do this or any other library 
> > that supports this. (I have done alot of googling but all 
> in vain :( )
> 
> There's a reason why you have been Googling in vain:
> your design is all wrong.
> 
> > If no, then what approach should i follow.
> > Thanx in advance. (I am new to iTextSharp so sorry if any 
> of my logic 
> > is stupid :))
> 
> The problem isn't as much that you don't know iTextSharp, the 
> main problem is that you don't know PDF :(
> --
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
> 
> --------------------------------------------------------------
> ----------------
> Start uncovering the many advantages of virtual appliances 
> and start using them to simplify application deployment and 
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.itextpdf.com/book/ Check the 
> site with examples before you ask questions: 
> http://www.1t3xt.info/examples/ You can also search the 
> keywords list: http://1t3xt.info/tutorials/keywords/
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.851 / Virus Database: 271.1.1/3131 - Release 
> Date: 09/13/10 11:35:00
> 

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to