Hi,
this could be achieved with your own column-calculation algorithm. In
some of our projects, the row numbers are fixed but the column numbers
are dynamically calculated. Basically your program wants to know in advance:
1. The width of the printable area of your media
2. The width of each column.
Then you can dynamically build the pages in your program. The idea:
if ( (sum of fixedColumnWidth + sum of some dynamically generated column
width) >= printable page width){
add the rest of the dynamic columns and the fixed columns to a new page;
}
Hope that helps!
A bit off the topic: I wish in the future iText could support the
dynamic-column type of tables out-of-box. A flag (dynamicCol or
dynamicRow) could be added to the PdfPTable class....
br,
Ellen N. Zhao
David Hang schrieb:
>
> Hi,
>
> If I have a pdf table w/ 100+ columns, the print out would consists of
> more than one page. (even in landscape mode).
>
> Does itext have the option of printing repeating column(s) on each
> page ? I believe the idea is similiar to "Freeze panes" in Microsoft
> Excel. If you "freeze" column A, as you are scrolling right to
> columns X, Y, Z and beyond, column A will ALWAYS be displayed. If
> printed, I would like column A to appear on each and every page.
>
> Other terminologies used are "locked" columns in tables.
>
> Thx in advance.
>
> David
>
>
> GREAT DEALS on AMAZON.COM ! ! !
> <http://www.amazon.com/?&tag=atmyestorecom-20&camp=15345&creative=331689&linkCode=ur1&adid=1DG6YNGP74A359YXTQ4H&>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php