Re: [iText-questions] Table into PDF

2005-08-11 Thread bruno
z f wrote: I'm not sure how to make the table draw exactly where I want it, and how to make it stop drawing at one point in the page, and continue onto the next page. Look for the method PdfPTable.writeSelectedRows http://itextdocs.lowagie.com/tutorial/objects/tables/pdfptable/ br, Bruno -

Re: [iText-questions] adding paragraph at absolute position

2005-08-11 Thread bruno
Paulo Soares wrote: There are examples in the tutorial about ColumnText. http://itextdocs.lowagie.com/tutorial/objects/columns/ br, Bruno --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Fra

Re: [iText-questions] HTML Question

2005-08-11 Thread bruno
Galime Michael P Ctr AFRL/IFSA wrote: Is there a way using Itext to embed the image into the HTML. Is there a way to embed an image into an HTML file with other tools? If HTML supports image embedding, I am not aware of this. I am creating HTML documents for the purpose of Microsoft Word u

[iText-questions] Table into PDF

2005-08-11 Thread z f
I want my pdf to be a landscape view, the top half being data generated following fields (using reader/stamper), the bottom half to be a table that if it is larger than one page, it extends onto subsequent pages. There is also a "footer" at the end of the first page, but ONLY the first page. I

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Leonard Rosenthol
At 07:15 PM 8/11/2005, Paulo Soares wrote: In theory Acrobat doesn't care but in practice, at least with Acrobat 6, if the byte range has more than one exclude section it always fails. Other Acrobat plug-in may behave differently but with the standard crypto that's what I see. Then some

Re: [iText-questions] iTextSharp

2005-08-11 Thread Paulo Soares
Yes, the procedure is different and I have to make an "How to sign" in C#. Here's an example to get you going: To sign (note that for the moment CRLs are not supported): using org.bouncycastle.pkcs; using org.bouncycastle.crypto; using org.bouncycastle.x509; using iTextSharp.text; using iTextShar

Re: [iText-questions] adding paragraph at absolute position

2005-08-11 Thread Paulo Soares
There are examples in the tutorial about ColumnText. - Original Message - From: "Wesley Maness" <[EMAIL PROTECTED]> To: "'Paulo Soares'" <[EMAIL PROTECTED]>; Sent: Thursday, August 11, 2005 8:37 PM Subject: [iText-questions] adding paragraph at absolute position > Paulo, you had mentio

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Paulo Soares
In theory Acrobat doesn't care but in practice, at least with Acrobat 6, if the byte range has more than one exclude section it always fails. Other Acrobat plug-in may behave differently but with the standard crypto that's what I see. - Original Message - From: "Leonard Rosenthol" <[EMAIL

[iText-questions] iTextSharp

2005-08-11 Thread Matthew Wagner
Is there a C# alternative to java.security.KeyStore? I'm trying to sign a pdf with iTextSharp and am having trouble getting past this part. --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Fran

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Leonard Rosenthol
At 12:36 PM 8/11/2005, Paulo Soares wrote: As I said, if you want Acrobat to verify the signature you can only exclude the Contents from the byte range. Assuming that is what is being hashed and marked as such. You can actually exclude anything you want - and as long as your b

Re: [iText-questions] Re: Still getting StackOverflowError on some pdf documents

2005-08-11 Thread Paulo Soares
There's no reason for the bookmarks being the cause of the problem. If they are then it's a bug. Post the file somewhere and next Tuesday I'll have a look at it (I'm on holidays now and a cell phone is not the greatest thing to get 10M). - Original Message - From: "Paul" <[EMAIL PROTECTED

[iText-questions] adding paragraph at absolute position

2005-08-11 Thread Wesley Maness
Paulo, you had mentioned using ColumnText to add a paragraph at absolute. But I don't see this mechanism; or how to apply. There is the method showTextAligned but that only allows one-line to be written. Do you have another way of doing so, using ColumnText, or could you possible elaborate more o

[iText-questions] Re: Watermark printout doesn't look good

2005-08-11 Thread Paul
Paulo Soares consiste.pt> writes: > > Transparency is all done in the printer driver and some are better than > others. Try to print as image. > Thanks for the information. I checked the APPLY OVERVPRINT PREVIEW option in the print dialog when printing. It works. Paul --

[iText-questions] Re: Still getting StackOverflowError on some pdf documents

2005-08-11 Thread Paul
Paulo Soares consiste.pt> writes: > > I don't know what's happening there but using the constructor > PdfReader(RandomAccessOrArray, byte[]) I can encrypt the PDF Reference (16M) > with a 32M JVM. > Paulo, It's not just the size of the pdf file. I tried it on a 36MB pdf, it had no problem. T

Re: [iText-questions] Orphans and widdows in the pdf document

2005-08-11 Thread Paulo Soares
You have PdfWriter.getVerticalPosition() but generally if you need that you should take care yourself of the layout using ColumnText and PdfPTable placed at absolute positions. - Original Message - From: <[EMAIL PROTECTED]> To: ; <[EMAIL PROTECTED]> Sent: Thursday, August 11, 2005 2:34 PM

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Paulo Soares
As I said, if you want Acrobat to verify the signature you can only exclude the Contents from the byte range. - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Thursday, August 11, 2005 3:13 PM Subject: Re: [iText-questions] Add signatures in a

Re: [iText-questions] HTML Question

2005-08-11 Thread Philip Newton
On 8/11/05, Galime Michael P Ctr AFRL/IFSA <[EMAIL PROTECTED]> wrote: > > To whom it may concern: > > Is there a way using Itext to embed the image into the HTML. This is not iText-specific. There is not, in general, a way to embed an image into an HTML file so that the text plus one or more

Re: [iText-questions] Watermark printout doesn't look good

2005-08-11 Thread Paulo Soares
Transparency is all done in the printer driver and some are better than others. Try to print as image. - Original Message - From: "Paul" <[EMAIL PROTECTED]> To: Sent: Thursday, August 11, 2005 4:45 PM Subject: [iText-questions] Watermark printout doesn't look good > I use stamper.getOv

Re: [iText-questions] ideas how to add a paragraph at a given position (or set cursor position)

2005-08-11 Thread Paulo Soares
ColumnText - Original Message - From: "Wesley Maness" <[EMAIL PROTECTED]> To: Sent: Thursday, August 11, 2005 3:30 PM Subject: [iText-questions] ideas how to add a paragraph at a given position (or set cursor position) > Hi, > > > > We are using iText for a means to provide on-the-fly

[iText-questions] HTML Question

2005-08-11 Thread Galime Michael P Ctr AFRL/IFSA
Title: HTML Question To whom it may concern: Is there a way using Itext to embed the image into the HTML.  I am creating HTML documents for the purpose of Microsoft Word usage.  If I e-mail the documents I currently have to bundle them with pictures with the same directory structure that I-T

[iText-questions] Watermark printout doesn't look good

2005-08-11 Thread Paul
I use stamper.getOverContent(i) to add text watermark to PDF document. It looks great on screen - with the watermark letters showing transparency. But when I print it out on laser jet printer, the non stroke part of the letters is all blank, doesn't show transparent effect like the screen does.

[iText-questions] ideas how to add a paragraph at a given position (or set cursor position)

2005-08-11 Thread Wesley Maness
Hi,   We are using iText for a means to provide on-the-fly PDF documents of our HTML pages.  We use absolute positions in our HTML elements.  (We are able to translate appropriately).  However we need a means to add on a PDF document a paragraph (more than one line of text) at an absolut

Re: [iText-questions] iText RTF in word 6 (os/2 or windows 3.1)

2005-08-11 Thread Mark Hall
On Saturday 30 July 2005 20:48, José Hurtado wrote: > I saw in the code the variable useHex, maybe it can be possible to set a > parameter for not converting special characters > z into unicode > representation. I've added the switch and it will be part of the next release. Greetings, Mark -- You

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Juan Sanchez
Hi Paulo. Then, is it posssible that my error is in the p7 ? or the error is in the pdf construction ? Must I to revise my p7 or code that add the signature ? After signed the PDF the error when I validate it is : Signature contains incorrect, unrecognised , corrupted or suspicius data SigDic

Re: [iText-questions] Copying File Data into pdf

2005-08-11 Thread Leonard Rosenthol
At 12:39 AM 8/11/2005, Kuldeep Thakare wrote: During my development, I encountered one problem. I want to copy the file data(file should be of any format) into the pdf file which is generated after running the code. So you want to embed the file, like you might Zip up a file?  

Re: [iText-questions] Orphans and widdows in the pdf document

2005-08-11 Thread Bohumir . Zoubek
Thanks, Paulo. As a table header you mean the first row of the table (or a set of rows given by the HEADER parameter)? What I would like to know is how to figure out the current possition in the pdf document. Say, I had added the table into the document and want to know the position where the ne

Re: [iText-questions] Re: iText : page events and global variables

2005-08-11 Thread bruno
Farid KHEZZAR wrote: Thank you for your answer. The solution was obvious i don't know why i'haven't found it ! ;-) I'm really sorry i didn't mean to make you lose your time, i won't disturb you anymore. No problem. I'm in the process of writing. What's good for the book is bad for my t

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Paulo Soares
The byte range is Ok as you've excluded three areas. I doubt that Acrobat with the standard plug-ins can validate anything with more than the Contents excluded, it will get you an eror such as "file is suspicious". - Original Message - From: "Juan Sanchez" <[EMAIL PROTECTED]> To: <[EMAIL

Re: [iText-questions] Why out of memory

2005-08-11 Thread Paulo Soares
iText has a flaw here in that the content is written to the disk but the xref and page tree is kept in memory. It's not easy to cache this to disk as it's a TreeMap that must be updated. Maybe some day. - Original Message - From: "bruno" <[EMAIL PROTECTED]> To: "yuanjk" <[EMAIL PROTECTED]

Re: [iText-questions] Re: iText : page events and global variables

2005-08-11 Thread bruno
Farid KHEZZAR wrote: i'm sorry but in the Romeo and Juliet example you only use your variable 'act' in "onEvent" methods : onchapter, onendpage but NOT in your method main That's only a detail. I think you're the one that doesn't understand. : this is the problem. I hava tested and retested

[iText-questions] Re: iText : page events and global variables

2005-08-11 Thread Farid KHEZZAR
i'm sorry but in the Romeo and Juliet example you only use your variable 'act' in "onEvent" methods : onchapter, onendpage but NOT in your method main : this is the problem. I hava tested and retested and reretested i can't use a variable like 'act' initilazed in the main methods in other event

Re: [iText-questions] Add signatures in a existing blank signature

2005-08-11 Thread Juan Sanchez
Hi Paulo. Thanks for your information. Finally i solve my problems with blank signature generation. I continue in geenration a signature from pdf document and add in blank signature. Now I can not validate the signature. If I edit the pdf document with my editor it's very unusual the value of

Re: [iText-questions] Adding an image to pdf file

2005-08-11 Thread bruno
Mathieu Eylert wrote: Hello, I have a little question about iText. Please use to mailing list: itext-questions@lists.sourceforge.net I'd like replace a text by an image, in an existing pdf file. Can i do this with your api? Take the original source of the PDF, edit it and create your PD

[iText-questions] Re: iText : page events and global variables

2005-08-11 Thread bruno
Farid KHEZZAR wrote: hi bruno Hi, please use the mailing list address if you have a question: itext-questions@lists.sourceforge.net i'm using the iText library to generate pdf files, i have headers and footers which are built in the onEndPage method and to build them i need variables ini