Daniel Fox wrote:
> Can you give me the location of
> the "as documented" document? :-)
Page 165 if the book "iText in Action".
On page 184, you'll find the FAQ:
"Why is the returned height 0 when I use table.getRowHeight(0)?"
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http
nted" document? :-) thanks in advance -
You ask:
===
What is wrong with the resulting PDF?
===
It has no headers. All the content, no headers whatsoever. Nada. zip.
zilch.
Thanks - dan fox
Message: 2
Date: Thu, 21 May 2009 17:55:21 +0200
From: 1T3XT info
Subjec
You ask:
=
I assume your question concerns the following :
> The s.o.p. for the getTotalHeight always returns zero.
>
> Does anyone have any suggestions? Do you need more information? Thanks
in
> advance - dan fox
>
I can't tell for sure (I have no time to run your c
Alexis Pigeon wrote:
> I can't tell for sure (I have no time to run your code, nor to make my
> own tests), but wouldn't it be because you you create your table with 4
> columns, but only add one cell actually?
I overlooked that, but it's also a very good suggestion!
Incomplete rows aren't rende
Hi Daniel,
2009/5/21 Daniel Fox
[snip]
I assume your question concerns the following :
> The s.o.p. for the getTotalHeight always returns zero.
>
> Does anyone have any suggestions? Do you need more information? Thanks in
> advance - dan fox
>
I can't tell for sure (I have no time to run you
Daniel Fox wrote:
> My onEndPage event looks like this:
Does this work:
> if (document.getPageNumber() == 1){
Shouldn't it be writer.getPageNumber()
instead of document.getPageNumber()?
And also, you set the total width:
> head.setTotalWidth(page.getWidth() - document.leftMargin() -
> do