add gotoLocation for credocument
This commit is contained in:
1 parent
506dbed865
commit
c86bb46ef7
3 files changed
+12
-1
No files matched your search
@@ -126,6 +126,10 @@ function Document:_readMetadata()
|
||||
return true
|
||||
end
|
||||
|
||||
function Document:getPageCount()
|
||||
return self.info.number_of_pages
|
||||
end
|
||||
|
||||
-- calculates page dimensions
|
||||
function Document:getPageDimensions(pageno, zoom, rotation)
|
||||
local native_dimen = self:getNativePageDimensions(pageno):copy()
|
||||
|
||||
Reference in new issue
Block a user