Re: XSL-FO Table Problem / Many columns on one page
I'm having a problem with layouting tables with XSL-FO. I'm working with tables with lost of columns, which ends up in the table being to big for a normal page and the rest of the table is not displayed cause it's outside of the paper. Btw, i'm going to render the table into a pdf with FOP or XEP, so it's not a problem cause of incompatibility of FOP. Is there a way, i can tell the prozessor that if the columns are too long for one page, that the columns (not the rows) are continued on the next page?
Imagine a simple table with 5 rows but 50 columns which just hold one number in every cell. even with wrapping and hyphenation on, it will simply be to big for one page, but i still want to print it... splitted over numorous pages.
Then you'll have to parcel it out.
the problem is, i need to "divide" the rows between some columns onto more than one page--
Right ... not a pretty sight.
i hope you understand what i meant. if not, please ask.
I'm pretty sure I've understood ... and FO doesn't offer such a contingency or feature to split columns over pages.
I have, however, published a methodology of specifying an alternative page geometry when you are in the middle of a given page geometry ... and the exemplar is when an author wants to indicate in the middle of using a portrait-sized geometry that the table they are working on needs a landscape geometry. Look for the Page Sequence Master Interleave (PSMI) semantic in the XSL-FO section of the Free resources page linked from our home page below.
Using that you will be able to squeeze more columns on the page ... but it won't give you columns spread over two pages.
I hope this helps.
. . . . . . . . Ken
-- Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16 Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25 Also for XSLT/XSL-FO training: Copenhagen,Denmark 2006-05-08/11 World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format