Re: [iText-questions] Graphics2D alignment problem

2006-11-27 Thread Bruno Lowagie
Cheung, Jennifer wrote: The program I’m developing produces formatted printouts of the data contained using a Graphics context. When the call came to also try and output the data in a PDF, I found your library and followed the example in the online tutorial by using the same code to

[iText-questions] Flattening combo box, list and checkbox fields

2006-11-27 Thread Dajana Delic
Hi, How should I set combo box, list and checkbox fields to have them displayed on a flattened form after calling setFormFlattening(true)? Thanks, Dajana - Take Surveys. Earn Cash. Influence the Future of IT Join

[iText-questions] help

2006-11-27 Thread houcine houcine
hello every body I am working with itext1.3 in web project , I create a PDF in servlet and I send it to browser to be displayed, my problem is when I use Firefox the pdf can be displayed correctly but when I try it in IE, I can't get my genereated file displayed in this browser. Can anyone

Re: [iText-questions] [iText] Problem in adding text watermark on a PDF

2006-11-27 Thread Patrick Kaegi
yes! you're right. the problem only exists if we use our special font. we do it like this: String normalFontName = Frutiger-Cn; String normalFontFile = externals/fonts/Ftc_.ttf; String boldFontName = Frutiger-BlackCn; String boldFontFile =

[iText-questions] RTF- table of content

2006-11-27 Thread Henry Lu
Is there a way to generate tale of content in RTF? -Henry Mark Hall wrote: On Tuesday 21 November 2006 20:08, Henry Lu wrote: Will display the height of the row much larger than the first one. My question is how do we display an blank row with specified height? The reason is that the

[iText-questions] Resolution

2006-11-27 Thread Sam Green
Hi all, I have a quick question about image resolution with iText: I have a png image of high quality, that I am adding to my PDF document using Image.getInstance( filename ).When I do this, I notice a huge drop in image quality. I'm assuming that iText is sampling my original image at

Re: [iText-questions] always space after bold phrase (even on a new line)

2006-11-27 Thread Patrick Kaegi
ok! me again! i think now we have the solution: it's the font size which makes the problem. try this code: public class PdfTest { public static void main(String[] args) { Document document = new Document(); try { PdfWriter.getInstance(document, new

Re: [iText-questions] RTF- table of content

2006-11-27 Thread Mark Hall
On Monday 27 November 2006 15:04, Henry Lu wrote: Is there a way to generate tale of content in RTF? http://itextdocs.lowagie.com/tutorial/rtf/index.html Greetings, Mark -- Noise proves nothing. Often a hen who has merely laid an egg cackles as if she laid an asteroid. -- Mark

[iText-questions] PdfContentByte.AddTemplate

2006-11-27 Thread Lewis Sun
When I use cb.AddTemplate(page,0,0) I still get the page shrink. It appears that there are margins at the edge. Can anyone help me to element those margins? Thanks. Lewis - Take Surveys. Earn Cash. Influence the Future of IT

Re: [iText-questions] [iText] Problem in adding text watermark on a PDF

2006-11-27 Thread Bruno Lowagie
Patrick Kaegi wrote: the problem only exists if we use our special font. I haven't seen that kind of behavior before. should I send you also the font files? Frutiger is not a free font. Please don't send it. I think I have it somewhere at work. I'll do my test with it tomorrow. br, Bruno

Re: [iText-questions] PdfContentByte.AddTemplate

2006-11-27 Thread Bruno Lowagie
Lewis Sun wrote: When I use cb.AddTemplate(page,0,0) I still get the page shrink. It appears that there are margins at the edge. Can anyone help me to element those margins? Thanks. Many printers have difficulties printing close to the border of a piece of paper. Therefore the page is shrunk

Re: [iText-questions] help

2006-11-27 Thread Bruno Lowagie
houcine houcine wrote: hello every body I am working with itext1.3 in web project , I create a PDF in servlet and I send it to browser to be displayed, my problem is when I use Firefox the pdf can be displayed correctly but when I try it in IE, I can't get my genereated file displayed

[iText-questions] How to extract data

2006-11-27 Thread Bernhard Wellhöfer
Hello, I have a PDF document with ~900 pages. The document lists in a long table the personal data of people. My job is it now to extract the first and last name into a structured document (e.g. XML, Excel, csv ...). I already managed to open the document via iText. After studying the

Re: [iText-questions] Resolution

2006-11-27 Thread Bruno Lowagie
Sam Green wrote: Hi all, I have a quick question about image resolution with iText: I have a png image of high quality, that I am adding to my PDF document using Image.getInstance( filename ).When I do this, I notice a huge drop in image quality. iText doesn't downsize images. The

Re: [iText-questions] How to extract data

2006-11-27 Thread Bruno Lowagie
Bernhard Wellhöfer wrote: Hello, I have a PDF document with ~900 pages. The document lists in a long table the personal data of people. My job is it now to extract the first and last name into a structured document (e.g. XML, Excel, csv ...). I hope you didn't accept that assignment yet.

Re: [iText-questions] always space after bold phrase (even on a new line)

2006-11-27 Thread Bruno Lowagie
Patrick Kaegi wrote: ok! me again! i think now we have the solution: it's the font size which makes the problem. OK, with the difference in font sizes, I was able to reproduce the problem. I'll have a look at it tomorrow (I have to go to a meeting in a few minutes). br, Bruno

Re: [iText-questions] Resolution

2006-11-27 Thread Sam Green
Bruno Lowagie wrote: Sam Green wrote: Hi all, I have a quick question about image resolution with iText: I have a png image of high quality, that I am adding to my PDF document using Image.getInstance( filename ).When I do this, I notice a huge drop in image quality. iText

Re: [iText-questions] Flattening combo box, list and checkbox fields

2006-11-27 Thread Bruno Lowagie
Dajana Delic wrote: Hi, How should I set combo box, list and checkbox fields to have them displayed on a flattened form after calling setFormFlattening(true)? I don't see the problem. Just use setField to set change the value fo the combo box, list or checkbox, as you would use setField

Re: [iText-questions] PdfContentByte.AddTemplate

2006-11-27 Thread Lewis Sun
Bruno, Thanks for your quick response. I try that option. The added PDF file is not shrunk anymore. But it miss part of the bottom. It still have margin on the top. Do you know if I can add content at the very top of a blank page? Thanks. PdfWriter writer =

Re: [iText-questions] How to extract data

2006-11-27 Thread Bernhard Wellhöfer
Thx for the information! -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Bruno Lowagie Gesendet: Montag, 27. November 2006 16:30 An: Post all your questions about iText here Betreff: Re: [iText-questions] How to extract data Bernhard

[iText-questions] Bug with nested Table in Paragraph and Indent?

2006-11-27 Thread csowada
Hello, i have a problem with a paragraph that contains a pdfptable. I set the indentationLeft of the paragraph to indent the table, but the next paragraphs are double indented. Here is a demo application

Re: [iText-questions] Resolution

2006-11-27 Thread Leonard Rosenthol
At 3:47 PM + 11/27/06, Sam Green wrote: My PNG file is vector based, Not possible. PNG is a bitmap/raster format - it can NOT include vector data. Leonard -- --- Leonard Rosenthol

Re: [iText-questions] Resolution

2006-11-27 Thread Bill Ensley
Please post your Image. I can probably help you, but I would like to see it before I try to answer your question. Question 1) what is the physical size in pixels of your PNG? Question 2) what is the rendered size in the PDF that you want it to be? -Bill Ensley Bear Printing -Original

Re: [iText-questions] Resolution

2006-11-27 Thread Sam Green
Whoops, that makes me embarassed and totally mistaken. Bill: I'll post all the relevants tomorrow. Thanks for your help guys. Leonard Rosenthol wrote: At 3:47 PM + 11/27/06, Sam Green wrote: My PNG file is vector based, Not possible. PNG is a bitmap/raster

Re: [iText-questions] PdfContentByte.AddTemplate

2006-11-27 Thread Bruno Lowagie
Lewis Sun wrote: Bruno, Thanks for your quick response. I try that option. The added PDF file is not shrunk anymore. But it miss part of the bottom. It still have margin on the top. This is not an iText related problem: I bet the top part is not missing on the screen, only when you are

Re: [iText-questions] Bug with nested Table in Paragraph and Indent?

2006-11-27 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hello, i have a problem with a paragraph that contains a pdfptable. Why would you want to wrap a PdfPTable inside a Paragraph? Here is a demo application I'll have a look at it tomorrow. br, Bruno

[iText-questions] Vertical Split

2006-11-27 Thread sfunds
Hi, I have a pdf file In which a page is divided into two vertical halves.If I put view by page width the whole lengthwise doesnt appear.(obvious) I need to split the page vertically into 2 parts page 1A and page 1b so that left part of page comes first and followed by right side of page so it

Re: [iText-questions] Vertical Split

2006-11-27 Thread Bruno Lowagie
sfunds wrote: Hi, I have a pdf file In which a page is divided into two vertical halves. Something like this: +--+--+ | | | | | | +--+--+ This is 1 page as far as PDF is concerned. If I put view by page width the whole lengthwise doesnt appear. That would depend on the size of your

[iText-questions] Adding a check box or radio button to a cell in a table

2006-11-27 Thread Rosti Gendler
Hello, Is there any way a check box or radio button can be added as part of the table? Added to a table cell for example? I'm looking into an example provided in Javadoc for RadioCheckField class. It seems like one would need to specify the absolute location in the document (as part of Rectangle

[iText-questions] Font size in a table

2006-11-27 Thread Jose Gutierrez
Hello, i need help, im working with tables and my code to generate the table is the same than the example My first table, but i cant change the font size, can anyody help me to do this? i really apreciate if someone could paste a code example! or at least a piece of it. Jose Guadalupe Gutierrez

[iText-questions] book

2006-11-27 Thread Henry Lu
Has the book been published? I have not received it. -Henry Mark Hall wrote: On Monday 27 November 2006 15:04, Henry Lu wrote: Is there a way to generate tale of content in RTF? http://itextdocs.lowagie.com/tutorial/rtf/index.html Greetings, Mark

[iText-questions] RTF RtfShape Question

2006-11-27 Thread ken cochrane
Hello, I am trying to create an RTF document with a table that looks like the following. http://kencochrane.net/itext/RTFTableExample.gif . Basically it is a Table with a Line that goes across multiple cells, and a Circle in one of the cells. This document is currently created by hand using MS

Re: [iText-questions] Font size in a table

2006-11-27 Thread Patrick Mugabe
You can add font when you instantiate your Cell object. There is a Cell constructor that takes a Phrase for instance. As an example: Font colfont = new Font(Font.HELVETICA, 8); //you can change Font size Cell cell= new Cell(new Phrase(Text to add to cell, colfont)); table.addCell(cell);

[iText-questions] Problems with MAXLEN

2006-11-27 Thread Ronny
Hello, I filling an Pdf (V1.6) using iText 1.4.4. Somethimes the values exceed the MAXLEN value of a textfield. The problem I have is that the display value is still the untruncated value. Why is the value truncated but the display value not? From my point of view is this handling not quiet