[reportlab-users] newbie questions

Randall Smith reportlab-users@reportlab.com
Fri, 11 Jun 2004 13:29:31 -0500


I have a few newbie questions.

1. When using document and page templates, what's the best way to 
include header/footer information?

2. I want a flowable to draw a horizontal line that spans the width of 
the page.  The draw method is something like this:

def draw(self):
	self.canv.setLineWidth(line_thickness)
	self.canv.line(0, .5 * line_thickness, ?, .5 * line_thickness)

Notice the ?
How can I know how long to draw the line?

Randall