示例#1
0
文件: page.py 项目: rzr/paperwork
 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
文件: page.py 项目: chrisz/paperwork
 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
文件: page.py 项目: chrisz/paperwork
 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
文件: page.py 项目: rzr/paperwork
 def __init__(self, doc, page_nb=None):
     if page_nb is None:
         page_nb = doc.nb_pages
     BasicPage.__init__(self, doc, page_nb)