Re: [iText-questions] Adding signature image to pdf

2011-08-12 Thread Edward Cooke
Ok, thanks. That answered my questions. [https://images.mtnam.org/images/image.aspx/2735/e913f29f/1/100/126/1] Edward Cooke Programmer II, Information Systems +1 801-325-6143 tel +1 801-898-5940 cell eco...@macu.com http://www.macu.com [https://images.mtnam.org/marketing/image.aspx/e913f29f]<

Re: [iText-questions] Adding signature image to pdf

2011-08-12 Thread 1T3XT BVBA
On 12/08/2011 21:03, Edward Cooke wrote: I'm looking to display the image of a signature, without being digitally signed. But then I want the signature image to be removed/invalidated when the pdf changes. And I'm really new to these signatures in the pdf, so I might not understand them. I was

Re: [iText-questions] Adding signature image to pdf

2011-08-12 Thread Edward Cooke
I'm looking to display the image of a signature, without being digitally signed. But then I want the signature image to be removed/invalidated when the pdf changes. And I'm really new to these signatures in the pdf, so I might not understand them. I was under the impression you can store the ima

Re: [iText-questions] Font .isBold() not returning expected value

2011-08-12 Thread 1T3XT BVBA
On 12/08/2011 18:06, aaron.brown wrote: > I am having the same problem. Wondering if anyone has any insight here. Please read chapter 11 of "iText in Action - 2nd Edition" and learn about the difference between a font and a font family. Then read on and learn about the difference between the Fon

Re: [iText-questions] Adding signature image to pdf

2011-08-12 Thread 1T3XT BVBA
On 12/08/2011 19:23, Edward Cooke wrote: Hello all, I'm pretty new to iTextSharp and I'm trying to add the image of a signature, it's a simple windows image, to a PDF signature field. When I go to close the stamper, I get a null reference exception, and the pdf is not written to the memory

Re: [iText-questions] direct printing for itext

2011-08-12 Thread 1T3XT BVBA
Hi Juliana, a blog was written about you today: http://lowagie.com/node/205 You're still not registered on the list. If you don't want to follow the rules for the sake of the iText developers, please do so for your own sake. On 12/08/2011 19:31, juliana.n wrote: > I am generating a PDF document

[iText-questions] direct printing for itext

2011-08-12 Thread juliana.n
I am generating a PDF document using the iText library, it generates a file on disk and then open it with the PDF editor, but I want to send to the printer is immediate, without my having to create a pdf on the disk, it's possible? -- View this message in context: http://itext-general.2136553.n4.

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread Kevin Day
Bah - you've got the change log entry where the fix was made, just do a tree wide compare of that version of the entire repo to the previous version. You'll find all the modified files, and what was changed in them. There's no need to do file-by-bile comparison (which I agree *would* require a so

[iText-questions] Adding signature image to pdf

2011-08-12 Thread Edward Cooke
Hello all, I'm pretty new to iTextSharp and I'm trying to add the image of a signature, it's a simple windows image, to a PDF signature field. When I go to close the stamper, I get a null reference exception, and the pdf is not written to the memory stream. All the sample's I've found include se

Re: [iText-questions] Font .isBold() not returning expected value

2011-08-12 Thread aaron.brown
Adam Mork wrote: > > Hi, > > I create a Font using the below call > > Font font = FontFactory.getFont(fontName, BaseFont.IDENTITY_H, fontLevel > == ProcessPdfAPI.FONT_EMBEDED, fontSize, style); > > style == Font.BOLD, and I have verified this in the debugger, but a call > to font.isBold() on t

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread NerdManJr
Thanks guys. I'm looking at the SVN blog site in order to get help from it. And you're right, this is a large project, but this one aspect is messing up. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Fixing-EOFException-In-Version-2-0-8-tp3736353p3739572.html Sent fr

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread NerdManJr
Changes made by Kevin Day Fix bug that caused end of file errors when parsing an object at very end of an object stream. And I did what you said and created the small app that read the bytes in and wrote it to another file. Sadly the %%EOF was there in the newly created text file. So going to

Re: [iText-questions] how to retreive a paragraph list or chapter/section list from existing pdf document

2011-08-12 Thread vfeki
Hi, Thanks!! Yes, you're right. I've read a bit more about PDFs, and with no structure it is impossible. But your answer did give me some directions to research further Thanks!! -- View this message in context: http://itext-general.2136553.n4.nabble.com/how-to-retreive-a-paragraph-list-or-cha

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread Balder VC
On 12/08/2011 15:34, 1T3XT BVBA wrote: Sure, but not that obvious for a large project, unless you already know where to look. This could help understanding the structure of svn http://www.redlab.be/blog/2011/developer-guide/ (however it has changed a bit since 'wayback long time ago prehistoric

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread 1T3XT BVBA
On 12/08/2011 15:24, Kevin Day wrote: > Not to point out the obvious or anything, but why don't you do a diff of the > two versions of code and see what the differences were between the unfixed > and fixed version? That is what svn is for, after all... You can look at > the commit history to find

Re: [iText-questions] New XmlWorker port to c#?

2011-08-12 Thread Balder VC
On 12/08/2011 15:17, 1T3XT BVBA wrote: On 12/08/2011 15:00, Balder VC wrote: char[] or String ? What do you like most to work with (I think it only matters if you would extend the XMLWorker)? I'd say String (and internally maybe a StringBuffer here and there). Internally it's StringBuilder ;)

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread Kevin Day
Not to point out the obvious or anything, but why don't you do a diff of the two versions of code and see what the differences were between the unfixed and fixed version? That is what svn is for, after all... You can look at the commit history to find the commit that fixed this issue you think mi

Re: [iText-questions] New XmlWorker port to c#?

2011-08-12 Thread 1T3XT BVBA
On 12/08/2011 15:00, Balder VC wrote: > char[] or String ? What do you like most to work with (I think it only > matters if you would extend the XMLWorker)? I'd say String (and internally maybe a StringBuffer here and there). A String is aware of the encoding; char[] isn't. -

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread 1T3XT BVBA
On 12/08/2011 13:44, NerdManJr wrote: > which is where I think the problem was fixed Before you start that effort, check if the problem is caused by the %%EOF. If that's the case, writing a small app that preprocesses the PDFs could do the trick. If that's not the case, we don't know what fixed th

Re: [iText-questions] New XmlWorker port to c#?

2011-08-12 Thread Balder VC
On 11/08/2011 8:12, 1T3XT BVBA wrote: On 10/08/2011 23:34, ToddV wrote: Was this work ever completed? It was, but the release was postponed because the API of the Java XML Worker hasn't been finalized yet. For instance: working with pipelines, byte[] vs char[],... byte[] has been thrown in the

Re: [iText-questions] PDF/A-2 support issue in iText...

2011-08-12 Thread Leonard Rosenthol
iText (and especially one as OLD as what you are using!!) only supports PDF/A-1, so you will need to add in all the necessary bits... Do you actually have a copy of ISO 19005-2:2011? If not, the first thing you are going to need to do is get yourself a copy. Second, after you've read and digeste

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread TvT
> Thank you tons for the heads up. I noticed in the logs that you > guys had fixed the problem in one of the releases, I was trying to actually > find a way of doing it myself based on the 2.0.8 version, but didn't know > what exactly you guys had changed from the 2.0.8 to the 2.6.1 versions. I gue

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread Balder VC
On 12/08/2011 13:44, NerdManJr wrote: Hello there. Thank you tons for the heads up. I noticed in the logs that you guys had fixed the problem in one of the releases, I was trying to actually find a way of doing it myself based on the 2.0.8 version, but didn't know what exactly you guys had change

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread NerdManJr
Hello there. Thank you tons for the heads up. I noticed in the logs that you guys had fixed the problem in one of the releases, I was trying to actually find a way of doing it myself based on the 2.0.8 version, but didn't know what exactly you guys had changed from the 2.0.8 to the 2.6.1 versions.

[iText-questions] FYI: Why your mail doesn't turn up on the mailing list

2011-08-12 Thread 1T3XT BVBA
If you've posted a mail to the list and - it doesn't turn up on the archives, or - it says "This post has NOT been accepted by the mailing list yet." Please read this blog post: http://lowagie.com/node/205 -- Get a FREE DO

Re: [iText-questions] Api doc simple bookmark

2011-08-12 Thread 1T3XT BVBA
On 12/08/2011 11:06, John Renfrew wrote: > In the doc > http://api.itextpdf.com/itext/com/itextpdf/text/pdf/SimpleBookmark.html > The instruction about the color value needs to say it takes 3 floats > separated by spaces 'with values in the range 0.0 to 1.0' OK, it's taken care of for the next rel

[iText-questions] PDF/A-2 support issue in iText...

2011-08-12 Thread myworld.amol
Hello Support, I am trying to generate PDF/A using iText2.1.7 version jar. There are two standards for PDF/A. 1) PDF/A-1 is based on the PDF Reference Version 1.4 from Adobe Systems Inc 2) PDF/A-2 is based on ISO 32000-1 - PDF 1.7 and is defined by ISO 19005-2:2011 I am able to generate PDF/A-1 le

[iText-questions] Api doc simple bookmark

2011-08-12 Thread John Renfrew
In the doc http://api.itextpdf.com/itext/com/itextpdf/text/pdf/SimpleBookmark.html The instruction about the color value needs to say it takes 3 floats separated by spaces 'with values in the range 0.0 to 1.0' Sent while on the move

[iText-questions] Fwd: PdfConcatenate

2011-08-12 Thread John Renfrew
Thank you Brilliant answer.. Sent while on the move Begin forwarded message: > From: 1T3XT BVBA > Date: 12 August 2011 08:21:31 GMT+01:00 > To: Post all your questions about iText here > > Subject: Re: [iText-questions] PdfConcatenate > Reply-To: itext-questions@lists.sourceforge.net >

Re: [iText-questions] SubForm and Field Additions

2011-08-12 Thread 1T3XT BVBA
On 11/08/2011 22:30, Sanjeev Sharma wrote: > I have tried the following and it did not do any better That's strange. Stuff like this works for me. For instance: File1.pdf is the PDF with the hidden field (with writer.addAnnotation()). File2.pdf is the PDF where I change the content of the hidden fi

Re: [iText-questions] Fixing EOFException In Version 2.0.8

2011-08-12 Thread 1T3XT BVBA
On 11/08/2011 22:08, NerdManJr wrote: > Here is the code I am using. I know the software is outdated, that is why I > continued to say I'm forced to use the 2.0.8 version. Check the PDF that causes the EOFException. Does it end with %%EOF? If not, remove all the bytes that follow the last occurence

Re: [iText-questions] PdfConcatenate

2011-08-12 Thread 1T3XT BVBA
On 11/08/2011 21:11, John Renfrew wrote: > Just changed my code over to use PdfConcatenate instead of PdfSmartCopy and > it's really tightened things up, great improvement > > Can you tell me what the 'redundant content' smart parameter looks for inside > the files?? First some general info: A P