[reportlab-users] Re: reset page numbers

Robin Becker robin at reportlab.com
Tue Apr 18 11:50:40 EDT 2006


David S. wrote:
> Robin Becker <robin <at> reportlab.com> writes:
> 
>> Therefore I suggest you consider a combination of a flowable which sets 
>> a flag when rendered and then the beforePage method of the pageTemplate 
>> can choose to reset the canvas._pageNumber.
> 
> Thanks so much.  I will try your suggestion, but I wanted to float 1 other
> question.  That is, what about sequences?  Is there a neat way to use them for
> this sort of numbering?
> 
> Thanks again,
> David S.

sequences are entirely content related ie section 1, 2 etc. I don't think page 
numbers can be treated properly that way as they are physically related to the 
page throw which happens "between" flowables.
-- 
Robin Becker


More information about the reportlab-users mailing list