[reportlab-users] Line break in Paragraphs

Dinu Gherman reportlab-users@reportlab.com
Mon, 5 Apr 2004 10:23:31 +0200


Florian Reiser:

> I have a mechanism, which constructs my table headers from a list.
> One paragraph per cell.

Then maybe saying so from the beginning is not a bad idea(tm)?

> If I use multiple paragraphs, then I can't use my mechanism any more
> and I have to fight with the line height.

You could have a different mechanism for creating multiple paragraphs
and adjusting the row height accordingly. Otherwise you need one for
placing the line-break (with the row height still changing). Either
way you have to fight.

> It would be simpler, if the paragraph could do a line-break, like HTML
> with <br>

You know, there's no free lunch... ;-)

Dinu

--
Dinu C. Gherman - http://python.net/~gherman
......................................................................
"Terrorism is the war of the poor, and war is the terrorism
of the rich." (Peter Ustinov)