Re: [iText-questions] text color changes when adding PNG image

2012-05-25 Thread newbie2itext
Thanks for the reply. So what I'm doing is 1. use PdfStamper to read an existing pdf and add some formfields onto it 2. use PdfStamper to fill out the formfields in BaseColor.Blue, add a PNG image on the first page and flatten the document. All went well except the text I filled in the page with

[iText-questions] text color changes when adding PNG image

2012-05-24 Thread newbie2itext
Basically just a repost of this, but the codes in last post is not working for me... And I search through the web, cannot find a solution either... Is there are something missing in his codes? Should I place his codes before or after my codes? http://itext-general.2136553.n4.nabble.com/Problem-wi

Re: [iText-questions] bug on RadioCheckField.CheckType?

2011-05-12 Thread newbie2itext
RadioCheckField.cs function "protected PdfFormField GetField(bool isRadio)" line# 358 -- View this message in context: http://itext-general.2136553.n4.nabble.com/bug-on-RadioCheckField-CheckType-tp3516150p3517728.html Sent from the iText - General mailing list archive at Nabble.com. -

[iText-questions] bug on RadioCheckField.CheckType?

2011-05-11 Thread newbie2itext
I'm using iTextSharp 5.05. I tried to set CheckType to be non-default type but failed to do it. My suspicion is that in RadioCheckField.GetField(), the value is reset all the time. I guess the solution is delete the statement "CheckType = TYPE_CHECK;"? -- View this message in context: http://i

Re: [iText-questions] RemoveField(key, page) with same-name textfields?

2011-01-21 Thread newbie2itext
Thanks for the reply BVBA. I guess I'll pick the solution2 you offered. I'm OK to deal with position examination. So where can I dig the list of individual-fields? (ie, in the example above, 'left#0', 'left#1' and 'left#2') Is it in the 'Item.widgets'? Thanks. -- View this message in context:

Re: [iText-questions] RemoveField(key, page) with same-name textfields?

2011-01-20 Thread newbie2itext
test document: http://itext-general.2136553.n4.nabble.com/file/n3228092/sample.pdf sample.pdf -- View this message in context: http://itext-general.2136553.n4.nabble.com/RemoveField-key-page-with-same-name-textfields-tp3228086p3228092.html Sent from the iText - General mailing list archive at N

[iText-questions] RemoveField(key, page) with same-name textfields?

2011-01-20 Thread newbie2itext
Guys, how does RemoveField(key, page) handle text fields with the same name on the same pages? Test Code: -- List keysColl = new List(acroFields.Fields.Keys); foreach (string key in keysColl) { if (acroFields.GetField(key) != null) {

Re: [iText-questions] Failed to run itext-rups-2.1.7

2011-01-11 Thread newbie2itext
Thx, BVBA. I thought http://mvnrepository.com/artifact/com.lowagie/itext-rups has the updated files. Anyway, I build the most updated itext-rups with NetBeans and attach it here just in case some one want to use rups but doesn't have JDK. NOTE: JRE is required and don't move the jar's in the l

[iText-questions] Failed to run itext-rups-2.1.7

2011-01-11 Thread newbie2itext
I downloaded the current version of RUPS itext-rups-2.1.7.jar and also downloaded all the dependencies in the Class-Path in .MF file(see below for the list). Then I put all the jar's in the same folder, but when I run in the command line: java -jar "**Folder_Name**\itext-rups-2.1.7.jar" the jav

Re: [iText-questions] Detect form fields?

2011-01-10 Thread newbie2itext
Thanks for the reply. 1T3XT BVBA wrote: > > >> 1. Can we detect a textfield with 'underline' like 'STATE OF NORTH >> CAROLINA'? >> 2. Can we detect a textfield with 'box' like 'Court Day Of Week' > No. > > Yes, the situation is that the pdf doesn't have any AcroForm technology, XFA or a hy

[iText-questions] Detect form fields?

2011-01-10 Thread newbie2itext
Hey guys, is there a way that we can detect form fields in a pdf document with iText? I would like iText to impliment a functionality just like Acrobat Form Field Recognition: (Advanced > Accessibility > Run Form Field Recognition) Attached are two PDFs that are before and after the Recognition