mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump crengine: support for inline margin/border/padding
Includes: - lvtext: tweak object flags implementation - lvtext: rename LTEXT_WORD_IS_OBJECT to LTEXT_WORD_IS_IMAGE - lvtext: add LTEXT_OBJECT_IS_EMBEDDED_BLOCK - Text: support for inline margin/border/padding - PageMap: allow building synthetic pages numbers cre: add synthetic page map functions (not yet used)
This commit is contained in:
@@ -1287,6 +1287,14 @@ function CreDocument:buildAlternativeToc()
|
||||
self._document:buildAlternativeToc()
|
||||
end
|
||||
|
||||
function CreDocument:buildSyntheticPageMapIfNoneDocumentProvided(chars_per_synthetic_page)
|
||||
self._document:buildSyntheticPageMapIfNoneDocumentProvided(chars_per_synthetic_page or 1024)
|
||||
end
|
||||
|
||||
function CreDocument:isPageMapSynthetic()
|
||||
return self._document:isPageMapSynthetic()
|
||||
end
|
||||
|
||||
function CreDocument:hasPageMap()
|
||||
return self._document:hasPageMap()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user