[reportlab-users] build vs. multiBuild with TableOfContents()

Sebastian Ware sebastian at urbantalk.se
Fri Oct 12 11:49:28 EDT 2007


Hi!

I am working to render my TableOfContents(). All I get is the
placeholder text.

I can see from the test that you are using...

doc.multiBuild(story)

...whereas I have used (SimpleDocTemplate())...

doc.build(story, onFirstPage=self.myFirstPage,
onLaterPages=self.myLaterPages)

Do I have to use multiBuild? And if so, how would I keep the
onFirstPage, onLaterPages behavior? (multiBuild doesn't take the
onFirstPage, onLaterPages parameters :( )

Mvh Sebastian



More information about the reportlab-users mailing list