Commit Graph

46 Commits (21d7f27d2e36e6441c396dbeade3691f03c03695)

Author SHA1 Message Date
chrox 8b85cbf157 add support for password protected zip/cbz documents 9 years ago
Alexander Pletnev 52d821df00 Add Statistic plugin (#1581 Amount of hours spent on a book) 9 years ago
chrox b80dd1f966 add fulltext search for PDF documents 10 years ago
Hans-Werner Hilse 0a74dc6072 add needed ffi module when saving annotations 10 years ago
Hans-Werner Hilse e0868826ad use new FFI based mupdf API
This will use the new API where the Lua/C interface was used before
and also drop usage of mupdfimg wrapper which is now implemented
within the mupdf interface
10 years ago
chrox 2f2d9f1bf7 issue error directly when doc is malformated
This should popup a message saying "No reader engine for this file"
instead of a crash when document file is malformated.

This should fix #868.
10 years ago
chrox 0bc3eadcae refactoring: use Document API getCoverPageImage to get cover image 10 years ago
chrox 092522b89d promote user to save PDF document after highlighting
This is a wordaround for #791.
10 years ago
chrox 0c29b041fe markup annotation quadpoints should be defined in counterclockwise 10 years ago
chrox 507b989747 use pdfreader instead of crereader to handle zip files
Generally zip files are zipped pictures which should be
better handled in pdfreader.
10 years ago
chrox 38c75f8359 fix the first file in a zip is a directory will raise error in zipContentExt 10 years ago
chrox 241d67e0ec revert zip file handler to crereader
It seems that fb2.zip is a conventional format for fb2 with compression
which cannot be handled properly by mupdf.
This should fix #642.
10 years ago
chrox 6fba40cc77 use mupdf to handle zipped image files 10 years ago
chrox 55734f6aaa export highlighted rect in scanned page to Evernote 10 years ago
chrox e1527611c5 show a box indicator when tapping on a link
only for PDF/DJVU docs for now since there is no easy way
to get link box from crengine
10 years ago
Qingping Hou 4b357c1466 move reader code into frontend/apps/reader
it makes more sense to completely separate the UI framework and
application code

also move frontend/ui/configurable.lua to frontend/configurable.lua
10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox b42b4ed204 save highlight to pdf document 10 years ago
chrox 8abd8a8a1f loading KoptInterface only in pdf and djvu reader
This will save 4MB RAM in crereader which otherwise will load
liblept.so.3 and libk2pdfopt.so.2 automatically for nothing.
10 years ago
chrox d24d5e413e add following page link in reflowed page 10 years ago
chrox 34e28d28e6 page links for crereader and pdfreader
Swipe right will return to previous page or position.
10 years ago
chrox 8e4516b824 add regional zoom mode in pdf/djvu page
In regional zoom mode double tap will zoom to the tapped
region(paragraph or column, etc., detected optically via libk2pdfopt).
As the first demo, this feature is only turned on in flipping mode by
tapping the top-left corner of the screen. Eventually we may incorporate
this feature in "free" zoom mode.
11 years ago
chrox 62e12ddfba import document module on-demand 11 years ago
chrox f7387822aa handle xps files in pdfdocument backend 11 years ago
HW 748a443cd5 Merge remote-tracking branch 'upstream/master'
resolved conflicts with refactored structure
11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
Qingping Hou 10bf048d77 move configurable to Document class
since every document type is depend on it now
11 years ago
chrox 9f42289226 use pixels from reflowed page when doing OCR in reflowing mode
I hope it will get back OCR accuracy as in build 545.
11 years ago
chrox 4660a3532b synchronize hightlights in non-/reflowing modes
and there is no need to OCR word if we can extract text from
original page in reflowing mode thanks to the rect maps between
normal page and reflowed page.
11 years ago
chrox 2e5d2b9930 add semi-auto bbox option in page crop dialog 11 years ago
Giorgio Micotti 98a2e50652 Add cbz to the supported extensions of pdf viewer. 11 years ago
chrox 7c78e83e49 add hightlight/dictionary lookup in scanned pdf/djvu 11 years ago
chrox 936dfc6fd1 add text highlight in both reflow and non-reflow mode 11 years ago
chrox fb05f9a428 add auto page crop 11 years ago
chrox 22b650d0c7 move kopt/cre options into ui/data directory & wrap strings in config options 11 years ago
chrox ef68ccebfe add background hinting in koptinterface 11 years ago
chrox 8c01b59776 clamp used bbox to page dimension 11 years ago
chrox 9efdefb22f add gamma correction for pdf/djvu reader 11 years ago
chrox 25bcbfa53a set menu font size according to screen dpi 11 years ago
chrox aa152a8a51 make readerconfig independent of koptoptions
So that other readers could reuse readerconfig
12 years ago
chrox 349bcb996e use koptinterface to reflow text in pdf/djvu readers 12 years ago
Qingping Hou 7b707ab367 add usedbbox support 12 years ago
Qingping Hou 7e04c97b70 bug fix for PdfDocument:getUsedBBox
when cache found, we should return cache.ubbox
not cache.data
12 years ago
Qingping Hou b40a748a78 move duplicate codes to document.lua 12 years ago
HW 60ccd7441e fixed menu info displaying, replaced debug() by DEBUG()
the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
12 years ago
HW d5c7e6ccb5 factored out pdfdocument implementation 12 years ago