[reportlab-users] Re: Getting the number of lines in a frame

John Pywtorak jpywtora at calpoly.edu
Thu Aug 24 12:51:54 EDT 2006


You need some spaces in your text.  I think if you had a normal 
sentence, or paragraph with spaces it would work.  Platypus does not do 
ellipsis i.e. "heading..."

Saketh Bhamidipati wrote:
> 
> 
> On 8/24/06, *Henning von Bargen* <H.vonBargen at t-p.com 
> <mailto:H.vonBargen at t-p.com>> wrote:
> 
>     This is expected and documented behaviour.
> 
>     If you want your text line-breaked,
>     just use a platypus.Paragraph object instead of a string object
>     for your cell data. This will break your text as expected.
...
> Hmm. It still isn't wrapping, even though I create Paragraphs out of the 
> text.
> 
...
> That yields the attached PDF file.
> 
> Furthermore, I get an error that there aren't enough columns if I omit 
> the second (paraheading, texts) tuple in the "data =" line.
> 
> 



More information about the reportlab-users mailing list