[reportlab-users] Errata in BaseDocTemplate

Robert McPeak reportlab-users@reportlab.com
Thu, 19 Feb 2004 15:22:22 -0800


Hi - 

I noticed that the author and title args to the BaseDocTemplate
constructor get set, but never used, so I made a small change to
handle_documentBegin()

        self.page = 0
        
        # add in the annotations supported by the constructor RAM
2004-02-19
        self.canv.setAuthor(self.author)
        self.canv.setTitle(self.title)
        
        self.beforeDocument()

It works, but I'm not sure that this is the correct place to make the
change...comments?

Rob McPeak
KeyOn Communications, LLC.