[reportlab-users] prevent paragraph splitting up
Remi Cool
mailinglists at smartology.nl
Tue Jul 11 11:14:48 EDT 2006
Hello,
I need to create a document containing sections ... and those sections
must not be split up when a section does not fit on the current page
(frame). Non of the sections are larger then a page, mostly 3 or more
sections fit on a page.
It's like this in html:
<p>
<h2>This is section 1</h2>
<p>This is section 1 text</p>
</p>
<p>
<h2>This is section 2</h2>
<p>This is section 2 text</p>
</p>
It's converted by a script to a sorta RML thats fed to platypus ....
that part works like a charm, except sections still get broken up so
that ie. the header is on one page and the text on the other. Is there a
way to let the paragraph know that it must not split so that the
complete section is printed on the next page?
Thanx
- Remi -
More information about the reportlab-users
mailing list