Merge pull request #1628 from apletnev/#1581

Add Statistic plugin (#1581 Amount of hours spent on a book)
This commit is contained in:
Huang Xin committed 2015-09-16 19:55:26 +08:00
commit d393fbb180
7 files changed
+467

No files matched your search

+4
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)