def __init__(self, doc, page_nb): BasicPage.__init__(self, doc, page_nb) self.pdf_page = doc.pdf.get_page(page_nb) assert(self.pdf_page is not None) size = self.pdf_page.get_size() self.size = (int(size[0]), int(size[1])) self.__boxes = None
def __init__(self, doc, page_nb): BasicPage.__init__(self, doc, page_nb) self.pdf_page = doc.pdf.get_page(page_nb) size = self.pdf_page.get_size() self.size = (int(size[0]), int(size[1]))
def __init__(self, doc, page_nb=None): if page_nb is None: page_nb = doc.nb_pages BasicPage.__init__(self, doc, page_nb) self.surface_cache = None
def __init__(self, doc, page_nb): BasicPage.__init__(self, doc, page_nb)
def __init__(self, doc, page_nb=None): if page_nb is None: page_nb = doc.nb_pages BasicPage.__init__(self, doc, page_nb)