[reportlab-users] modifying table header on subsequent pages

Jon.Reinsch Jon.Reinsch at noaa.gov
Thu Mar 24 18:53:19 EDT 2011


Using your suggestion, I got:
File "C:\MiniESI\writebackpagepdf.py", line 26, in draw
self.content[self.x].draw()
File "C:\Python27\lib\site-packages\reportlab\platypus\paragraph.py",
line 992, in draw
self.drawPara(self.debug)
File "C:\Python27\lib\site-packages\reportlab\platypus\paragraph.py",
line 1293, in drawPara
canvas = self.canv
AttributeError: Paragraph instance has no attribute 'canv'

I tried adding self.content[self.x].canv = self.canv before the draw
call. I have no idea if this is correct, but it seems to work. Thanks
for an elegant solution!


More information about the reportlab-users mailing list