By Date: <-- -->
By Thread: <-- -->

Searching Fields and Watermarks on Images.



Question:  Does it have to be form fields?  Can you use regular text instead?  With a PdfStamper, you could get the page's "under content" and write your text there.


If you're stuck with a form field, I've got some good news, and some bad news.

Bad News: Form fields can't be underneath anything directly on a page.  All form fields 'hover' over their pages.

Good News: Field data is included in a text search.  I'm not sure, but I don't think this was always the case.

More Bad News: A field with the 'hidden' flag set isn't included in the search.

More Good News:  There is a text 'Render Mode' that is invisible but still selectable.

Even More Bad News:  iText doesn't support rendering form text with a custom render mode (at least not the version I use, but it's a little old).  It could be adapted to do so, but won't out of the box.

And the bad news keeps coming:  Acrobat 7 ignores the 'render mode' in a field's default appearances.


So there are two ways the form field angle will work:
1) The text appears on a solid background so you can set the text color to match it.  The text will then be "invisible".
2) You are overwriting some text on the TIFF and can match it's possition.  Hiding in plain sight.
3) You can use the TIFF image as the 'icon' for a button field.  Fields can be stacked on top of one another, so you can put your text field under the TIFF in a button.



Using regular text would be much easier.


--Mark Storer 
  Senior Software Engineer 
  Cardiff.com

#include <disclaimer> 
typedef std::Disclaimer<Cardiff> DisCard; 



> -----Original Message-----
> From: itext-questions-bounces (at) lists.sourceforge.net
> [mailto:itext-questions-bounces (at) lists.sourceforge.net]On Behalf Of
> Phanindra Mankale
> Sent: Monday, November 13, 2006 2:24 PM
> To: Post all your questions about iText here
> Subject: [iText-questions] Searching Fields and Watermarks on Images.
> 
> 
> Hello,
> 
> I am creating a PDF document using a Tiff Image. and this is 
> okay.  I now need to mark certain parts of this image drawing 
> lines. This is also okay. I could do this easily using 
> itextSharp ( many thanks!)
> 
> I now need to have hidden form fields with some words under 
> these marked parts How do I do this??
> Also these words should be searchable. is this possible??
> 
> Thanks
> 
> ----- Original Message ----
> From: Paulo Soares <psoares (at) consiste.pt>
> To: Post all your questions about iText here 
> <itext-questions (at) lists.sourceforge.net>
> Sent: Monday, November 13, 2006 12:00:06 PM
> Subject: Re: [iText-questions] encoding problem with accent
> 
> 
> The servlet use encoding UTF-8 and you are probably using 
> ISO-8859-1 or the default platform one. Use the appropriate 
> String constructor.
> 
> Paulo
> 
> > -----Original Message-----
> > From: itext-questions-bounces (at) lists.sourceforge.net 
> > [mailto:itext-questions-bounces (at) lists.sourceforge.net] On 
> > Behalf Of Clement Honore
> > Sent: Monday, November 13, 2006 4:43 PM
> > To: itext-questions (at) lists.sourceforge.net
> > Subject: [iText-questions] encoding problem with accent
> > 
> > Hello,
> > 
> > I have a problem with accents when I generate a pdf from a 
> > servlet. Special
> > haracters like accents or "'" are replaces by some bad 
> > characters. For example
> > "é" becomes "é".
> > I haven't the problem when I generate the pdf from a 
> > standalone application,
> > only when I am in a servlet. It is the same if I generate the 
> > pdf in a file or
> > directly in the response stream.
> > I use the standard font HELVETICA.
> > The server is JBoss 3.2.5.
> > 
> > Have you got a solution?
> > 
> > Thanks,
> > 
> > Clement.
> > 
> > 
> > --------------------------------------------------------------
> > -----------
> > Using Tomcat but need to do more? Need to support web 
> > services, security?
> > Get stuff done quickly with pre-integrated technology to make 
> > your job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on 
> > Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;;
> > dat=121642
> > _______________________________________________
> > iText-questions mailing list
> > iText-questions (at) lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > 
> 
> 
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. 
> Pode conter informação confidencial ou legalmente protegida. 
> A incorrecta transmissão desta mensagem não significa a perca 
> de confidencialidade. Se esta mensagem for recebida por 
> engano, por favor envie-a de volta para o remetente e 
> apague-a do seu sistema de imediato. É proibido a qualquer 
> pessoa que não o destinatário de usar, revelar ou distribuir 
> qualquer parte desta mensagem. 
> 
> Disclaimer:
> This message is destined exclusively to the intended 
> receiver. It may contain confidential or legally protected 
> information. The incorrect transmission of this message does 
> not mean the loss of its confidentiality. If this message is 
> received by mistake, please send it back to the sender and 
> delete it from your system immediately. It is forbidden to 
> any person who is not the intended receiver to use, 
> distribute or copy any part of this message.
> 
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions