Пример #1
0
    def save_summary_table(self, p):
        w = SummaryPDFTableWriter()
        items = self.interpreted_ages
        title = self.get_title()

        opt = self.pdf_table_options
        # w.use_alternating_background=opt.use_alternating_background
        w.options = opt
        w.build(p, items, title)
Пример #2
0
    def save_summary_table(self, p):
        w = SummaryPDFTableWriter()
        items = self.interpreted_ages
        title = self.get_title()

        opt=self.pdf_table_options
        # w.use_alternating_background=opt.use_alternating_background
        w.options=opt
        w.build(p, items, title)
Пример #3
0
    def save_summary_table(self, root, auto_view=False):
        name = '{}_summary'.format(self.name)
        w = SummaryPDFTableWriter()
        items = self.interpreted_ages
        title = self.get_title()

        opt = self.pdf_table_options
        p, _ = unique_path(root, name, extension='.pdf')
        w.options = opt
        w.build(p, items, title)
        if auto_view:
            view_file(p)