I have tried whatever I could in last two days, but unfortunately I'm still
stuck with this, something silly I'm doing for sure because I love and trust
iText to the core. So here is my problem explained via a simple code, and
hope someone has an answer to it:
Public Class TableBackground
tions@lists.sourceforge.net
Subject: [iText-questions] WriteSelectedRows and HeaderRows
It seems that HeaderRows do not work when writing selected
rows/cols on
several pages.
Is there any workaround for doing this?
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter infor
s@lists.sourceforge.net
> Subject: [iText-questions] WriteSelectedRows and HeaderRows
>
> It seems that HeaderRows do not work when writing selected
> rows/cols on
> several pages.
> Is there any workaround for doing this?
Aviso Legal:
Esta mensagem é destinada exclusivamente
It seems that HeaderRows do not work when writing selected rows/cols on
several pages.
Is there any workaround for doing this?
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems
have a look to
PdfDocument.addPTable() and modify it to suit your positioning.
Best Regards,
Paulo Soares
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 19:36
Subject: [iText-questions] writeSelectedRows() and page splitting
>
Hello,
I would like to use writeSelectedRows() with my PdfPTable, so that I can specify
exactly where I want to place the table on the page. However, when I do and the table
is too big to fit on that page, it is not automatically split at the end of the page.
If I use document.add(table), the
You must call setTotalWidth() before writing the rows. The table can't guess
the size.
Best Regards,
Paulo Soares
> -Original Message-
> From: Jpenuela [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 10:57
> To: [EMAIL PROTECTED]
> Subject:
I get the error
"java.lang.RuntimeException: The table width must be greater than
zero." when I call PdfPTable method writeSelectedRows(0, -1,
0,740, cb) but it works fine when I call Document .add(element) with the same
PdfPTable.
Any idea?
Here is the code (cb is PdfContentByte initia