[reportlab-users] Paragraphs and Spaces

Rob Schall rschall at callone.net
Tue Sep 19 11:56:05 EDT 2006


Yes, numbered paragraphs. I actually use the numbering elsewhere in my 
program. If I didn't have to do that, then the auto numbering paragraphs 
would be a much easier solution to implement. :)


Robin Becker wrote:
> Rob Schall wrote:
>> There probably is a better solution than this one, but since I'm 
>> still newer to reportlab, I just threw something together.
>>
>> In short, I don't believe its possible. You have to break it up into 
>> several paragraphs. All of the numbered stuff I had in an array 
>> actually. Then I looped threw it and positioned all of that text 
>> about 20points from the normal margin. The numbers were placed 
>> separately by getting the height of the paragraph about to be written 
>> and writing it at the left margin and at the top height of the 
>> paragraph.
>>
>> Kind of a messy way to do it, but I don't figure out a better way to 
>> handle this.
>>
>> Rob Schall
>
>
> are you talking about numbered bullets? I think that can be done using 
> paragraphs.
>
> There's an example in test_paragraphs.py which prodces 
> lettered/numbered paras with outdenting etc



More information about the reportlab-users mailing list