cre: toggable enhanced rendering (floats, collapsed margins...)

Adds "Render mode" toggle with 4 modes, to enable some or all
of crengine's new enhanced block rendering features.
Use "legacy" rendering for previously opened books to not mess
with bookmarks, and "web" (all of the new features) for new books.

Also make available the added "HTML5" stylesheet to the Style menu.
This commit is contained in:
poire-z
2019-07-14 22:13:05 +02:00
parent 8bdb9897aa
commit 9f3c85ed83
10 changed files with 133 additions and 17 deletions

View File

@@ -586,4 +586,8 @@ function ReaderBookmark:getLatestBookmark()
return latest_bookmark
end
function ReaderBookmark:hasBookmarks()
return self.bookmarks and #self.bookmarks > 0
end
return ReaderBookmark