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
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.
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)
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
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
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
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
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
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
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 {
10 matches
Mail list logo