Reader: inspect zip file content to choose provider (#12902)
This commit is contained in:
1 parent
e503cc4b9c
commit
15f5dbef83
7 files changed
+68
-58
No files matched your search
@@ -67,24 +67,9 @@ function Document:_init()
|
||||
self.info = {
|
||||
-- whether the document is pageable
|
||||
has_pages = false,
|
||||
-- whether words can be provided
|
||||
has_words = false,
|
||||
-- whether hyperlinks can be provided
|
||||
has_hyperlinks = false,
|
||||
-- whether (native to format) annotations can be provided
|
||||
has_annotations = false,
|
||||
|
||||
-- whether pages can be rotated
|
||||
is_rotatable = false,
|
||||
|
||||
number_of_pages = 0,
|
||||
-- if not pageable, length of the document in pixels
|
||||
doc_height = 0,
|
||||
|
||||
-- other metadata
|
||||
title = "",
|
||||
author = "",
|
||||
date = ""
|
||||
}
|
||||
|
||||
-- Should be updated by a call to Document.updateColorRendering(self) in subclasses
|
||||
|
||||
Reference in new issue
Block a user