Re: [iText-questions] Line Chart/Bar Chart in PdfPTable

2012-02-01 Thread 1T3XT BVBA
On 1/02/2012 21:04, Sanjeev Sharma wrote: Hi: I am trying to add a JFreeChart item into the PdfPCell of a PdfPTable. I am not sure I an do this. The JFreeChart examples are to add a chart to the entire document. I want it in a particular cell of my table. Can you be of any guidance? On p48

[iText-questions] Line Chart/Bar Chart in PdfPTable

2012-02-01 Thread Sanjeev Sharma
Hi: I am trying to add a JFreeChart item into the PdfPCell of a PdfPTable. I am not sure I an do this. The JFreeChart examples are to add a chart to the entire document. I want it in a particular cell of my table. Can you be of any guidance? Thanks Sanjeev Sharma Technical Leader --

Re: [iText-questions] Submitting code for inclusion in trunk.

2012-02-01 Thread 1T3XT BVBA
On 1/02/2012 19:40, David Vedvick wrote: > How do I go about submitting code for inclusion into the trunk? It depends on the portion of code you're submitting. A small bugfix can be posted to the list (the same way you posted your question). A large chink of code requires you to sign a Contributor

[iText-questions] PDF Cell 'splitting' C#

2012-02-01 Thread Anthony Eckstrand
Hi, I am using the C# version of your software with asp.net. I create a PDF with a few cells on the top of the page and want to add a cell around the middle of the page. The problem I'm having is that if that cell is too large to fit on the first page it automatically forces everything to the

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread mkl
Raffaele, Leonard Rosenthol-3 wrote > It looks like you tried to do a CERTIFYING signature using a TIMESTAMP > signature as the SECOND signature. You can't mix and match that. To clean up this mix, simply start by removing the line sap.CertificationLevel = PdfSignatureAppearance.CERTIFIED_NO_CH

Re: [iText-questions] Setting font permissions

2012-02-01 Thread Salak,Jeff
Thanks again Leonard - that was our last resort but looks like we've run out of alternatives. From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Wednesday, February 01, 2012 10:44 AM To: Post here Subject: Re: [iText-questions] Setting font permissions Ah

Re: [iText-questions] SunPKC11 Exception when signing PDF

2012-02-01 Thread mkl
Valentin, mkl wrote > I had a look at the P11Signature class. It looks like it requests a > session upon initialization and releases it upon sign() or verify(). > Especially I didn't see any session release upon finalization. Other sources I just stumbled upon do release the session in a finalize

Re: [iText-questions] Setting font permissions

2012-02-01 Thread Leonard Rosenthol
Ah – got it. Then I don't see what you can do other than have your customers install those fonts. Leonard From: "Salak,Jeff" mailto:jsal...@travelers.com>> Reply-To: Post here mailto:itext-questions@lists.sourceforge.net>> Date: Wed, 1 Feb 2012 08:11:24 -0800 To: Post here mailto:itext-questi

Re: [iText-questions] SunPKC11 Exception when signing PDF

2012-02-01 Thread mkl
Valentin, Valentin Ivanov wrote > I understand, but how can I clear the memory? I had a look at the P11Signature class. It looks like it requests a session upon initialization and releases it upon sign() or verify(). Especially I didn't see any session release upon finalization. Thus, if there a

Re: [iText-questions] Setting font permissions

2012-02-01 Thread Salak,Jeff
We are not adding / embedding any fonts or changing any font dictionaries existing in the original documents. Our processing is fairly simple using PdfCopy to concatenate the requested documents and bookmarks. The text areas within the original document that showed "Cannot embed font" have a "

Re: [iText-questions] SunPKC11 Exception when signing PDF

2012-02-01 Thread Valentin Ivanov
I forgot to say something which by the way is very strange for me. I sign PDF, PKCS7, XADES, OPEN XADES with one Provider. ONLY with PDF signing i get exception. That is the reason I thought iText might be involved in this. Have no explanation why whith the others signings i have no problems --

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Raffaele
Don't worry jsalak :) jsalak wrote > > Sorry Raffaele - my mistake - wrong thread > > -Original Message- > From: Raffaele [mailto:supersayan79@] > Sent: Wednesday, February 01, 2012 8:21 AM > To: itext-questions@.sourceforge > Subject: Re: [iText-questions] Insert TimeStamping with ex

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Leonard Rosenthol
It looks like you tried to do a CERTIFYING signature using a TIMESTAMP signature as the SECOND signature. You can't mix and match that. Leonard On 2/1/12 2:53 PM, "Raffaele" wrote: >Yes, >in attached!!! > >Can you explain whats wrong??? > >Thanks!! >http://itext-general.2136553.n4.nabble.com/f

Re: [iText-questions] Setting font permissions

2012-02-01 Thread Leonard Rosenthol
You mean don't use fonts with iText that can't be edited?? It's your software that is driving iText – just don't pass any such fonts. Leonard From: "Salak,Jeff" mailto:jsal...@travelers.com>> Reply-To: Post here mailto:itext-questions@lists.sourceforge.net>> Date: Wed, 1 Feb 2012 05:34:20 -0800

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Greg Bloom
Unsubscribe -Original Message- From: Raffaele [mailto:supersaya...@libero.it] Sent: Wednesday, February 01, 2012 9:21 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Insert TimeStamping with external digest Hi jsalak, sorry but i dont' understand!!! :( -- V

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Salak,Jeff
Sorry Raffaele - my mistake - wrong thread -Original Message- From: Raffaele [mailto:supersaya...@libero.it] Sent: Wednesday, February 01, 2012 8:21 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Insert TimeStamping with external digest Hi jsalak, sorry but

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Raffaele
Hi jsalak, sorry but i dont' understand!!! :( -- View this message in context: http://itext-general.2136553.n4.nabble.com/Insert-TimeStamping-with-external-digest-tp4344945p4348010.html Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] SunPKC11 Exception when signing PDF

2012-02-01 Thread Valentin Ivanov
I understand, but how can I clear the memory? sun.security.Provider have one method clear(), and sun.security.pkcs11.SunPKCS11 has no method for releasing the resources. I can not close the session explicitly! I am doing the sign in a method so when the method is done all variables are destroyed.

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Salak,Jeff
This is what is displayed ( "Cannot embed font" permission ) on the font when using the Touchup Text tool in some of our documents before processing with IText. After processing the document with Itext the permission in the same text area is "Can Embed Font". If we do a Touchup Text edit on th

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Raffaele
Yes, in attached!!! Can you explain whats wrong??? Thanks!! http://itext-general.2136553.n4.nabble.com/file/n4347907/TimeStamped.pdf TimeStamped.pdf -- View this message in context: http://itext-general.2136553.n4.nabble.com/Insert-TimeStamping-with-external-digest-tp4344945p4347907.html Sent

Re: [iText-questions] Setting font permissions

2012-02-01 Thread Salak,Jeff
Thanks Leonard - I believe that gets to the heart of what we are asking. As we processing documents with IText and encounter fonts that are not installed on our customers machines is there a mechanism to flag or set the permission as non embeddable? From: Leona

Re: [iText-questions] Setting font permissions

2012-02-01 Thread Leonard Rosenthol
In order to edit text in a PDF using Adobe Acrobat, you MUST have the original font installed on your computer. We (Adobe) can NOT LEGALLY use the embedded font for editing purposes – only installed fonts. Leonard From: "Salak,Jeff" mailto:jsal...@travelers.com>> Reply-To: Post here mailto:it

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Leonard Rosenthol
Don't know - can you provide the PDF? On 2/1/12 1:06 PM, "Raffaele" wrote: >Hi Michael and Leonard, > >in effect in Acrobat Reader X there are 2 icon: >- one for the signature >- one for timestamping > >Now the signature field as the behavior >http://itext-general.2136553.n4.nabble.com/file/n434

[iText-questions] Setting font permissions

2012-02-01 Thread Salak,Jeff
We have a pdf warehouse application which allows users to checkout and modify documents. Some edits are performed using the Touch-up Text tool. For large documents we consistently see a "Replacing Font" message occur in Acro Pro when the user saves the doc. We have brought this to the attenti

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Raffaele
Hi Michael and Leonard, in effect in Acrobat Reader X there are 2 icon: - one for the signature - one for timestamping Now the signature field as the behavior http://itext-general.2136553.n4.nabble.com/file/n4347636/01-02-2012_13-04-42.png As you can see, there is the "Validità sconosciuta ->

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread mkl
Leonard, Leonard Rosenthol-3 wrote > A TimeStampSignature is a new type of signature (as defined in PAdES Part > 4 or ISO 32000-2), which is why Acrobat shows it as a separate signature > with a unique type. It's not the same as a standard signature with an > embedded timestamp. Yes, it is the r

Re: [iText-questions] SunPKC11 Exception when signing PDF

2012-02-01 Thread mkl
Valentin, as Andreas mentioned before, iText does not do any PKCS11 session handling. More in detail: Your stack trace > java.security.ProviderException: Could not obtain session > at > sun.security.pkcs11.SessionManager.getOpSession(SessionManager.java:130) > at sun.security.pkcs11.Toke

Re: [iText-questions] PDF Creation for HTML String with inline styles

2012-02-01 Thread Balder VC
I don't think the 'type' attribute is supported, try it with the css variant to set a list style type. On 01/02/12 11:35, Prabhu R S wrote: > Hi, > > > Can you please check and kindly let me know how to get the Ordered List > properly as in HTML? > > I really appreciate your help. > > Thanks &

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Leonard Rosenthol
A TimeStampSignature is a new type of signature (as defined in PAdES Part 4 or ISO 32000-2), which is why Acrobat shows it as a separate signature with a unique type. It's not the same as a standard signature with an embedded timestamp. TimeStamp Sigs, as part of PAdES, are valid/legal in the EU

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread mkl
Raffaele, Raffaele wrote > When i say that the result are 2 signature, it mean that when i open the > pdf file with Acrobat X, in the sign panel, i see 2 sign. Actually I would have expected you to see one document signature and one document time stamp on that panel, not two signatures. Look at t

Re: [iText-questions] SunPKC11 Exception when signing PDF

2012-02-01 Thread Valentin Ivanov
And by the way the exception now is from line *PdfSignatureAppearance.preClose()* /ExceptionConverter: java.security.InvalidKeyException: Private keys must be instance of RSAPrivate(Crt)Key or have PKCS#8 encoding at sun.security.rsa.RSAKeyFactory.translatePrivateKey(Unknown Source)

Re: [iText-questions] SunPKC11 Exception when signing PDF

2012-02-01 Thread Valentin Ivanov
Hi Andreas, i know it looks strange, but I have write to my Provider and they told me nothing is wrong. And there is something i would like to tell you : if this line *sap.setExternalDigest(new byte[128], new byte[20], "RSA");* exist in the code i can sign exactly 50 files, but if the line do not

Re: [iText-questions] Sign and PDF with SmartCard and web browser only

2012-02-01 Thread mkl
Andreas, Max, Andreas Kuehne-3 wrote > For curiosity I took a look at the signature, too. Here's what I got: > > 2012-01-31 20:04:13,281 ERROR (http-0.0.0.0-8080-7) > [de.trustable.signingserver.Verifier] Signature ERROR from signer # 0 : > javax.crypto.BadPaddingException: Invalid PKCS#1 padding

Re: [iText-questions] Insert TimeStamping with external digest

2012-02-01 Thread Raffaele
Hi Michael, thanks in advance for your reply :) When i say that the result are 2 signature, it mean that when i open the pdf file with Acrobat X, in the sign panel, i see 2 sign. I would have the timestamp attribute for the sign. The code that you've indicated i think that isn't for me because a