mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Reader: inspect zip file content to choose provider (#12902)
This commit is contained in:
@@ -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