[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL FO keep-together=int Implementation?

Subject: Re: XSL FO keep-together=int Implementation?
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Mon, 13 Jun 2005 22:47:51 +0200
fo keep together
Alex Milowski wrote:
However, I don't think this is portable, and the FO processor
might decide to start a new page anyway once it detects the block wont
fit completely onto the current page (as FOP 0.20.5 does).


I'm not sure what "portable" means here.

It means: get the same layout from all possible FO processors.


Are you asking for the XSL FO example that demonstrates the use case
or the algorithm for the use case?

The FO example.


[ooo]
> If I remember the discussion of this when XSL FO was being developed,
> the idea is that you have to iterate over the block sequence some number
> of times to really do this nicely.  A bad choice for break might cause
> really bad things to happen to keeps constraints, floats, and/or cause
> odd spaces
> on pages to obey the keeps.

Exactly. Unfortunately, the spec doesn't give hints what "really bad
things" should be avoided, in particular regarding "odd spaces".

> One way out of this is to keep track of "bad placement" of blocks.
> Beyond some threshold, you might re-place a subsequence of them to
> try to achieve a better flow of areas.

Yes, but this means either keeping a lot of data in memory or costly
backtracking.

J.Pietschmann

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.