mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Enable chapter marks in crengine header.
This commit is contained in:
committed by
Qingping Hou
parent
590bf149be
commit
cb1f28d598
1
cre.cpp
1
cre.cpp
@@ -66,6 +66,7 @@ static int openDocument(lua_State *L) {
|
||||
doc->text_view->setViewMode(view_mode, -1);
|
||||
doc->text_view->Resize(width, height);
|
||||
doc->text_view->LoadDocument(file_name);
|
||||
doc->text_view->setPageHeaderInfo(PGHDR_AUTHOR|PGHDR_TITLE|PGHDR_PAGE_NUMBER|PGHDR_PAGE_COUNT|PGHDR_CHAPTER_MARKS|PGHDR_CLOCK);
|
||||
doc->dom_doc = doc->text_view->getDocument();
|
||||
doc->text_view->Render();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user