def add_page(self, page=None):
if page is None:<EOL><INDENT>self.page = PDFPage(self.orientation_default, self.layout_default, self.margins)<EOL><DEDENT>else:<EOL><INDENT>self.page = page<EOL><DEDENT>self.page._set_index(len(self.pages))<EOL>self.pages.append(self.page)<EOL>currentfont = self.font<EOL>self.set_font(font=currentfont)<EOL>self.session._reset_colors()<EOL>
May generate and add a PDFPage separately, or use this to generate
            a default page.