[iText-questions] Filling out AcroForm creates an unwanted offset

2007-05-24 Thread Abdullah Jibaly
Hi All, I'm trying to use iText to fill out an AcroForm. Everything seems to work well using the code below except the field that has the text filled into it becomes shifted down a couple pixels. If I open it up in Acrobat afterwards (filled.pdf) and click back in that field it shifts back up, and

Re: [iText-questions] Appending PDFs to existing PDFs

2007-05-24 Thread Devraj Mukherjee
Hi Bruno, Thanks for the answer. And I apolgise for not having better researched. On 5/24/07, Bruno Lowagie (iText) <[EMAIL PROTECTED]> wrote: > Devraj Mukherjee wrote: > > Hi everyone, > > > > I am dynamically generating a PDF and then require to append some > > existing PDF files onto it. Is PD

Re: [iText-questions] spanning of columns

2007-05-24 Thread Paulo Soares
- Original Message - From: "chandrajeet" <[EMAIL PROTECTED]> To: Sent: Thursday, May 24, 2007 8:42 PM Subject: Re: [iText-questions] spanning of columns > > Can any of you reply to this thread? There's nothing else to say. You must place the table rows and columns yourself, count the

Re: [iText-questions] Possible bug?

2007-05-24 Thread Paulo Soares
You may have an unsupported tiff page that will cause an exception. See the console messages. Paulo - Original Message - From: "Lewis, Cory (Genworth)" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Thursday, May 24, 2007 8:01 PM Subject: Re: [iText-questions

Re: [iText-questions] [SPAM] iText PDF Generation / Removal Question

2007-05-24 Thread Bruno Lowagie
Adam Leszinski wrote: > The short: Basically looking to stamp a PDF template on the fly and > present it to the user without having all these resulting generated PDFs > with sequence numbers to clean up. User wants to download a PDF, we > stamp it with a sequence number, they see the result, the

Re: [iText-questions] spanning of columns

2007-05-24 Thread chandrajeet
Can any of you reply to this thread? With splitting of columns I want the tableheader to be repeating. Each time I do writeSelectedRows and a newPage() of the document. I have even given datatable.setHeaderRows(1); Secondly, I wrote document.setMargins( 50, 50, 150, 50); But it still trims at the

Re: [iText-questions] Possible bug?

2007-05-24 Thread Lewis, Cory (Genworth)
> > Hi! > I'm trying to create a pdf from a tiff image using this > example > http://itext.ugent.be/library/com/lowagie/examples/objects/ima > ges/tiff/Tiff2Pdf.java > > The program work fine but pdf has one page less. The original > tiff has 8 pages while pdf has 7 pages! > Strangely the me

Re: [iText-questions] iText PDF Generation / Removal Question

2007-05-24 Thread Brian McKeever
On 5/24/07, Adam Leszinski <[EMAIL PROTECTED]> wrote: > The short: Basically looking to stamp a PDF template on the fly and present > it to the user without having all these resulting generated PDFs with > sequence numbers to clean up. User wants to download a PDF, we stamp it with > a sequence nu

[iText-questions] iText PDF Generation / Removal Question

2007-05-24 Thread Adam Leszinski
I’m looking to integrate iText into a web app and was hoping someone could point me in the right direction for the task I want to accomplish. I was able to get iText setup and used it to create PDF’s and modify existing ones no problem, however what we’re looking to do is this: 1) Have a

Re: [iText-questions] Possible bug?

2007-05-24 Thread Gianfranco
Sorry, I've forgot something:) I'm using itext 2.0.2 and Java 6... Can you help me? Please... - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XM

Re: [iText-questions] [SPAM] Font mapping when bundeling pdffiles!

2007-05-24 Thread Bruno Lowagie (iText)
Henrik Hinteregger wrote: > Hi > > I have a problem when I try to bundle several (almost similar) pdffiles > into 1 pdffile! If the PDFs are almost similar, you should replace PdfCopy with PdfSmartCopy. It will only work if the font is /exactly/ the same (not two different subsets), but give it

Re: [iText-questions] strange behaviour when Phrase first element of Document

2007-05-24 Thread Bruno Lowagie (iText)
herman vierendeels wrote: > using constructor 1): output overprinted That's normal: the leading is 0. > using constructor 2): output ok, but see also remark1 I see... It's something internal. getVerticalPosition is a method that can help you in some situations (as I explain in chapter 7), but if

Re: [iText-questions] strange behaviour when Phrase first element ofDocument

2007-05-24 Thread Paulo Soares
Only add Paragrah to Document. You'll have leading problems without that. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of herman vierendeels > Sent: Thursday, May 24, 2007 3:18 PM > To: itext-questions@lists.sourceforge.net > Subject: [iT

Re: [iText-questions] Font mapping when bundeling pdffiles!

2007-05-24 Thread Paulo Soares
You can do that with PdfSmartCopy but note that if the fonts are subset you'll gain nothing. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Henrik Hinteregger > Sent: Thursday, May 24, 2007 2:34 PM > To: itext-questions@lists.sourceforge

[iText-questions] Font mapping when bundeling pdffiles!

2007-05-24 Thread Henrik Hinteregger
Hi I have a problem when I try to bundle several (almost similar) pdffiles into 1 pdffile! The problem is that each pdffile has an integrated font, that when bundeling is interpret as a new font instead of one of the already read. So if I bundel 100 pdffiles, then I get one pdffile with 100 fon

[iText-questions] strange behaviour when Phrase first element of Document

2007-05-24 Thread herman vierendeels
//strange behaviour when Phrase first element of Document /* itext-2.0.2 in following program: using constructor 1): output overprinted using constructor 2): output ok, but see also remark1 1)document.add(new Phrase(0,"vp="+vp)); 2)document.add(new Phrase("vp="+vp)); */ import java.io.*; impor

Re: [iText-questions] Appending PDFs to existing PDFs

2007-05-24 Thread Bruno Lowagie (iText)
Devraj Mukherjee wrote: > Hi everyone, > > I am dynamically generating a PDF and then require to append some > existing PDF files onto it. Is PDFStamper the most appropriate way of > doing it? If you have done the effort to read the documentation, you shouldn't have to ask. If you have done some

[iText-questions] Appending PDFs to existing PDFs

2007-05-24 Thread Devraj Mukherjee
Hi everyone, I am dynamically generating a PDF and then require to append some existing PDF files onto it. Is PDFStamper the most appropriate way of doing it? Or is there a better way of doing it? Thanks -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles) --

Re: [iText-questions] Regarding Crop Functionality in PDF

2007-05-24 Thread Bruno Lowagie (iText)
[EMAIL PROTECTED] wrote: Hi Bruno, Thanks for the reply. Unfortunately, the code you provided doesn't work either. I just noticed that you contacted me personally for this question, yet using [iText-questions] in the header. This is not appreciated. Especially the abuse of [iText-questions] is

Re: [iText-questions] Question about RTF List in Table Cell

2007-05-24 Thread Felix Satyaputra
> I've committed a fix to the CVS, so that no extra > list item is displayed if > the list is in a table. Thank you very much, Mark! I'll go get this and try it out! ___ Yahoo! Answers - Got a question? Someone out there knows the a

[iText-questions] Possible bug?

2007-05-24 Thread Gianfranco
Hi! I'm trying to create a pdf from a tiff image using this example http://itext.ugent.be/library/com/lowagie/examples/objects/images/tiff/Tiff2Pdf.java The program work fine but pdf has one page less. The original tiff has 8 pages while pdf has 7 pages! Strangely the method comps = TiffImage.ge

Re: [iText-questions] RTF cell.setMaxLines method

2007-05-24 Thread Mark M. Hall
On Thursday 24 May 2007 09:50, Manuel Español wrote: > is there any itext release where cell.setMaxLines method works in RTF > documents? No. Greetings, Mark - This SF.net email is sponsored by DB2 Express Download DB2 Expres

Re: [iText-questions] RtfWriter2 Update

2007-05-24 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie (iText) > Sent: Thursday, May 24, 2007 10:09 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] RtfWriter2 Update > > Mark Hall wrote: > > Hi > > >

Re: [iText-questions] RtfWriter2 Update

2007-05-24 Thread Bruno Lowagie (iText)
Mark Hall wrote: > Hi > > A major update to the RtfWriter2 (and all its helper classes) has been > provided by Thomas Bickel. Thanks! I've just checked the code. It's just in time for the next release (scheduled for tomorrow, but I'll be preparing it today). br, Bruno --

Re: [iText-questions] RTF cell.setMaxLines method

2007-05-24 Thread Bruno Lowagie (iText)
Manuel Español wrote: > Hi, > > is there any itext release where cell.setMaxLines method works in RTF > documents? That would surprise me as an RTF document is rendered at the moment it is opened (and NOT BEFORE as is the case for PDF). I doubt it that the RTF specs allows you to set a maximum n

Re: [iText-questions] [SPAM] Re: [iText] problems whith com.lowagie.text.Image

2007-05-24 Thread Bruno Lowagie (iText)
aurelie wrote: > I'm Sorry but I can't give you the real URL (I change the URL for give you an > example) but I sure that my URL is right. Same difference: it's not because YOU can open the URL in YOUR browser that your server process has access to the image using the same URL. I'm 99% sure that

[iText-questions] RTF cell.setMaxLines method

2007-05-24 Thread Manuel Español
Hi, is there any itext release where cell.setMaxLines method works in RTF documents? Thanks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XM

Re: [iText-questions] [iText] problems whith com.lowagie.text.Image

2007-05-24 Thread aurelie
Bruno Lowagie (iText lowagie.com> writes: > Please have a look at the attached image. > If I can't get the image, iText can't get it. > Unless you give iText access to the image. > br, > Bruno > > I'm Sorry but I can't give you the real URL (I change the URL for give you an example) but I sur

Re: [iText-questions] [iText] problems whith com.lowagie.text.Image

2007-05-24 Thread Bruno Lowagie (iText)
aurelie wrote: I know that is a communication problem but I have this problem because com.lowagie.text.Image can't gat an instance. this is my code URL adresseImage = new URL("http://monServeur.fr/Images/etudiant2005485.jpg";) Image photoEtu = Image.getInstance(adresseImage); in my applicati

Re: [iText-questions] CVS little problem

2007-05-24 Thread Bruno Lowagie (iText)
GAMBELLI Raffaele wrote: > No I didn'twhere should I post the question, in which section of > SourceForge? > The tracker say nothing about cvs... http://sourceforge.net/tracker/?atid=21&group_id=1 Select Category "Project CVS services". br, Bruno -

Re: [iText-questions] [iText] problems whith com.lowagie.text.Image

2007-05-24 Thread aurelie
Paulo Soares consiste.pt> writes: > > This is a comunication problem that has nothing to do with iText. > > Paulo > I know that is a communication problem but I have this problem because com.lowagie.text.Image can't gat an instance. this is my code URL adresseImage = new URL("http://monSer

Re: [iText-questions] CVS little problem

2007-05-24 Thread GAMBELLI Raffaele
> However, I've had similar problems in the past. > It could even be a temporary problem. > Did you post the question on SourceForge or > browse through the open/closed items in the > SourceForge Tracker? No I didn'twhere should I post the question, in which section of SourceForge? The tracke

Re: [iText-questions] Maintain paragraph and image together

2007-05-24 Thread Bruno Lowagie (iText)
There's a contradiction in your question: Andres Guerrero wrote: > I've trying with > ColumnText with not so much luck versus: > Is there any way to know how many lines will fill a pagraph > before inserting it? If you've tried ColumnText, you know the number of lines in a paragraph before i

Re: [iText-questions] [SPAM] Using the SAXParser in R&J example with a memory (JDOM) input object?

2007-05-24 Thread Bruno Lowagie (iText)
Jim Hurricane wrote: > Is it possible to use a JDOM tree (perhaps read into some stream) as the > input for the SAXParser parser.parse(...,...) method call? I know a JDOM tree can have SAX as output, so the answer is probably yes, but I've never tried it. As you're working with JDOM, you're prob

Re: [iText-questions] blank pdf file

2007-05-24 Thread Bruno Lowagie (iText)
Li Wang wrote: > //sometimes the file is blank while sometimes good. In the book, I explain the 'blank page problem' in the context of a web app (chapter 17). There are different reasons why the pages in a PDF can turn blank, but the most probable reason in the context you are describing is a kind

Re: [iText-questions] CVS little problem

2007-05-24 Thread Bruno Lowagie (iText)
GAMBELLI Raffaele wrote: > Hi all, > > I'm using CVS inside Eclipse and I cannot connect to your repository to > download itext via cvs, the error is: > > Error validating location: "Could not connect to :pserver:[EMAIL > PROTECTED]:/cvsroot/itext: Cannot > connect to host: Connection refused:

Re: [iText-questions] Adding revocation information in PKCS#7during verification

2007-05-24 Thread Paulo Soares
You may download the CRLs at the time of signing. They will contain the same information as the OCSP at that time. Paulo - Original Message - From: "Khurram Saleem" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Thursday, May 24, 2007 8:30 AM Subject: Re: [iText-questions] Addin

Re: [iText-questions] Adding revocation information in PKCS#7 during verification

2007-05-24 Thread Khurram Saleem
Hello, Thanx for your answer and good guidance Ok what I got from your reply is that we can't put OCSP based revocation information in PDF signature during verification. 1 - But can we do it during signing? [As far as I know that the OCSP info will be placed as authenticated attributes in si

[iText-questions] CVS little problem

2007-05-24 Thread GAMBELLI Raffaele
Hi all, I'm using CVS inside Eclipse and I cannot connect to your repository to download itext via cvs, the error is: Error validating location: "Could not connect to :pserver:[EMAIL PROTECTED]:/cvsroot/itext: Cannot connect to host: Connection refused: connect" The CVSROOT should be correct..

Re: [iText-questions] Needed help in image handling

2007-05-24 Thread Bruno Lowagie (iText)
magesh rathnam wrote: > the image needs to be clipped off the top in > case the image exceeds the image area. So I'm not sure how to restrict a > image to a particular region. > > I saw something called addImage in PDFContentByte but I'm not sure what > each of the coordinates refer to there.