Re: [iText-questions] Image added to PdfStamper gives Error exists on this page.

2011-05-05 Thread 1T3XT BVBA
Op 5/05/2011 21:57, ptownsen schreef: > I have discovered the source of the error in my code. I call the method: > > image.setTransparency(new int[] {50,255}); > > in my code. This is probably unnecessary since I later call > image.setFillOpacity(0.3f)) which, I think, does the same thing. Anywa

Re: [iText-questions] itext, coldFusion, annotations and Pop-Up Notes

2011-05-05 Thread Mark Storer
You probably just want the /Subject: PdfString subj = annot.getAsString(PdfName.SUBJECT); String subjStr = subj.toString(); subjStr = subjStr.substring(subjStr.indexOf('-')); You'll have to translate that to CF-speak, but I think you get the idea. --Mark Storer Senior Software Engineer

Re: [iText-questions] itext, coldFusion, annotations and Pop-Up Notes

2011-05-05 Thread Mark Storer
Here's the edited dump from an internal tool of one of those annotations: 1 (CosDict& 35) 2 AP (CosDict) 291 C (CosArray) 295 CreationDate = D:20110504082511-05'00' (CosString) 296 F = 4 (CosInteger) 297 M = D:20110504082511-05'00' (CosString) 298 NM = 05ff164d-f023-4832-9f58-497e4a7f2e50 (CosStrin

Re: [iText-questions] Image added to PdfStamper gives Error exists on this page.

2011-05-05 Thread ptownsen
I have discovered the source of the error in my code. I call the method: image.setTransparency(new int[] {50,255}); in my code. This is probably unnecessary since I later call image.setFillOpacity(0.3f)) which, I think, does the same thing. Anyway, when I remove the setTransperancy() call, the

Re: [iText-questions] itext, coldFusion, annotations and Pop-Up Notes

2011-05-05 Thread 1T3XT BVBA
Op 5/05/2011 21:01, Brendan Ganning schreef: > I agree, I don't mind parsing out the values. If I have the full > content stream, I would just parese it out and get this nissianIQi and > parse it. I originally was able to read in the PDF via coldfusion's > pdf tag. However after someone did a

Re: [iText-questions] itext, coldFusion, annotations and Pop-Up Notes

2011-05-05 Thread Brendan Ganning
I agree, I don't mind parsing out the values. If I have the full content stream, I would just parese it out and get this nissianIQi and parse it. I originally was able to read in the PDF via coldfusion's pdf tag. However after someone did a save as on the pdf I lost part of the stream. Forgive m

Re: [iText-questions] itext, coldFusion, annotations and Pop-Up Notes

2011-05-05 Thread 1T3XT BVBA
Op 5/05/2011 20:10, Brendan Ganning schreef: > As I stated I can get the comments, but ideally I would like to get > the values 2N1, 01H, 01K Well, those values are to be retrieved from this content stream: q 0 0 0 0 k 1 i /RelativeColorimetric ri /GS12 gs 82.192 43.137 m 82.192 21.8718 64.9532

Re: [iText-questions] iText fill XFA Form and Digital signing

2011-05-05 Thread Cosmin Ciuraru
In the actual production environment I am not in control of the form design, so cannot change it. I don't mean to be stubborn, but, as long as if I complete the field with Adobe Reader and save the document, it tells me that the signature is valid, but changes were made since the last signature. I

Re: [iText-questions] Image added to PdfStamper gives Error exists on this page.

2011-05-05 Thread Balder
On 5/05/2011 20:11, 1T3XT BVBA wrote: Op 5/05/2011 19:58, ptownsen schreef: I am currently using version 5.06 of iText. Is this an old version? Where can I get the new version? No, that's the latest version. The new version will be released tomorrow. I assumed you were using an old version

Re: [iText-questions] Image added to PdfStamper gives Error exists on this page.

2011-05-05 Thread 1T3XT BVBA
Op 5/05/2011 19:58, ptownsen schreef: > I am currently using version 5.06 of iText. Is this an old version? Where > can I get the new version? No, that's the latest version. The new version will be released tomorrow. I assumed you were using an old version because the newer versions throw an e

Re: [iText-questions] itext, coldFusion, annotations and Pop-Up Notes

2011-05-05 Thread Mark Storer
May we see the PDF? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Brendan Ganning [mailto:brendan.gann...@gmail.com] Sent: Thursday, May 05, 2011 10:04 AM To: i

Re: [iText-questions] Image added to PdfStamper gives Error exists on this page.

2011-05-05 Thread ptownsen
I am currently using version 5.06 of iText. Is this an old version? Where can I get the new version? I have added the restoreState() method call in my code but I still get the same error when opening the resultant pdf in Adobe Reader. . PdfGState gstate = new

[iText-questions] itext, coldFusion, annotations and Pop-Up Notes

2011-05-05 Thread Brendan Ganning
I am trying to grab either the text or stamp information from a pdf through coldfusion. Right now I have a PDF with 3 Stamps and 1 Comment box. Each stamp is composed of two elements. A text piece and a circle stamp with text such as 2d0f. I am trying to get the stamp info. I am close, but I must

Re: [iText-questions] Image added to PdfStamper gives Error exists on this page.

2011-05-05 Thread 1T3XT BVBA
Op 5/05/2011 18:02, ptownsen schreef: > I have written an small iText program to watermark our internal pdf files. I > am using the PdfStamper and Image classes to add the watermark. The > resulting pdf displays an error pop-up in Adobe Reader (but not in Google > Chrome or PDF Exchange Viewer) a

[iText-questions] Image added to PdfStamper gives Error exists on this page.

2011-05-05 Thread ptownsen
I have written an small iText program to watermark our internal pdf files. I am using the PdfStamper and Image classes to add the watermark. The resulting pdf displays an error pop-up in Adobe Reader (but not in Google Chrome or PDF Exchange Viewer) and the added image is not visible. The code s

Re: [iText-questions] URGENT - Question regarding iText version 2.1.7

2011-05-05 Thread Balder
On 5/05/2011 17:19, TvT wrote: Hi, yeah it is free according to LGPL / MPL. Bruno removed all old java versions from sourceforge. (probably due to support and money reasons) they are still there if you know where to look But if you do a quick google search Google is your friend ! And Bing ca

Re: [iText-questions] URGENT - Question regarding iText version 2.1.7

2011-05-05 Thread TvT
Hi, yeah it is free according to LGPL / MPL. Bruno removed all old java versions from sourceforge. (probably due to support and money reasons) But if you do a quick google search it is still available at lots of pages, e.g. here: http://olex.openlogic.com/packages/itext/2.1.7 Regards, ToM 2011/5

Re: [iText-questions] URGENT - Question regarding iText version 2.1.7

2011-05-05 Thread 1T3XT BVBA
Op 5/05/2011 15:55, Azevedo, Renata schreef: Hello, I need to know if version 2.1.7 is still available, how can I get it and if it is free of charge. You shouldn't use it. Even if you'd use if free of charge, you'd waste money on fixing bugs. You'd better use the latest iText version! Or wa

[iText-questions] URGENT - Question regarding iText version 2.1.7

2011-05-05 Thread Azevedo, Renata
Hello, I need to know if version 2.1.7 is still available, how can I get it and if it is free of charge. Thank you! Regards, Renata de Azevedo Natalino (My Site) Contract Analyst | Contract Administration-SA Global Strategic Service

Re: [iText-questions] iText fill XFA Form and Digital signing

2011-05-05 Thread Leonard Rosenthol
If you want to only sign the data - then use a data signature. If you sign the entire form, then modifying the XFA will cause the results you are obtaining. From: Cosmin Ciuraru [mailto:cosmin.ciur...@gmail.com] Sent: Thursday, May 05, 2011 1:11 AM To: Post all your questions about iText here Su

Re: [iText-questions] iText fill XFA Form and Digital signing

2011-05-05 Thread Cosmin Ciuraru
I compared the xdp of the file filled in with iText and the file filled in with Adobe Reader. There are two differences: With Adobe: http://www.xfa.org/schema/xfa-form/2.8/"; checksum="q2aZZ1c6RqxVGD3ZxOOFJIOhtN4="> with iText: http://www.xfa.org/schema/xfa-form/2