[iText-questions] Antw.: Supported Signature Certificates? PFX, P7B, P7C, CER Examples?

2011-03-03 Thread kue...@trustable.de
Hi, I would see this as a typical crypto issue, not an itext problem. Other lists may be more appropriate ... Greetings Andreas - Reply message - Von: "pihar" Datum: Do., Mär. 3, 2011 15:19 Betreff: [iText-questions] Supported Signature Certificates? PFX, P7B, P7C, CER Examples? An:

[iText-questions] Padding in table cell

2011-03-03 Thread Goddeau, Hendrik
Hello, I noticed there is a difference in cell-padding between a pdfPCell created from a Phrase and a pdfPCell created from a Paragraph (addElement). Is this normal ? The padding is not applied with the paragraph ! Hendrik Goddeau ICT - Department Tupperware Belgium NV. + Email : hendri

Re: [iText-questions] Invalid Annotation

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 18:36, Dean Johnson schreef: > I realize the difference, just trying to make a simple point on the list. > See attached PDF. It does seem to have a problem with the Link > Annotations on this page. iText gives developers the freedom to create custom annotations. For instance: if they

Re: [iText-questions] to take the BytearrayOutputstream and print to a browser

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 16:33, Pulapaka, Vijaya schreef: Hi team, My requirement is to take the BytearrayOutputstream and open to a browser. How would that work? Somebody who want to use your web app should already have an open browser. Otherwise they can't use your web app, can they? There's no way I

Re: [iText-questions] running Itext in WebLogic-- the sample program runs on Tomcat but will not run on WebLogic

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 20:57, femy Jara schreef: > Below is the stacktrace when I run the sample program on WebLogic r10g: If your app runs on Tomcat (the reference application server), then there's no problem related to iText: the iText code works. If the same app doesn't run in WebLogic, then there's an

Re: [iText-questions] Moving the discussion to forum: http://support.itextpdf.com/

2011-03-03 Thread 1T3XT BVBA
Op 4/03/2011 1:00, Taylor, William schreef: > That would be OK with me as I have a copy of the book, but I don't quite > understand how to join the forum. How do I prove I have the book? There's an insert in the paper book. The serial numbers on this insert allow you to get the ebook for free. Th

[iText-questions] Moving the discussion to forum: http://support.itextpdf.com/

2011-03-03 Thread Taylor, William
That would be OK with me as I have a copy of the book, but I don't quite understand how to join the forum. How do I prove I have the book? Thank you very much. Bill Taylor -Original Message- From: itext-questions-requ...@lists.sourceforge.net [mailto:itext-questions-requ...@lists.sou

Re: [iText-questions] PDF/A conformity

2011-03-03 Thread Mark Storer
Your log (if I'm reading this right) shows that iccProfile isn't null. It says nothing about the content... but your initial post mentions "HLine etc", so you're clearly seeing some content. Hey! If groovy is running through the stream to show a string representation of it for the log, that

[iText-questions] running Itext in WebLogic-- the sample program runs on Tomcat but will not run on WebLogic

2011-03-03 Thread femy Jara
Below is the stacktrace when I run the sample program on WebLogic r10g: java.lang.InternalError: erroneous handlers at servlets.TestServlet.doGet(TestServlet.java:37) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(H

Re: [iText-questions] Invalid Annotation

2011-03-03 Thread Leonard Rosenthol
Adobe Acrobat's Preflight's "Report Syntax Errors" feature reports two errors in this PDF. I ran a more detailed validation on the file and found over 20 problems with the PDF - all in the annotation's and their Destinations. So APPE is correct - the file has problems. Leonard From: Dean Joh

[iText-questions] to take the BytearrayOutputstream and print to a browser

2011-03-03 Thread Pulapaka, Vijaya
Hi team, My requirement is to take the BytearrayOutputstream and open to a browser. I have written the code like below : response.setHeader("Expires", "0"); response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0"); response.setHeader("Pragma", "pu

Re: [iText-questions] Invalid Annotation

2011-03-03 Thread Leonard Rosenthol
APPE is NOTHING like Distiller! Distiller converts Postscript to PDF. APPE is a native PDF RIP (eg it converts PDF to raster and/or prints it directly to a substrate). Also APPE is an OEM'd solution with various customization options - and Kodak/Prinergy has a history of screwing things up.

Re: [iText-questions] Invalid Annotation

2011-03-03 Thread Dean Johnson
Acrobat doesn't complain at all. I only get the error when trying to Refine through the Adobe PDF Print Engine (APPE). This is their commercial PDF processing server component (like distiller on steroids). I have not checked them to the ISO standard. I would assume APPE is doing that and probably w

Re: [iText-questions] Invalid Annotation

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 16:56, Dean Johnson schreef: > Thanks for your quick response (my first post on the list). > > Acrobat Preflight reports some "link" annotations and the pointer > turns to a link indicator when hovered over them (and they work). > I see (so far) one XObject named Watermark. > I do not

Re: [iText-questions] Invalid Annotation

2011-03-03 Thread Dean Johnson
Thanks for your quick response (my first post on the list). Acrobat Preflight reports some "link" annotations and the pointer turns to a link indicator when hovered over them (and they work). I see (so far) one XObject named Watermark. I do not see any annotations that are visible (like sticky not

Re: [iText-questions] Invalid Annotation

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 16:05, Dean Johnson schreef: > I've got several hundred PDFs from my customer to put through my > workflow. Each of them return an "Invalid Annotation" error during > refine and the processing stops. The PDFs were created using iText > 2.0.2. Is there a way to resolve this problem u

[iText-questions] Invalid Annotation

2011-03-03 Thread Dean Johnson
I've got several hundred PDFs from my customer to put through my workflow. Each of them return an "Invalid Annotation" error during refine and the processing stops. The PDFs were created using iText 2.0.2. Is there a way to resolve this problem using the iText .Net library? Thanks Dean -- __

Re: [iText-questions] Chinese characters displayed as '?'(question mark)

2011-03-03 Thread Balder
Please note, when using trunk it is possible that you are using an unstable version as trunk is the development branch. But it is usually save to use trunk. You can run all the unit tests to check if there is no regression on current trunk. On 3/03/2011 14:54, 1T3XT BVBA wrote: Op 3/03/2011

Re: [iText-questions] Supported Signature Certificates? PFX, P7B, P7C, CER Examples?

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 15:19, pihar schreef: > Even parsing the .CER I still did't get the private key. Aha, I've done some more reading. Apparently .cer files can be used to store private keys too. But it's rather uncommon to do so. Are you sure your .cer file contains a private key? --

Re: [iText-questions] Supported Signature Certificates? PFX, P7B, P7C, CER Examples?

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 15:19, pihar schreef: > Even parsing the .CER I still did't get the private key. I don't understand the question. Aren't .cer files meant to store your public key? It would surprise me if you'd find a private key in a .cer file. > The private key is null. :T > I don't know how to s

Re: [iText-questions] Supported Signature Certificates? PFX, P7B, P7C, CER Examples?

2011-03-03 Thread pihar
Even parsing the .CER I still did't get the private key. The private key is null. :T I don't know how to solve this. How can I get or generate the private key for the signature? Tks for atention. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Supported-Signature-

Re: [iText-questions] Sign and then encrypt ... and back

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 14:49, Jan Mynarik schreef: > Hello! > > I would like to ask if it is possible to sign a document by one person, > encrypt it by other ... and then decrypt and validate the signature. No, that was added to the FAQ a while ago, although in a slightly different form: http://support.ite

Re: [iText-questions] Sign and then encrypt ... and back

2011-03-03 Thread Leonard Rosenthol
Encrypting the PDF will break the signature, so no, it's not possible. -Original Message- From: Jan Mynarik [mailto:mynar...@phoenix.inf.upol.cz] Sent: Thursday, March 03, 2011 5:49 AM To: iText-questions@lists.sourceforge.net Subject: [iText-questions] Sign and then encrypt ... and back

[iText-questions] Sign and then encrypt ... and back

2011-03-03 Thread Jan Mynarik
Hello! I would like to ask if it is possible to sign a document by one person, encrypt it by other ... and then decrypt and validate the signature. I tried it and haven't succeeded. The signature of signed document is validated but signature of decrypted document isn't. I understand that encrypt

Re: [iText-questions] Chinese characters displayed as '?'(question mark)

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 14:49, bengt.ging...@seb.se schreef: What is the SVN? SVN = Subversion = a versioning system. Where can I get it? Read http://www.itextpdf.com/download.php You can download the source code using your favorite Subversion (SVN) client: |svn co https://itext.svn.sourceforge.net/

Re: [iText-questions] Chinese characters displayed as '?'(question mark)

2011-03-03 Thread bengt.gingsjo
What is the SVN? Where can I get it? Mvh/Regards Bengan From: Paulo Soares [mailto:psoa...@glintt.com] Sent: den 3 mars 2011 14:44 To: Post all your questions about iText here Subject: Re: [iText-questions] Chinese characters displayed as '?'(question mark)

Re: [iText-questions] Chinese characters displayed as '?' (question mark)

2011-03-03 Thread Paulo Soares
This is fixed in the SVN. Paulo From: bengt.ging...@seb.se [mailto:bengt.ging...@seb.se] Sent: Thursday, March 03, 2011 12:11 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Chinese characters displayed as '?' (question mark) Hi again

Re: [iText-questions] Pdf vers imprimante matricielle

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 14:26, opoup...@sodifrance.fr schreef: My question was : Is there an API that handles itext matrix printers? -- > means IN iText. That's why I asked my question in this topic. I still don't understand the question. I've never heard of "itext matrix printers". As far as I know, t

Re: [iText-questions] Pdf vers imprimante matricielle

2011-03-03 Thread OPoupeau
My question was : Is there an API that handles itext matrix printers? -- > means IN iText. That's why I asked my question in this topic. Olivier POUPEAU Projet EADS-Silcent opoup...@sodifrance.fr 02.40.18.52.89 1T3XT BVBA 03/03/2011 08:27 Veuillez répondre à Post all your questions about

Re: [iText-questions] Chinese characters displayed as '?' (question mark)

2011-03-03 Thread bengt.gingsjo
Hi again, How does the FontSelector work, regarding replacement chars? In my example below (btw, the first 2 fonts are actually created as NOT_EMBEDDED) my assumption is that the FontSelector uses the first added font as long as the characters exist in that fonts encoding (which they do in 99,9

Re: [iText-questions] Chinese characters displayed as '?' (question mark) [spamtrap bayes][spamtrap heur]

2011-03-03 Thread Paul Hastings
On 3/3/2011 6:21 PM, Paulo Soares wrote: > I don't know if I should consider this a bug but it probably is. I've changed > the default replacement char from '?' to nothing. Note that you'll still need > an "?" was "kind of standard" for badly encoded data. a "[]" box of some kind was another "ki

Re: [iText-questions] Chinese characters displayed as '?' (question mark)

2011-03-03 Thread Paulo Soares
I don't know if I should consider this a bug but it probably is. I've changed the default replacement char from '?' to nothing. Note that you'll still need an external font for Cp1250. Paulo From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: Thursday, March 03, 201

Re: [iText-questions] Out of memory with PdfStamper API

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 10:51, Mahesh Dandu - ERS, HCL Tech schreef: Please do the needful and let me know if you need any more details, Doing the needful? I don't know what you mean by that. You need to optimize your code, but I can't help you with that. I've been manipulating 400MB documents without an

Re: [iText-questions] Chinese characters displayed as '?' (question mark)

2011-03-03 Thread 1T3XT BVBA
Op 3/03/2011 9:17, bengt.ging...@seb.se schreef: I'm trying to create a PDF where there can be a mix of Western European, Eastern European and Chinese characters. To manage this, I use the FontSelector. But, depending on in which order I add the fonts, the behaviour differs. If I add the fonts

Re: [iText-questions] Out of memory with PdfStamper API

2011-03-03 Thread Mahesh Dandu - ERS, HCL Tech
Hi, We are using below PDFReader to read the document and then we are using the PDFStamper to stamp the overlays. PDFReader reader = new PdfReader(new RandomAccessFileOrArray(fileInputStream),null) PdfStamper stamper = new PdfStamper(orgReader, new FileOutputStream( filledTemplateName)); I

[iText-questions] Chinese characters displayed as '?' (question mark)

2011-03-03 Thread bengt.gingsjo
I'm trying to create a PDF where there can be a mix of Western European, Eastern European and Chinese characters. To manage this, I use the FontSelector. But, depending on in which order I add the fonts, the behaviour differs. If I add the fonts in the order: //(used for Western Europe) fontS