Hi Georg,
Georg Datterl wrote:
Hi Vincent (and others, if somebody wants to join, it's not a private
conversation),
I have no idea, how elastic space is defined, but I guess, orphan-widow-control would then take care of that problem? I'll have to check but I think,
there's no case, where a wide block in a two-column layout should break after one line.
Actually you would play with the space-before/after properties:
<fo:block space-before.minimum="0.8em"
space-before.optimum="1.0em"
space-before.maximum="2.0em">
That's possible. I could, by default, translate a given space-before of x into a
space-before.minimum=".9*x" space-before.optimum="x"
space-before.maximum="1.1*x"
Alright, it's not an error then and is quite sensible actually. I'm hoping
that FO tree specialists will chime in to give you hints on that regard.
Hopefully there's not much to do to get this inheritance behaviour.
Actually, the inheritance is working fine. I have a tree structure with flow and blocks and foxNeedsBalancing is set correctly. But PageBreaker calls LayoutContext.getFoxNeedsBalancing(), so somewhere I have to call LayoutContext.setFoxNeedsBalancing(Block.getFoxNeedsBalancing()). I'm just not yet sure, where.
At that point, you may want to create a bug report on FOP’s bugzilla and
attach a patch with your current modifications, so that we can have
a look at it and provide you with early guidance.
https://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop
<snip/>
Vincent