Here is the code I'm using. I get a table with 2 rows, not 3, at the bottom of the page. public void onEndPage(PdfWriter writer, Document document) { Rectangle page = document.getPageSize(); PdfPTable head = new PdfPTable(1); PdfPTable foo
Ken wrote:
> >>As far as I remember you add a footer using page events.
> >>You want to use a 3-row table in this footer.Well, then why don't
> you create a >>3-row PdfPTable and add it with writeSelectedRows?
>
> That's what I'm doing, using code from the examples. I don't see a
> constructor f
>>As far as I remember you add a footer using page events. >>You want to use a 3-row table in this footer.Well, then why don't you create a >>3-row PdfPTable and add it with writeSelectedRows?That's what I'm doing, using code from the examples. I don't see a constructor for PdfPTable that a
Ken wrote:
> Bruno,
>
> I'm still trying to get 3 rows printed as footer. You suggested I
> remove the setFooterRows() call, even though I thought that would
> force the footer table to show 3 rows.
And I close my umbrella even if it's still raining.
Please don't assume that I know what you ar
Bruno,I'm still trying to get 3 rows printed as footer. You suggested I remove the setFooterRows() call, even though I thought that would force the footer table to show 3 rows. bruno <[EMAIL PROTECTED]> wrote: You are trying to add a table with writeSelectedRows in a page event(probably in a
Ken wrote:
> I want to print a running footer with 3 rows of text, plus the "Page X
> of Y". I've copied the tutorial code and the "Page X of Y" prints
> fine, but I only get 2 footer rows, even when I call setFooterRows()
> or sethHeaderRows() on my footer. I've also tried adjusting the bottom
I'm trying to create a footer that contains Page X of Y as well as 3 lines of text. I copied the code from the tutorial and am only getting 2 lines of text. I've tried calling setHeaderRows(3) on the footer, but no luck. What do I need to do?Ken
Do you Yahoo!?
Get on board. You're invi
I want to print a running footer with 3 rows of text, plus the "Page X of Y". I've copied the tutorial code and the "Page X of Y" prints fine, but I only get 2 footer rows, even when I call setFooterRows() or sethHeaderRows() on my footer. I've also tried adjusting the bottom margin in foo