Hi
I've attached an example that describes the behaviour I was asking about. I
supposse I could rephrase my question like this, is there any way to make an
image fit into a cell when generating a RTF document? I mean, something like
the PdfPCell(image, true) constructor.
Thanks.
Hi,
I'm generating the same documents in RTF and PDF using iText 1.4.5, and I've
noticed that images behave differently in RTF and PDF Cells. In the RTF
documents, when the cell is too small to contain the image, the image's
width is resized, but only its width. In the PDF documents, both, the
Hi
I'm actually facing the same problem. No matter what value I set for the top
and bottom margins, the header and footer of the RTF documents I'm
generating are set to half an inch. The body of the document reflects the
changes in the margin values though. I was wondering if this is the
Solved, Thanks.
Kharas wrote:
Hi
I'm trying to change the horizontal alignment of a table cell containing
just an Image, but the call to Cell.setHorizontalAlignment(int) has no
effect. It works fine when I add some text to the cell thought.
Here is the code:
import
Hi
I'm trying to generate a table in a RTF document. I'm using the Table class.
I want the table to expand the whole page's width. I've tried using
setWidth(100) and setAbsWidth(100), but in both cases the table's width is
only around 80% of the page's width. Any ideas how to do this?
Thanks.
I'm putting the table in the header.
Mark Hall-2 wrote:
On Monday 04 September 2006 13:21, Kharas wrote:
I'm trying to generate a table in a RTF document. I'm using the Table
class. I want the table to expand the whole page's width. I've tried
using
setWidth(100) and setAbsWidth(100
Hi
I'm adding a Cell containing an Image to a Table object that I'm adding to a
header. I wanna know the exact width of the cell, so I can dimension the
remaining cells of the row accordingly. I've tried to retrieve the Cell and
Table witdh using the methods Cell.cellWidth(), Table.absWidth()
Hi
I've just added a watermark to a document. It looks great, but when I print
it, the background of the rectangle containing the watermark is light grey
instead of white.
I've tried to use a png with a transparent background, but I get the same
result.
I would really appreciatte any insights