fix dogear not shown properly in crereader

This commit is contained in:
chrox
2014-01-18 19:18:12 +08:00
parent 2d6d0a92f6
commit e947f83548
4 changed files with 25 additions and 9 deletions

View File

@@ -348,6 +348,11 @@ function CreDocument:setBatteryState(state)
self._document:setBatteryState(state)
end
function CreDocument:isXPointerInCurrentPage(xp)
DEBUG("CreDocument: check in page", xp)
return self._document:isXPointerInCurrentPage(xp)
end
function CreDocument:register(registry)
registry:addProvider("txt", "application/txt", self)
registry:addProvider("epub", "application/epub", self)