Re: [iText-questions] getPageContent bug

2006-06-19 Thread bruno
Please post this to the mailing-list. sjf wrote: > Hi, Mr Bruno Lowagie, > > > > I download the latest itext and itextsharp and find a bug. If I burst > > > a PDF file into pages and merge them into one PDF file again using > > > pdfsam (http://sourceforge.net/projects/pdfsam), getPageContent wil

[iText-questions] table.setLastHeaderRow(2), table.setTableFitsPage(true) not reflecting in RTF

2006-06-19 Thread jojo
Hi , I am generating a large table that can span across several pages. And I'm looking for a solution to repeat the page header on each page. The problem is that I'm not using PdfPTable ( which has a setHeaderRows method) but the Table class. I need to generate both pdf and rtf using a single

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

2006-06-19 Thread Leonard Rosenthol
At 07:36 PM 6/19/2006, Gareth Edwards wrote: >Could we not use something like? > ><> setpagedevice That's Postscript - NOT PDF... Even so, it will only work on SOME printers... Leonard --- Leonard Rosenth

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

2006-06-19 Thread Gareth Edwards
Could we not use something like? <> setpagedevice Cheers Gareth. Leonard Rosenthol wrote: At 06:15 PM 6/18/2006, Gareth Edwards wrote: If it is possible, is it possible to do this using itext some how? It is not possible - because tray selection is DEVICE DE

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

2006-06-19 Thread Palmi H Lord
Try this for the Paragraph p1 = new Paragraph(new Chunk(" ", FontFactory.getFont FontFactory.HELVETICA, 10))); pdfDoc.add(p1); Palmi > Hi everybody, > > I have a PDF document and I should include on it one paragraph. > This paragraph contains three lines where the first is on bold, the > sec

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

2006-06-19 Thread Aloizio Pereira da Silva
I known the begin position. After the paragraph there is a signature. I should include the paragraph before it. This paragraph can change frequently depend on the user. But the other fields in the document doesn't change. *

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

2006-06-19 Thread Paulo Soares
How do you know the position where the lines should go? You are not expecting existing text in the PDF to reflow, are you? Paulo - Original Message - From: "Aloizio Pereira da Silva" <[EMAIL PROTECTED]> To: Sent: Monday, June 19, 2006 9:54 PM Subject: [iText-questions] Including a new

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

2006-06-19 Thread Aloizio Pereira da Silva
Hi everybody, I have a PDF document and I should include on it one paragraph. This paragraph contains three lines where the first is on bold, the second on Italic and the last underline. How I can do this using iText? *

Re: [iText-questions] picture in table

2006-06-19 Thread Palmi H Lord
am new in the JAVa world but I have a solution for you // get image from Doc - make a field named "Logo" that has PATH to Image // like http://graphics8.nytimes.com/images/misc/nytlogo379x64.gif String strLogo = lnDoc.getItemValueString("Logo"); // make a instend of the Logo Image imgLogoIma

[iText-questions] picture in table

2006-06-19 Thread Tom Johnson
hello everyone, My name is Dominic and I'm new here. I was wondering if anyway had any ideas on how to put a picture...in my case a jpeg in a table. And I'm using the Table class. Also is there away to put two different object say a picture and some text in a singel cel of a tableif not I'l

Re: [iText-questions] How to write new line with PdfTemplate

2006-06-19 Thread Henry Doan
Thanks it worked From: "Paulo Soares" <[EMAIL PROTECTED]> Reply-To: Post all your questions about iText here To: "Post all your questions about iText here" Subject: Re: [iText-questions] How to write new line with PdfTemplate Date: Mon, 19 Jun 2006 19:08:01 +0100 You have to set some lead

Re: [iText-questions] How to write new line with PdfTemplate

2006-06-19 Thread Paulo Soares
You have to set some leading. Paulo - Original Message - From: "Henry Doan" <[EMAIL PROTECTED]> To: Sent: Monday, June 19, 2006 6:43 PM Subject: [iText-questions] How to write new line with PdfTemplate >I am trying to write multiple line with PdfTemplate but everytime i write a > new

[iText-questions] How to write new line with PdfTemplate

2006-06-19 Thread Henry Doan
I am trying to write multiple line with PdfTemplate but everytime i write a new line with PdfTemplate.newlineShowText() it write over the previous line. Here is my code: Thanks in advance PdfReader reader = new PdfReader("e:/Webs/walton/Hello World 7.pdf"); PdfStamper stamper =

[iText-questions] Running on a cluster - all on 1 machine

2006-06-19 Thread David Thielen
Hi; We have a customer that is running iText on a cluster but the cluster is all on one physical machine (no idea why). On one of the clusters they get: [6/16/06 9:32:19:785 CEST] 039e ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method

Re: [iText-questions] Can't get PdfTemplate to display text

2006-06-19 Thread Matthew Metlis
Thanks a lot for the help. I was thinking there might have been a way to do that all at once while writing to a single file, but I guess not. The process you described worked - I took the PdfContentByte directly from the PdfStamper while reading in the temporary file, so I didn't have to use temp

Re: [iText-questions] Bug in iText 1.4.1 Graphics2D rendering.

2006-06-19 Thread Bill Ensley
One other note one this issue: Make sure that if you are clipping your graphics object, that you are allowing Enough extra so that the borders don't get clipped off. -Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares

Re: [iText-questions] Bug in iText 1.4.1 Graphics2D rendering.

2006-06-19 Thread Paulo Soares
That's a bug with rectangles that is already fixed in the CVS. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of David Hedley > Sent: Monday, June 19, 2006 4:44 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] Bug

[iText-questions] Bug in iText 1.4.1 Graphics2D rendering.

2006-06-19 Thread David Hedley
Firstly, many many thanks for iText, it has been a godsend! However, I've just upgraded from iText 1.4 to iText 1.4.1 and I've noticed that something in the Graphics2D rendering has broken :-( It appears that borders on JPanels are no longer rendered correctly in the PDF - they are either enti

[iText-questions] writing values in a iText form field

2006-06-19 Thread Juan Carrasco
  Hi to all. I’m writing a little program that generates a PDF Form with de iText, and I want to write a default value in a text field. How can i do that?     Juan Carrasco Moya   ___ iText-questions mailing list iText-question

Re: [iText-questions] I want to get the X axis of where my text ends

2006-06-19 Thread Paulo Soares
Use ColumnText to place the text at absolute positions or use a generic tag event to lacate the chunk position. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Shoaib Gauhar > Sent: Monday, June 19, 2006 10:46 AM > To: itext-questions@li

Re: [iText-questions] (no subject)

2006-06-19 Thread Paulo Soares
You don't have to install the font in the client but you need to have the font available in the file system or as a resource.   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fernando Jiménez GonzálezSent: Monday, June 19, 2006 3:11 PMTo: itext-quest

Re: [iText-questions] which font encoding should I use

2006-06-19 Thread Paulo Soares
Use the encoding Identity-H with TTF fonts. This assumes that you have a font with all the glyphs, like arialuni.ttf. Other options are possible but they depend on your exact requirements.   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kalra, AshwaniSe

[iText-questions] (no subject)

2006-06-19 Thread Fernando Jiménez González
How can I use a custom font? I already noticed of how, but also noticed that it has to be installed in the client. I want to automatically attach it to the PDF.   Thanks in advance,   Fernando Jiménez ___ iText-questions mailing list iTe

Re: [iText-questions] IText, UNICODE, Courier ansd JDK1.3.1

2006-06-19 Thread Paulo Soares
Title: Message I forward your question to the mailing list. I'm still not sure what you want to do but the built in fonts don't have any graphical characters. You'll need an external font for that.   Paulo From: Philippe Couas [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 1

[iText-questions] which font encoding should I use

2006-06-19 Thread Kalra, Ashwani
Hi, How to decide which font encoding is to be used. My pdfs will be multilingual.   __ Regards Ashwani Kalra Ext:3407   This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to

[iText-questions] I want to get the X axis of where my text ends

2006-06-19 Thread Shoaib Gauhar
Hello I am making a table of contents (implementing with Chunks andParagraphs not with Table) and i want to get the point in X axis where my text will end. So, that i could be able to add some space to include the page number. Your help in this regard will be highly appreciated. Shoaib Ahma

Re: [iText-questions] Hyperlink without a visible border

2006-06-19 Thread bruno
[EMAIL PROTECTED] wrote: >Hi, > >I'm trying to set a hyperlink on an existing PDF-file. >Therefor I create an instance of the PDFStamper class and create a >rectangle within a PdfAnnotation. >Everything works fine with that, but the Problem is, that when I open >the pdf-file, the rectangle (con

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

2006-06-19 Thread bruno
Palmi H Lord wrote: >Hi evryone >Am new to jave so >am trying this exsample that i found on Itext >http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/copystamp/Register.java > >this is the jar file that i using >http://prdownloads.sourceforge.net/itext/itext-1.4.1.jar > > >Classpat