add toc menu support for readerui

This commit is contained in:
Qingping Hou
2012-05-27 19:47:22 +08:00
parent 284d5ce9d9
commit cf048e286d
3 changed files with 47 additions and 0 deletions

View File

@@ -92,6 +92,10 @@ function Document:getPageDimensions(pageno, zoom, rotation)
return native_dimen
end
function Document:getToc()
return self._document:getToc()
end
-- load implementations:
require "document/pdfdocument"