I'm dynamically creating PDFs in Java, and am using a marked-up PDF. I have
a lot of text field AcroFields.

I need to be able to do some custom formating inside of these fields,
including the ability to bold certain lines of text, indent, etc. I am able
to set the field's properties so it is using the correct font, size, etc.

I had the fields set to Plain Text, which I figured was my problem in being
able to customize text in the AcroFields. When the field is set to Plain
Text, I am able to use "\t" and "\n" for tab and new line. That is about all
the formatting I know here.

I've tried changing the same field to Rich Text, including setting the Data
Format to 'XHTML'. Since setting to Rich Text, I haven't been able to
manipulate this field how I'd hoped. I tried using RTF (Rich Text Format) to
bold text (ie. /b, {/bText to Bold}), but have had no luck.

Can someone point me to, or give me some quick examples of how I can better
utilize the Rich Text attribute of a Text Field AcroField?

I mainly want to be able to have some lines bolded and the ability to
indent.

Thanks,

Andy
-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to