|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL FO keep-together=int Implementation?
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). 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








