I fail to see the problem but I can give you some clues:
- lower the top and bottom margin, see Document.setMargins(), before opening
the doc
- PdfPTable.setWidthPercentage()
- PdfPTable.setHorizontalAlignment()
Best Regards,
Paulo Soares
----- Original Message -----
From: "George Shafik" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, September 04, 2004 12:49
Subject: Re: [iText-questions] PdfPTable absolute position multiple spaning
page example
Hi Paulo,
Still doesn't work - please provide a simple example of creating a table in
the middle of the first page of a pdf (right align), make the table width
half the size of a A4 page and have the table span 2 pages. I've tried your
solution with all the current versions of iText and I get the same result,
the table just appears in the middle of the page starting at the top of the
given pdf page. (table can have 3 columns so that you don't have to code
much) Also I am using table event.
This is a very critical problem that needs a solution so any help would be
greatly appriciated.
Kind Regards,
George Shafik
----- Original Message -----
From: Paulo Soares
To: George Shafik ; [EMAIL PROTECTED]
Sent: Monday, August 30, 2004 8:03 PM
Subject: RE: [iText-questions] PdfPTable absolute position multiple
spaning page example
Place the table at an absolute position with
PdfPTable.writeSelectedRows(). You can do whatever you want that way.
Best Regards,
Paulo Soares
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
Shafik
Sent: Monday, August 30, 2004 3:07 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] PdfPTable absolute position multiple spaning
page example
Hi All,
I urgently need the following sample of code.
Using PdfPTable with say 7 columns and enough rows to span more than 1
PAGE.
I need to position the PdfPTable as I see fit on the initial page it
first appears on while also altering the width of the PdfPTable. For example
lets say I want this PdfPTable to appear on the middle of the second page
and its fully LEFT aligned to the physical page where the PdfPTable is half
the size of the physical page. For demo purposes a dummy array of data will
do fine.
Many many many thanks in advance for any one who takes up the challenge!
Also please state what version of iText.jar you are using.
Kind Regards,
George Shafik
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions