[iText-questions] Regarding image insertion

2002-09-05 Thread anshul patni
Hello Friends, I have started with iText from yesterday. The jpeg image i m inserting into the document is very large or u can say i m getting images of different sizes. I want the page to be automatically adjusted with the size of the image. NOT the image to be adjusted on the page already

Re: [iText-questions] Regarding image insertion

2002-09-05 Thread Bruno
Quoting anshul patni [EMAIL PROTECTED]: Hello Friends, I have started with iText from yesterday. The jpeg image i m inserting into the document is very large or u can say i m getting images of different sizes. I want the page to be automatically adjusted with the size of the image.

RE: [iText-questions] PDFPtable vs Table

2002-09-05 Thread Paulo Soares
PdfPTable has other way of setting the header size and some method names are also different. See the javadoc for PdfPTable and PdfPCell. For your particular case: PdfPTable.setHeaderRows(number_of_top_rows) PdfPTable.getDefaultCell().setBorderWidth(2)

[iText-questions] ITEXT Problems / Questions - WebSphere

2002-09-05 Thread Radu-Pisano
I manage a site that is using ITEXT for creating PDF's. The current environment that we have is two WebSphere Application Servers 4.0.3 with the IBM HTTP Server on the same machine. These servers have 2 real IP's and are bound to a Load Balancer with a Virtual IP and its respective DNS name. We

[iText-questions] Printing a Component to PDF

2002-09-05 Thread Lars Sitzmann
Hello, I have got Java-code that currently does formattted printing through JSE1.2-PrinterJob's. I implement the Method public int print(Graphics g, PageFormat pageFormat, int pageIndex) { of the Interface java.awt.print.Printable. Now I want to redirect the output into a PDF-file. What I

RE: [iText-questions] Printing a Component to PDF

2002-09-05 Thread Paulo Soares
You are missing the g2d.dispose() that is needed for the pdf. Best Regards, Paulo Soares -Original Message- From: Lars Sitzmann [SMTP:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 17:14 To: [EMAIL PROTECTED] Subject: [iText-questions] Printing a Component to PDF

[iText-questions] Adding TIFF pass through support

2002-09-05 Thread Paul Keeley
What would take to add native TIFF support to itext? The JAI routines work but they are slow and use a lot of memory because they uncompress the TIFF, etc. I would like to query the TIFF header fields to get only the information necessary to embed the image in the PDF file and then pass the

Re: [iText-questions] Adding TIFF pass through support

2002-09-05 Thread Leonard Rosenthol
At 4:00 PM -0400 9/5/02, Paul Keeley wrote: What would take to add native TIFF support to itext? Code to read and potentially break up TIFF images. TIFF is a VERY complex format, and can not be passed through in all cases to PDF files - some things in TIFF aren't supported by the

Re: [iText-questions] Adding TIFF pass through support

2002-09-05 Thread Paulo Soares
You can have direct access to the jai codecs to get the tiff tags and values. The problem is that most of the tiff use banding and some use tiling so that you end up by decompressing/assembling/compressing. It will be faster than using an awt image but maybe not as fast as you would expect. Best

RE: [iText-questions] Anchor.setReference not loading local file reference

2002-09-05 Thread Dang Nguyen
Title: RE: [iText-questions] Anchor.setReference not loading local file reference I found the cause of my problem. This is what worked for me: Chunk ck = new Chunk(cur_frd.filename(), FontFactory.getFont(FontFactory.HELVETICA, 10, Font.UNDERLINE, new java.awt.Color(0, 0, 255))); try {