def OnBeginDocument(self, start, end): # "Do any end of document logic here." Printout.OnBeginDocument(self, start, end)