mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add text highlight in both reflow and non-reflow mode
This commit is contained in:
@@ -184,6 +184,14 @@ function Document:getToc()
|
||||
return self._document:getToc()
|
||||
end
|
||||
|
||||
function Document:getPageText(pageno)
|
||||
return nil
|
||||
end
|
||||
|
||||
function Document:getOCRWord(pageno, rect)
|
||||
return nil
|
||||
end
|
||||
|
||||
function Document:renderPage(pageno, rect, zoom, rotation, gamma, render_mode)
|
||||
local hash = "renderpg|"..self.file.."|"..pageno.."|"..zoom.."|"..rotation.."|"..gamma.."|"..render_mode
|
||||
local page_size = self:getPageDimensions(pageno, zoom, rotation)
|
||||
|
||||
Reference in New Issue
Block a user