Re: [iText-questions] changing headers

2009-05-21 Thread 1T3XT info
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

Re: [iText-questions] changing headers

2009-05-21 Thread Daniel Fox
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

Re: [iText-questions] changing headers

2009-05-21 Thread Daniel Fox
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

Re: [iText-questions] changing headers

2009-05-21 Thread 1T3XT info
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

Re: [iText-questions] changing headers

2009-05-21 Thread Alexis Pigeon
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

Re: [iText-questions] changing headers

2009-05-21 Thread 1T3XT info
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