<Fo:Block> Overflow onto new page (Formatting Objects)

M

morrell

I have a request to find out is there an easy way to solve this little
poblem.


___________________
| Block 1 |
| |
| |
| |
|__________________|
| Block 2 |
| |
|__________________|

Block 1 is a variable size.
Block 2 is a constant size.

How would I keep block 2 as a solid block with no overflow onto another
page if Block 1 is too big for one page.

eg.
Page 1
___________________
| Block 1 |
| |
| |
| |
|__________________|
| Block 2 |
|__________________|


Page 2
____________________
| Block 2 |
|__________________|

Where I want the whole of Block 2 together as a solid block so i'm
looking for:-


Page 1
___________________
| Block 1 |
| |
| |
| |
|__________________|

Page 2
____________________
| Block 2 |
| |
|__________________|

Any help would be great.

Morrell
 
M

Magnus Henriksson

morrell said:
I have a request to find out is there an easy way to solve this little
poblem.


___________________
| Block 1 |
| |
| |
| |
|__________________|
| Block 2 |
| |
|__________________|

Block 1 is a variable size.
Block 2 is a constant size.

How would I keep block 2 as a solid block with no overflow onto another
page if Block 1 is too big for one page.

eg.
Page 1
___________________
| Block 1 |
| |
| |
| |
|__________________|
| Block 2 |
|__________________|


Page 2
____________________
| Block 2 |
|__________________|

Where I want the whole of Block 2 together as a solid block so i'm
looking for:-


Page 1
___________________
| Block 1 |
| |
| |
| |
|__________________|

Page 2
____________________
| Block 2 |
| |
|__________________|

Any help would be great.

Morrell

See http://www.w3.org/TR/xsl/slice7.html#keep-together

// Magnus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,005
Messages
2,570,264
Members
46,860
Latest member
JeremiahCo

Latest Threads

Top