Fix footnotes and markers with full status bar
Take full/top status bar's height into account when computing coordinates. Also wrap getPageMargins() in CreDocument, so we don't use cre.cpp _document directly anywhere else.
This commit is contained in:
1 parent
e869b40625
commit
9d8531a4b5
4 files changed
+19
-6
No files matched your search
@@ -330,6 +330,14 @@ end
|
||||
function CreDocument:renderPage(pageno, rect, zoom, rotation)
|
||||
end
|
||||
|
||||
function CreDocument:getPageMargins()
|
||||
return self._document:getPageMargins()
|
||||
end
|
||||
|
||||
function CreDocument:getHeaderHeight()
|
||||
return self._document:getHeaderHeight()
|
||||
end
|
||||
|
||||
function CreDocument:gotoXPointer(xpointer)
|
||||
logger.dbg("CreDocument: goto xpointer", xpointer)
|
||||
self._document:gotoXPointer(xpointer)
|
||||
|
||||
Reference in new issue
Block a user