Add Statistic plugin (#1581 Amount of hours spent on a book)

This commit is contained in:
Alexander Pletnev
2015-09-07 20:06:17 +03:00
parent 51e8dee425
commit 52d821df00
7 changed files with 468 additions and 0 deletions

View File

@@ -156,6 +156,10 @@ function CreDocument:getCoverPageImage()
end
end
function Document:getProps()
return self._document:getDocumentProps()
end
function CreDocument:getWordFromPosition(pos)
local word_box = self._document:getWordFromPosition(pos.x, pos.y)
DEBUG("CreDocument: get word box", word_box)