This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Balancing Columns
At 2002-01-25 00:26 +0900, MURAKAMI Shinyu wrote:
>At Thu, 24 Jan 2002 08:59:39 -0600, W. Eliot Kimber wrote:
> >
> > xxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
> > xxxxxxxxxxx xxxxxxxxxx
> >
> > Not:
> >
> > xxxxxxxxxxx xxxxxxxxxx
> > xxxxxxxxxxx
> > xxxxxxxxxxx
> > xxxxxxxxxxx
>
>try the following code:
>
> <fo:flow flow-name="xsl-region-body">
> <fo:block>xxxxxxxxxxx</fo:block>
> <fo:block>xxxxxxxxxxx</fo:block>
> <fo:block>xxxxxxxxxxx</fo:block>
> <fo:block>xxxxxxxxxxx</fo:block>
> <fo:block>xxxxxxxxxxx</fo:block>
> <fo:block span="all"></fo:block>
> </fo:flow>
>
>HTH,
This is neat!
I note that the balancing favours the end-side columns in XSL Formatter,
for example formatting 7 blocks of equal height creates:
xxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxx
Formatting 5 blocks of equal height creates:
xxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxxx xxxxxxxxxx
Is there any way to bias the balancing to the columns on the start-side of
the page than on the end-side of the page? Or, expressed another way, to
fill start-side columns before the end-side columns? As in:
xxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxxx xxxxxxxxxx
xxxxxxxxxxx xxxxxxxxxx
or Eliot's initial request for:
xxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxxx xxxxxxxxxx
Thanks for the tip!
................ Ken
--
Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO - Feb 18-22, 2002
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6 Definitive XSLT & XPath
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1 Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
articles, training(instructor-live,Internet-live,web/CD,licensed)
Next public training: 02-02-11,12,14,15,18,21,03-04,05,06,08,11,
- 04-08,09,10,12,05-14,15,06-04,07
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list