How did you count lines, Clay? Just curious 'cause it might be handy someday.
Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) The Web Maestro <[EMAIL PROTECTED]> 04/13/2005 04:24 PM Please respond to [email protected] To [email protected] cc Subject Re: Fitting the text content in ONE page On Apr 13, 2005, at 2:16 PM, Gang Li wrote: > Thanks, this is something close to my approach, but what I really > wanted > is some way to dynamically resize or scale the whole text area into one > page. Similar to "fit in page" when you print an image. > > Thanks, > Gang This feature does not currently exist in FOP 0.20.5, nor do I believe it is being planned for the 1.0 re-design effort. I don't think this feature exists in the XSL-FO 1.0 or 1.1 spec. I had a similar need, and resolved it by counting the number of line(s) to be output in the region-before & region-after sections, and growing or shrinking those areas (and the corresponding margin-top & -bottom attributes) to suit. It worked pretty well for my needs. Web Maestro Clay -- <[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/> My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
