Re: [iText-questions] Inserting new Paragraph into existing pdf document

2006-06-20 Thread Paulo Soares
ColumnText is your friend. Paulo - Original Message - From: "Aloizio Pereira da Silva" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 20, 2006 10:09 PM Subject: [iText-questions] Inserting new Paragraph into existing pdf document I have been studying iText Tutorial, because I need to ad

Re: [iText-questions] How to add new page?

2006-06-20 Thread Paulo Soares
PdfContentByte cb = stamper.getUnderContent(2); Paulo - Original Message - From: "Henry Doan" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 20, 2006 10:00 PM Subject: [iText-questions] How to add new page? > Ok the question seem simple but its a bit complicated because i tried > using

[iText-questions] Inserting new Paragraph into existing pdf document

2006-06-20 Thread Aloizio Pereira da Silva
I have been studying iText Tutorial, because I need to add a new paragraph into a existing pdf document. Paulo had suggested me to use PdfStamper. I am using it and also a chunk that I put into a Paragraph object. Bu now after a lot of queries in the tutorial I am not able to insert the Paragra

[iText-questions] How to add new page?

2006-06-20 Thread Henry Doan
Ok the question seem simple but its a bit complicated because i tried using Document.newPage() and it didnt' work with my code. All i am doing is opening an exisiting PDF file and putting some direct content into it but i want to do the same thing BUT on the 2nd page. Now thats where i am reall

Re: [iText-questions] Specifying the signature handler for a signature field.

2006-06-20 Thread Rynhard Roos
Hi I managed to find a way to set the signature handler seed value. To set the handler to the adobe default, use the following code: PdfReader pdf = new PdfReader("in.pdf"); PdfStamper stp = new PdfStamper(pdf, new FileOutputStream("out.pdf")); PdfFormField sig = PdfFormField.createSignature(stp.

[iText-questions] Please Comment--Nested Table Question

2006-06-20 Thread Misra, Anil
Title: Please Comment--Nested Table Question How do I create a nested table containing a cell with 2 column span. What is wrong with the following code:                 float[] widths = {0.15f, 0.10f, 0.10f, 0.10f, 0.10f};         PdfPTable t = new PdfPTable(widths

[iText-questions] please comment, itext question

2006-06-20 Thread Misra, Anil
Title: please comment, itext question How do I grey out a PDFPCell - only 50% vertically ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions

Re: [iText-questions] Thank You

2006-06-20 Thread Geertjan Wielenga
Daniel Koßmehl wrote: > Hi, > > i'm a student from Germany and we have to write an application. One > point is that the application should send PDF via E-Mail. Sending > E-Mails with java is easy but how to create a PDF? > I've got a module that uses iText in NetBeans IDE for generating PDF d

Re: [iText-questions] Including a new paragraph on PDF document

2006-06-20 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Aloizio Pereira da Silva > Sent: Tuesday, June 20, 2006 5:37 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Including a new paragraph on > PDF document > > Th

Re: [iText-questions] Including a new paragraph on PDF document

2006-06-20 Thread Aloizio Pereira da Silva
Thanks. I am using PdfStamper but in this case I need to create another pdf file. Could I use the same file to read and write? Another question. Suppose I am going to insert the following paragraph: "software over the past fifteen years, making it available to a wide variety of programs" But

[iText-questions] Thank You

2006-06-20 Thread Daniel Koßmehl
Hi, i'm a student from Germany and we have to write an application. One point is that the application should send PDF via E-Mail. Sending E-Mails with java is easy but how to create a PDF? With iText!!! Your library is GREAT! For thanks, all our PDF-Files geht your internet-address as footer

[iText-questions] TR : Charset CP860

2006-06-20 Thread Philippe Couas
Title: Message Hi,     I need to edit document in CP860 using graphicals caracters for example B3 to D9. It seems theses caracters are not used in your API, could confirm me ?   I have tried too to replace theses caracters by unicode value for example u\2502, it seems not used ? I could use

Re: [iText-questions] itext tool box

2006-06-20 Thread Bruno Lowagie
jeremy wrote: >Hi, > >I have been wondering, now that iText has grown big, some people should already >have developped some kind of basic tool box for iText. Not a big programm but >just some classes that take care of connection, > Connection? Do you mean concatenate, split, etc... There are plent

Re: [iText-questions] Charset CP860

2006-06-20 Thread Paulo Soares
Java only deals with Unicode and iText deals with glyphs. You must have an Unicode font that has the box drawing chars that start at \u2500 such as arialuni.ttf. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Philippe Couas > Sent: Tuesd

Re: [iText-questions] ColumnText#go(true) bug

2006-06-20 Thread Paulo Soares
I would like to see a small standalone example with the problem. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Steven Buschman > Sent: Tuesday, June 20, 2006 2:09 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-question

Re: [iText-questions] Including a new paragraph on PDF document

2006-06-20 Thread Paulo Soares
PdfStamper. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Aloizio Pereira da Silva > Sent: Tuesday, June 20, 2006 3:00 PM > To: [EMAIL PROTECTED]; Post all your questions about iText here > Subject: Re: [iText-questions] Including a new

Re: [iText-questions] Including a new paragraph on PDF document

2006-06-20 Thread Aloizio Pereira da Silva
The Pdf document already exists. If a open it with PdfReady I can not insert anything. If I open it with PdfWriter its contents is deleted. I need to open a pdf file to ready and write fucntion. How Can I do this? * *

[iText-questions] ColumnText#go(true) bug

2006-06-20 Thread Steven Buschman
Is is possible the ColumnText#go(true) has a tiny bug? I have a multi-line phrase that I need to simulate prior to printing to make sure it won't go off the page. Unfortunately, ColumnText#go(true) still outputs a few lines. I looked at the source for 1.4.1 ColumnText.java (v1.68) and it looks

[iText-questions] Charset CP860

2006-06-20 Thread Philippe Couas
Title: Message Hi,     I need to edit document in CP860 using graphicals caracters for example B3 to D9. It seems theses caracters are not used in your API, could confirm me ?   I have tried too to replace theses caracters by unicode value for example u\2502, it seems not used ? I could use

Re: [iText-questions] Is it possible to set a pdf document to print different pages from different paper trays.

2006-06-20 Thread Leonard Rosenthol
At 07:04 AM 6/20/2006, Gareth Edwards wrote: >The SOME printers isn't really an issue for me, as this would be >something configured on a per printer/per client basis. OK...that solves one problem. The second problem then is HOW the PDF will be sent to the printer - as many me

Re: [iText-questions] Soft-Mask Dictionaries

2006-06-20 Thread Leonard Rosenthol
At 05:51 AM 6/20/2006, Michael J. Mueller wrote: >I changed the example you provided in the following way: I added an >image after the soft mask dictionary is selected into the graphics >state. The resulting PDF file gets displayed correctly in Adobe >Reader 7.0 but unfortunately the image does no

Re: [iText-questions] Is it possible to set a pdf document to print different pages from different paper trays.

2006-06-20 Thread Gareth Edwards
The SOME printers isn't really an issue for me, as this would be something configured on a per printer/per client basis. Is it possible to embed this code in to a pdf document using itext? Cheers Gareth. Leonard Rosenthol wrote: At 07:36 PM 6/19/2006, Gareth Edwards wrote: Could

Re: [iText-questions] java.lang.outofmemoryerror when converting 64 page txt stream into PDF

2006-06-20 Thread ravi shankar
Hi Thanks ... That was the error ... The image instance was being created for each page.Rectified itThanksRaviOn 6/20/06, bruno <[EMAIL PROTECTED]> wrote:ravi shankar wrote: > The image size is 213 kb and txt file size is 404 kb ...How many time do you create the image instance?Make sure you creat

Re: [iText-questions] Odd exception (solved)

2006-06-20 Thread Amir Mechouk
Hi, in the end it was just poor coding on my part. My application was calling FontFactory.registerDirectory on each generation of a pdf which resulted in a ConcurrentModificationException when a thread modified the fonts while another was using it. Thanks again for a great library! Amir Paulo

[iText-questions] itext tool box

2006-06-20 Thread jeremy
Hi, I have been wondering, now that iText has grown big, some people should already have developped some kind of basic tool box for iText. Not a big programm but just some classes that take care of connection, fill table automatically, ... have you heard or read any of that? thanks jeremy

Re: [iText-questions] java.lang.outofmemoryerror when converting 64 page txt stream into PDF

2006-06-20 Thread bruno
ravi shankar wrote: > The image size is 213 kb and txt file size is 404 kb ... How many time do you create the image instance? Make sure you create it only once, so that the image data is added to the PDF only once. Anyhow, this is probably not the problem. I am creating documents with 27,000+ pa

[iText-questions] java.lang.outofmemoryerror when converting 64 page txt stream into PDF

2006-06-20 Thread ravi shankar
Hi I have a requirement where I am parsing a 50 mb txt file into many small txt files based on some previously decided separators.While parsing and breaking the file itself I am sending the small txt stream to a PDF Convertor which I have written which converts the TXt stream into PDF file ..  The

Re: [iText-questions] picture in table

2006-06-20 Thread bruno
Palmi H Lord wrote: >am new in the JAVa world but I have a solution for you > > Both answers given on the list are not correct. This answer is close: > String strLogo = lnDoc.getItemValueString("Logo"); >// make a instend of the Logo >Image imgLogoImage = Image.getInstance(strLogo); > > OK.

Re: [iText-questions] Error loading Agent Class: Register -

2006-06-20 Thread bruno
Palmi H Lord wrote: >hi Bruno, > >Please bear with me , how do i compile this java file ? > > http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html Please don't waste my time by sending this kind of questions personally again. If you don't know Java, don't accept Java programmi