Leonard,
With reference to my earlier question, if it is possible to specify a strike
through font, how can I set the font of a form field to be strike through ?
I am setting the form fields in my servlet and I am redirecting the pdf as
an attachment to the users browser. I am herewith providing some sample
code:
ByteArrayOutputStream bos = new ByteArrayOutputStream();
PdfStamper stamp = new PdfStamper(reader, bos);
AcroFields form = stamp.getAcroFields();
form.setField("Name", "Dayal");
(For eg: How can I set a strike through font for the field "Name" above)
Please advise
Dayal
----- Original Message -----
From: "Leonard Rosenthol" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>; "'Dayal Murukutla'"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, November 14, 2003 10:17 PM
Subject: RE: [iText-questions] strike through font
> At 3:45 PM +0000 11/14/03, Paulo Soares wrote:
> >The PDF specs don't allow that. In Acrobat 6 it's possible to have bold
and
> >italic fields but that's all.
> >
>
> Not true.
>
> An Acrobat 6 rich text field supports most of the text
> attributes of HTML/CSS including strike through, sub/superscript, etc.
>
>
> Leonard
> --
> --------------------------------------------------------------------------
-
> Leonard Rosenthol
<mailto:[EMAIL PROTECTED]>
> Chief Technical Officer <http://www.pdfsages.com>
> PDF Sages, Inc. 215-629-3700 (voice)
> 215-629-0789 (fax)
>
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions