[iText-questions] Interoperability with VB 6 (Help needed)

2007-10-17 Thread jestin john
Hi, I want to make some secuirty settings in an existing PDF. Can iTextSharp assembly be called from VB 6.0 (requirement) for doing the same? Would there be any issues? How to go about this? - This SF.net email is sponsored by

[iText-questions] help - template.showTextAligned vs template.showText

2007-10-17 Thread Suresh . Ramachandran
hi Can someone help me for the below code. When I use template.showText("abcd"); It is displaying where as when I use template.showTextAligned (...). It never shows the content. What am I doing wrong? Below is the sample code: public void onEndPage(PdfWriter writer, Document document) {

Re: [iText-questions] jvm crush

2007-10-17 Thread Hans-Werner Hilse
Hi, On Wed, 17 Oct 2007 13:44:47 -0400 Maurizio Marra <[EMAIL PROTECTED]> wrote: > I'm using a jre1.5.0_12 on a Red Hat server. > Do you know where I can find some docs on how to solve this? > This code had been running for more than 1 year without such a > problem. Well, it might never happen a

[iText-questions] template.showTextAligned vs template.showText

2007-10-17 Thread Suresh . Ramachandran
hi Can someone help me for the below code. When I use template.showText("abcd"); It is displaying where as when I use template.showTextAligned (...). It never shows the content. What am I doing wrong? Below is the sample code: public void onEndPage(PdfWriter writer, Document document) {

Re: [iText-questions] jvm crush

2007-10-17 Thread mister bean
If you Google "SIGBUS (0x7) at pc" you'll find that other folks are also running into similar problems with this rev of the JVM running on Linux. ---mr. bean >>> re >>> Maurizio Marra wrote: > > Hi, > > I'm using iText (version 2.0.1) with Tomcat 6 to add a timestamp to the > first page of

Re: [iText-questions] jvm crush

2007-10-17 Thread Maurizio Marra
Hi, I'm using a jre1.5.0_12 on a Red Hat server. Do you know where I can find some docs on how to solve this? This code had been running for more than 1 year without such a problem. Thanks in advance Maurizio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behal

Re: [iText-questions] jvm crush

2007-10-17 Thread Hans-Werner Hilse
Hi, On Wed, 17 Oct 2007 11:57:19 -0400 Maurizio Marra <[EMAIL PROTECTED]> wrote: > I'm using iText (version 2.0.1) with Tomcat 6 to add a timestamp to > the first page of uploaded pdf file. > Today the jvm crushed. Yes. Due to a > # SIGBUS (0x7) at pc=0xb373fba9, pid=13444, tid=1693485984 Sin

Re: [iText-questions] silent print - best practices?

2007-10-17 Thread Leonard Rosenthol
Since Silent Printing involves a user and a browser - how could that be "high load"? Leonard On Oct 17, 2007, at 10:51 AM, Sérgio Oliveira wrote: > We are trying to use LiveCycle products from Adobe (like Livecycle > designer) > with iText. One of the functionalities we need is to silent pr

[iText-questions] jvm crush

2007-10-17 Thread Maurizio Marra
Hi, I'm using iText (version 2.0.1) with Tomcat 6 to add a timestamp to the first page of uploaded pdf file. Today the jvm crushed. Here is a part of the error report: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0x7) at pc=0xb373fba9, pid=13444, tid=1693485

Re: [iText-questions] Image size inside PdfPCell

2007-10-17 Thread Paulo Soares
The first case is a shorthand to new Chunk(image, 0, 0) and behaves as expected. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of GAMBELLI Raffaele > Sent: Wednesday, October 17, 2007 4:34 PM > To: Post all your questions about iText here >

[iText-questions] silent print - best practices?

2007-10-17 Thread S�rgio Oliveira
Hello all, We are trying to use LiveCycle products from Adobe (like Livecycle designer) with iText. One of the functionalities we need is to silent print a pdf. I know there are different ways to accomplish this, but I would like your opinion/examples about the best ones. A key point to this fu

[iText-questions] silent print - best practices?

2007-10-17 Thread S�rgio Oliveira
Hello all, We are trying to use LiveCycle products from Adobe (like Livecycle designer) with iText. One of the functionalities we need is to silent print a pdf. I know there are different ways to accomplish this, but I would like your opinion/examples about the best ones. A key point to this fu

Re: [iText-questions] Problem with the creation of a formatted listentry!

2007-10-17 Thread Paulo Soares
You'll have to extend List to achieve that. See the source code of RomanList for inspiration. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Eric Summkeller > Sent: Wednesday, October 17, 2007 4:06 PM > To: itext-questions@lists.sourcefo

[iText-questions] Problem with the creation of a formatted list entry!

2007-10-17 Thread Eric Summkeller
I have two different formatted Phrase objects. The first element has a normal font style and the second is bold and italic. Now I would like to create a ListItem with those two Phrase objects. The number of the ListItem should have the same format as the second Phrase object. To realize that, I

Re: [iText-questions] Image size inside PdfPCell

2007-10-17 Thread Paulo Soares
addCell(Image) will always scale the image to fit the cell. You can have scaling with the PdfPCell constructors or with PdfPCell.addElement(). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of GAMBELLI Raffaele > Sent: Wednesday, October 17,

Re: [iText-questions] Signing PDF-Document with external Certificate and Signature (Signature is INVALID)

2007-10-17 Thread Paulo Soares
You'll always need getRangeStream() to get the bytes that must be signed. If your application needs a file or a byte array you'll have to do the conversions and create the needed objects. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Fi

Re: [iText-questions] Java release used for itext jars that are distributed

2007-10-17 Thread Thimo Seitz
Hi. The Manifest inside the itext_2.0.6.jar says: Created-By: 1.4.2_12-b03 (Sun Microsystems Inc.) Best Regards Thimo Seitz Dipl.-Inf. (FH) Thimo Seitz Geschäftsführer Entwicklung Flyer-Ex Software GmbH Am Weichselgarten 7 91058 Erlan

[iText-questions] Java release used for itext jars that are distributed

2007-10-17 Thread Berger, Susan
What Java release was the itext_2.0.6.jar created with? I see on you http://lowagie.com/iText/svn.html page that you are using java 1.4.2 BUT I am using this Java 1.4.2_06 and I cannot use any of your jars beyond the itext_1.4.6.jar. Susan Berger Internal Applications Designer/Developer Compuw

Re: [iText-questions] Signing PDF-Document with external Certificate and Signature (Signature is INVALID)

2007-10-17 Thread Fionn
Hi Paulo, another Question: Is there any way to add my signature like that: byte[] tSignatureHash = Gov2SmartCardHelper.getInstance().sign(IOHelper.getBytesFromFile(tUnsignedFile)); X509Certificate tSigningCertificate = Gov2SmartCardHelper.getInstance().getSignatureX509Certificate(); //pseudo-code

[iText-questions] Image size inside PdfPCell

2007-10-17 Thread GAMBELLI Raffaele
Hi all, In the following code I simply put an image in the document, and then in the next page I put the same image inside a PdfPCell, although I'm using jpg1.setWidthPercentage(0); why does the image inside PdfPCell result bigger than the other one? Thanks, regards. Raffaele public static v

[iText-questions] Image size inside PdfPCell

2007-10-17 Thread GAMBELLI Raffaele
Hi all, In the following code I simply put an image in the document, and then in the next page I put the same image inside a PdfPCell, although I'm using jpg1.setWidthPercentage(0); why does the image inside PdfPCell result bigger than the other one? Thanks, regards. Raffaele public static v

Re: [iText-questions] Appending byte[] with the exsisting document

2007-10-17 Thread Paulo Soares
You'll have to use something else to convert the Word doc to pdf. iText can't do it. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of gscac > Sent: Wednesday, October 17, 2007 11:46 AM > To: itext-questions@lists.sourceforge.net > Subject:

[iText-questions] Appending byte[] with the exsisting document

2007-10-17 Thread gscac
I have byte[] which I got it from word document. I want to append this with the exsisting pdf document. For example, ByteArrayOutputStream fout = new ByteArrayOutputStream(); Document document = new Document(); PdfWriter writer = PdfWriter.getInstance(document, fout); document.open(); document.

Re: [iText-questions] Signing PDF-Document with external Certificate and Signature (Signature is INVALID)

2007-10-17 Thread Fionn
Thank you very much With this Code it works: Certificate[] tCertificates = new Certificate[]{tSigningCertificate}; Calendar tCalendar = Calendar.getInstance(); PdfStamper tStamper = PdfStamper.createSignature(tReader,tOutStream,'\0'); PdfSignatureAppearance tSignatureApp

Re: [iText-questions] PDF Document Sizes and Printing

2007-10-17 Thread Paulo Soares
That's a printer feature. In general any paper size will work if you adjust the envelope position in the printer. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Anthony Presley > Sent: Tuesday, October 16, 2007 5:57 PM > To: itext-questi

Re: [iText-questions] Issue using AcroFields.mergeXfaData and base64 encoded images

2007-10-17 Thread Paulo Soares
Can you post the pdf or send it privately to me? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Scott Dunbar > Sent: Tuesday, October 16, 2007 7:18 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Issue

Re: [iText-questions] Search a word... and extract

2007-10-17 Thread Paulo Soares
iText can't extract text. Look for jpedal or pdfbox. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of jestin john > Sent: Wednesday, October 17, 2007 10:36 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Search

Re: [iText-questions] Signing PDF-Document with external Certificate and Signature (Signature is INVALID)

2007-10-17 Thread Paulo Soares
After calling PdfSignatureAppearance.preClose() you must call PdfSignatureAppearance.getRangeStream() to get the bytes that are going to be signed. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Fionn > Sent: Wednesday, October 17, 2007

[iText-questions] Search a word... and extract

2007-10-17 Thread jestin john
Hi, Can i search for a particular word and get to know of its coordinates.? what i'm lookin for is to make a particular word a named destination so as to use it for bookmarking in an existing PDF. Pls help - This SF.net email

[iText-questions] Andrew S Moy/CHI/NTRS is out of the office.

2007-10-17 Thread Andrew S Moy
I will be out of the office starting October 17, 2007 and will not return until October 18, 2007. Hello, Please contact Carl Groebe (312) 557-5454 if you need any assistance during this time, thanks. - This SF.net email is

[iText-questions] Signing PDF-Document with external Certificate and Signature (Signature is INVALID)

2007-10-17 Thread Fionn
Hi, i am a German student and i would like to create an application wich sign PDF-Documents with external signatures. Ok, the following things i want to do: 1) get the signature + certificate from Smard-Card(REINER) with OCF //the certificate X509Certificate tSigningCertificate = Gov2SmartCard