[iText-questions] Unbounded table width and height

2003-01-22 Thread bruce_woods
I am working on generating a dynamic pdf report that can potentially have numerous rows and columns.In cases where the width of the table will far exceed any normal page size, I would like the table to span several pages in width. The "jumbo" report may be pieced together for display purposes. Se

RE: [iText-questions] Problem in creating Chinese font in Linux

2003-01-22 Thread phillip
> The &#x are actually 4 chinese characters. I just type directly in the > program. You can view them by changing the browser encoding to unicode. OK > if I use \ux for traditional chinese characters, how do I know or > translate the characters to \ux because I am not weill in java?

RE: [iText-questions] Problem in creating Chinese font in Linux

2003-01-22 Thread Ray Chan
The &#x are actually 4 chinese characters. I just type directly in the program. You can view them by changing the browser encoding to unicode. OK if I use \ux for traditional chinese characters, how do I know or translate the characters to \ux because I am not weill in java? Also, w

RE: [iText-questions] Problem in creating Chinese font in Linux

2003-01-22 Thread Paulo Soares
Unicode characters are defined in Java with \u not &#x;. Test the pdf in windows with Acrobat and the Asian font pack, this is the reference. Using TT fonts will increase the pdf size, although the font is subset, but it will work everywhere without font packs. Best Regards, Paulo Soares

[iText-questions] Problem in creating Chinese font in Linux

2003-01-22 Thread Ray Chan
I am using java1.4.1_01 and iText to create pdf form with Traditional Chinese font. I need to produce pdf documents in servlets under Red Hat 8.0 I have try the example chap0909 in the tutorial and change it to produce a simple text-only pdf file under Red Hat 8.0. However, the sample test is f

RE: [iText-questions] About trimming cell contents

2003-01-22 Thread Paulo Soares
Use a PdfPTable and for each cell set the fixed height with PdfPCell.setFixedHeight(leading + top padding + bottom padding + 0.01). Best Regards, Paulo Soares > -Original Message- > From: Oscar [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 17:27 > To: Lista de Correo ITEX

[iText-questions] About trimming cell contents

2003-01-22 Thread Oscar
The fact is that I need the cells not to expand into more lines, I mean that every cell (they only have text content in phrases) has to fit in one line despite of its content so I need to trim it when it´s larger than the cell´s width. When you are printing pdf large table´s it´s really anno

RE: [iText-questions] Another issue with cell content triming

2003-01-22 Thread Paulo Soares
This is not the right approach and you'll need PdfPTable to do it. What kind of trimming do you want to do? Single line? Trim by word or truncate at X characters? Best Regards, Paulo Soares > -Original Message- > From: Oscar [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 16:

[iText-questions] Another issue with cell content triming

2003-01-22 Thread Oscar
Related with the issue that I commented before I´m trying to change the content of a cell after being added to the table, is it posible to be done ? there are no methods for content substitution for Cells, Can you put some light over this issue please?. May be it´s a wrong approach but I rea

[iText-questions] How to trim text that doesn´t fit cell´s wide

2003-01-22 Thread Oscar
Is there any built in capability of itext to trim those texts that are longer that a cell´wide during data insertion into the the table?? if there isn´t It would be useful to know if there is a way to obtain real measures of the cell´s wide or the table´s width. Thank´s in advance...

RE: [iText-questions] postscript

2003-01-22 Thread Paulo Soares
iText requires an AFM and a PFB file. If you only have a PFM convert the PFB to an AFM with ftp://ftp.neuroinformatik.ruhr-uni-bochum.de/pub/software/t1lib/t1lib-1.0.1. tar.gz. Note that an "original" afm contains more information than pfb and pfm. Best Regards, Paulo Soares > -Original Messa

RE: [iText-questions] Graphics2D-Objects and Tables

2003-01-22 Thread Paulo Soares
Post the smallest possible runnable standalone sample java program with the problem. Only running the code here I can see what the problem is. You may send it privately to me. Best Regards, Paulo Soares > -Original Message- > From: Wolfram Rittmeyer [SMTP:[EMAIL PROTECTED]] > Sent: Wednes

[iText-questions] Graphics2D-Objects and Tables

2003-01-22 Thread Wolfram Rittmeyer
Hi, I have some problems with adding graphics. I have a page which consist mostly of a map and a legend and two tables explaining some data. Now I use PdfContentByte-objects and PdfTemplates to create a Graphics2D-object to draw into these areas. I also add a PdfPTable-object. The Map uses one he

RE: [iText-questions] Creating large PDF with table.

2003-01-22 Thread Paulo Soares
The size of the file can't be reduced, after all it's 3 rows. The processing time, however, can be reduced. Using Table, create a page at a time using PdfWriter.fitsPage(). You can also try using a PdfPTable that is faster than Table. Best Regards, Paulo Soares > -Original Message- >

Re: [iText-questions] total pagenumber on every page

2003-01-22 Thread Bruno
Quoting Mats Beckman <[EMAIL PROTECTED]>: > Hi! > I would like to print current pagenumber and total page number on every page > (like "1(4)" on the first page where the total number of page is 4). > Is it possible to do this? I don´t know the total number of pages before I´m > finished. Can I wri

[iText-questions] total pagenumber on every page

2003-01-22 Thread Mats Beckman
Hi! I would like to print current pagenumber and total page number on every page (like "1(4)" on the first page where the total number of page is 4). Is it possible to do this? I don´t know the total number of pages before I´m finished. Can I write on the first even if I´m currently writing on

RE: [iText-questions] iText Bar Code Question.

2003-01-22 Thread Paulo Soares
There are example at www.geocities.com/itextpdf. Best Regards, Paulo Soares > -Original Message- > From: Basker Ganesan [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 19:32 > To: [EMAIL PROTECTED] > Subject: [iText-questions] iText Bar Code Question. > > Hi , > I need

[iText-questions] Creating large PDF with table.

2003-01-22 Thread prabhakaran ramalingam
hi all, I am going through iText tutorial for PDF generation. In one of my project we want to create large pdf. its basically a report and I need to create the report in the form of table with large no.of rows spannig multiple pages. I have used (iText)Table and Cell classes for constr

[iText-questions] postscript

2003-01-22 Thread Mats Beckman
Hi! I'm trying to use postscript (ArialMT) instead of true type. But I fail. Code: bf = BaseFont.createFont("c:\\winnt\\fonts\\ari_.PFM", BaseFont.CP1252, BaseFont.NOT_EMBEDDED); The font-file (c:\\winnt\\fonts\\ari_.PFM) is installed on my computer. Doesn´t postscript work with iText o

Re: [iText-questions] Adding signature fields.

2003-01-22 Thread Finn Bock
Paulo Soares wrote: Sorry, a lot more than a picture is needed. I assumed as much, but I don't know what more is needed. After all, a /Sig field with a border around is all that Acrobat itself AFAICT inserts when a signature annotation is added. I would like to point out that I only want to