[reportlab-users] Platypus idea "splitting preferences"

Henning von Bargen H.vonBargen at t-p.com
Fri Jan 15 05:14:36 EST 2010


Roberto Alsina wrote::

> So, I was thinking maybe something like this set in the flowable

> (property names suck!)



> not-break-head 120

> not-break-tail 100



> which would mean:



> a) If there is less than 120 points left in the frame, don't split

> the flowable and break to the next frame instead.



> b) If you split and the remaining piece is less than 100 points tall,

> then break a little earlier so the fragment on the next page is

> larger. This could be done by re-calling split with a shorter

> available height.



> a) is much more important than b) I think.


And I think b) could be quite difficult to implement.

Henning



More information about the reportlab-users mailing list