Re: [iText-questions] Getting the document size before closing the document when using DirectContent.AddTemplate (C#)

2012-01-25 Thread 1T3XT BVBA
On 25/01/2012 22:04, Leonard Rosenthol wrote: It's IMPOSSIBLE to get the exact size of the document without actually writing it, since compression is used as part of the writing process -- and you can't know the output of a compression operation until you actually perform it. Correct. Moreove

Re: [iText-questions] Earliest Versions of javac to use with itext versions?

2012-01-25 Thread Jeff Sadowski
On Wed, Jan 25, 2012 at 5:02 AM, Balder VC wrote: > I thought DEP can be completely disabled in windows. Perhaps that helps > your case? > > It might, thank you for that I had run out of options. This gives me so things to try. > > 5.1.3 needs at least Java 5. Works also with Java 6, I haven't t

Re: [iText-questions] Getting the document size before closing the document when using DirectContent.AddTemplate (C#)

2012-01-25 Thread Leonard Rosenthol
It's IMPOSSIBLE to get the exact size of the document without actually writing it, since compression is used as part of the writing process – and you can't know the output of a compression operation until you actually perform it. You could come up with some "heuristics" for your specific pages a

Re: [iText-questions] Digital signing and embedding certificate CRL

2012-01-25 Thread Leonard Rosenthol
Post a PDF that demonstrates the situation. From: Dejan Milenković mailto:sandu...@gmail.com>> Reply-To: Post here mailto:itext-questions@lists.sourceforge.net>> Date: Wed, 25 Jan 2012 06:39:58 -0800 To: Post here mailto:itext-questions@lists.sourceforge.net>> Subject: [iText-questions] Digital

Re: [iText-questions] Trying to post an iText question

2012-01-25 Thread Amedee Van Gasse
On Wed, January 25, 2012 17:27, Daniel Lopez wrote: > What all should I do, to be able to post an iText question? I have > subscribed and logged in to the mailing list Congratulations, you just asked your first question on the iText mailing list. What is your second question? -- Amedee --

[iText-questions] Receive blank image in pdf

2012-01-25 Thread danielmorozoff
Hi there guys, I've been fighting with this for some time and have come to some interesting findings. So I am trying to render images from a url that I have loaded into a String object. I am using a basic code, here is a snippet... Document do = new Document(); doc.open(); StringReader sr= new S

Re: [iText-questions] Dynamic Table that has a page break, incorrectly adds an extra page break

2012-01-25 Thread d2thalo
I was unaware, Thank you for the quick responses. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Dynamic-Table-that-has-a-page-break-incorrectly-adds-an-extra-page-break-tp4327729p4327844.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Dynamic Table that has a page break, incorrectly adds an extra page break

2012-01-25 Thread iText Info
Op 25/01/2012 18:02, d2thalo schreef: > I am using 1.4.6, do you think that is the problem? That version dates from October 27, 2006. That's more than 5 years ago. >Table degreesTable = new Table(3); The Table class has been removed from iText more than 2 years ago. Please upgrade. Your prob

[iText-questions] want to verify a pdf signed by timestamp

2012-01-25 Thread Christian Fritschka
Hi Guys, I have a PDF which is signed with a timestamp. When I try to verify the signature I get the message that this signature is not valid. Especially when I try to read the signatures date - it's null. See the following code and find the attached pdf. I use Java 1.5 and iText 5.1.3 Thanks

Re: [iText-questions] Dynamic Table that has a page break, incorrectly adds an extra page break

2012-01-25 Thread d2thalo
I am using 1.4.6, do you think that is the problem? Here is a small sample of the table that causes the problem: stmt = conn.prepareStatement ("blah blah blah" ); rs = stmt.executeQuery();

Re: [iText-questions] Dynamic Table that has a page break, incorrectly adds an extra page break

2012-01-25 Thread iText Info
Op 25/01/2012 17:37, Daniel Lopez schreef: > Hello all, > > I am having trouble using a dynamic table in iText. The table spans > across one page break just fine, but then once the table ends, it will > not write the rest of the document on that same page, rather it will > write it on a new pag

[iText-questions] Trying to post an iText question

2012-01-25 Thread Daniel Lopez
What all should I do, to be able to post an iText question? I have subscribed and logged in to the mailing list -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Mic

[iText-questions] Getting the document size before closing the document when using DirectContent.AddTemplate (C#)

2012-01-25 Thread Paul Sachs
Hi, I am adding between 1000 and 5000 pages to a PdfWriter. Each page is added by using writer.DirectContent.AddTemplate(writer.GetImportedPage(reader, pageNumber), a, b, c, d, e, f) I am using AddTemplate because I may need to rotate a page by 180 depending on a test. I would like to know

[iText-questions] Digital signing and embedding certificate CRL

2012-01-25 Thread Dejan Milenković
Hi, I'm writing application which is using certificate on smart card to sign .pdf file (using provided .NET 2.0 example). Also it should embed certificate CRL. When I open generated .pdf from Adobe Reader X and look at Signature properties->Signer->Show certificate->Revocation it show it is usin

Re: [iText-questions] Looking for source code for iText 1.5.4 (anditextasian-1.5.2.jar)

2012-01-25 Thread Scott Hamilton
Awesome, thanks! From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Wednesday, January 25, 2012 2:51 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Looking for source code for iText 1.5.4 (anditextasian-1.5.2.jar) It's all in the SVN. See http://itext.svn.source

Re: [iText-questions] Earliest Versions of javac to use with itext versions?

2012-01-25 Thread Balder VC
I thought DEP can be completely disabled in windows. Perhaps that helps your case? 5.1.3 needs at least Java 5. Works also with Java 6, I haven't tried it with Java7 yet but that shouldn't be a problem I think. The "strings sent from the code under java 7.2 get the whitespace removed" must be s

Re: [iText-questions] Maths Square Root

2012-01-25 Thread Mathias Tausig
If you really want to create math-sheet, I would suggest that you rather use LaTeX instead. It is a markup language that is specifically made for creating scientific papers. regards Mathias On 2012-01-24 22:40, PaulB Brassington wrote: > Hi, > > > > I’m trying to produce a square root symbol

Re: [iText-questions] Maths Square Root

2012-01-25 Thread Leonard Rosenthol
You have two choices. 1. Get a custom font that includes the symbols you need 2. Draw the line yourself on top of the symbols Another option is find a Math layout engine that draws to a Java2D surface, which can then be easily converted to PDF. Leonard From: PaulB Brassington mailto:pa...

[iText-questions] Maths Square Root

2012-01-25 Thread PaulB Brassington
Hi, I'm trying to produce a square root symbol which can extend. Or Or Anyone who could suggest how to do this then please reply as I'm trying to produce maths sheets for my pupils. Warm Regards Paul Brassington image001.wmz Description: application/ms-wmz