Пример #1
0
 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
Пример #2
0
 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]))
Пример #3
0
 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
Пример #4
0
 def __init__(self, doc, page_nb):
     BasicPage.__init__(self, doc, page_nb)
Пример #5
0
 def __init__(self, doc, page_nb):
     BasicPage.__init__(self, doc, page_nb)
Пример #6
0
 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]))
Пример #7
0
 def __init__(self, doc, page_nb=None):
     if page_nb is None:
         page_nb = doc.nb_pages
     BasicPage.__init__(self, doc, page_nb)
Пример #8
0
 def __init__(self, doc, page_nb=None):
     if page_nb is None:
         page_nb = doc.nb_pages
     BasicPage.__init__(self, doc, page_nb)