add text highlight in both reflow and non-reflow mode

This commit is contained in:
chrox
2013-04-24 06:59:52 +08:00
parent 7f53ddacbe
commit 936dfc6fd1
11 changed files with 457 additions and 46 deletions

View File

@@ -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)