Adds ReaderPageMap, to optionally show source pages numbers
bump crengine: support for EPUB3 nav toc and page maps Includes: - Fix lvRect:isRectInside(rc) with 0-width or 0-height rect - TOC: parse EPUB3 nav toc, fallback to spine when no toc - Parse and cache various hardcopy page list maps - epub.css: hide EPUB3 <span epub:type="pagebreak"> content cre.cpp: add a few PageMap helper functions. Adds ReaderPageMap which will add a new menu (under TOC and Bookmarks) that will allow: - to list source page numbers (like a TOC) - to show visible page labels in the right margin - to use these source page numbers in the footer, the TOC, the GoTo and SkimTo widgets, and to use the source page number in the standard bookmark and highlight initial text.
This commit is contained in:
1 parent
1cb3be324a
commit
026140f809
12 files changed
+506
-9
No files matched your search
@@ -790,7 +790,6 @@ function ReaderRolling:onUpdatePos()
|
||||
-- that were triggering a full repaint of crengine (so, the needed
|
||||
-- rerendering) before updatePos() is called.
|
||||
UIManager:scheduleIn(0.1, function () self:updatePos() end)
|
||||
return true
|
||||
end
|
||||
|
||||
function ReaderRolling:updatePos()
|
||||
@@ -837,7 +836,6 @@ function ReaderRolling:onChangeViewMode()
|
||||
self:_gotoXPointer(self.xpointer)
|
||||
end)
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
function ReaderRolling:onRedrawCurrentView()
|
||||
|
||||
Reference in new issue
Block a user