Re: [xsl] XSL-FO impagination columns

Subject: Re: [xsl] XSL-FO impagination columns
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Jun 2011 13:36:36 -0400
At 2011-06-17 19:07 +0200, Alberto Priore wrote:
Hi!
I'm using the latest version of
Apache FOPB http://xmlgraphics.apache.org/fop/
I have a question about XSL-FO
Do you know how to make this impagination
https://docs.google.com/a/bizree.it/document/d/1Y-VpdCTj_raYbLBUyar9gh33noNN
asi7uKXjV3heRf4/edit?hl=en_GB&authkey=CLu7tMIF&pli=1
with XSL-FO?
I need 2 contents one is in orange background
the other is in green background.
The important thing is that I need to left blank the center part that
are 3 columns of 5.
(I do not need the background color, I've painted it to explain better
what I need)
If it will not be possible to make this with 2 contents.
I'll do it with only one content that starts from the orange
background text and continue into the green background text.

Can you help me?

If this is only a single page, or even every page, you can do this with a flow map of three rectangular body regions: left, lower and right. The map flows a given content flow to the three body regions in sequence.

See: http://www.w3.org/TR/2006/REC-xsl11-20061205/#fo_flow-map

Also see page 100 of the freely downloaded
excerpt of my XSL-FO book I sell on my web site
for a graphical example ... see "Practical Formatting Using XSL-FO" on:

http://www.CraneSoftwrights.com/training/#excerpts

For those who have bought the actual book this is
on page 231 with a code example on page 245.

For US government employees, you have free access
to a prepaid copy of the complete book, as well
as the prepaid copy of our XSLT book, at:

http://www.CraneSoftwrights.com/training/world.htm#usgov

I do not know if FOP supports flow-maps.

I do not know a way of doing what you need in XSL-FO without using flow-maps.

I hope this helps.

. . . . . . . . . . . . Ken

--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread