refactor: use new KeyValuePage widget for displaying statistics

This commit is contained in:
Qingping Hou
2016-02-14 13:47:36 -08:00
parent 65455cee23
commit 11ee8d6fcc
31 changed files with 606 additions and 404 deletions

View File

@@ -31,9 +31,10 @@ function PdfDocument:init()
else
self:_readMetadata()
end
if not (self.info.number_of_pages > 0) then
-- TODO: handle this
-- if not (self.info.number_of_pages > 0) then
--error("No page found in PDF file")
end
-- end
end
function PdfDocument:unlock(password)