Re: [xep-support] Forcing a table to fit on page

From: G. Ken Holman <>
Date: Mon Apr 13 2009 - 08:04:18 PDT

At 2009-04-13 09:52 -0400, Harvey, Paul wrote:
>We are dynamically generating PDFs and users can set table column widths
>in the application.
>It's quite possible to end up with tables which run of the edge of the
>page - if there are enough columns/sufficient text etc.
>Is there a way to have RenderX force a table to fit on a page, even if
>the total columns/widths/text would otherwise cause it to run off the

There are no XSL-FO constructs for automatically shrinking text or
table boundaries.

If your users are using column widths, your transformation to XSL-FO
could try and calculate the sum of the widths and adjust them accordingly.

If such an automated facility were available, what criteria would you
want automatically changed to force a table to fit on a page?

. . . . . . . . . . Ken

XSL-FO/XSLT/XQuery training in Los Angeles (New dates!) 2009-06-08
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:
Video overview:
G. Ken Holman       
Crane Softwrights Ltd.
Male Cancer Awareness Nov'07
Legal business disclaimers:
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Mon Apr 13 08:45:18 2009

This archive was generated by hypermail 2.1.8 : Mon Apr 13 2009 - 08:45:19 PDT