Commit Graph

79 Commits (b42b4ed2044ff4623867e84df1853c1ac9266d46)

Author SHA1 Message Date
chrox b42b4ed204 save highlight to pdf document 10 years ago
chrox 637904a711 add text highlight for credocument
Three highlight drawers "lighten", "underscore" and "invert" are
available in reader menu.
This should implement #176.
10 years ago
chrox 202a4d94db clear temp highlight when turning page
This should fix #446.
11 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 1cbc6b9669 move crereader margin options into defaults.lua 11 years ago
chrox ee8838960b add auto save settings option 11 years ago
chrox b5fd38f897 delayed calling of gotoXPointer when internal properties are changed
This should fix #400 and fix #300.
11 years ago
chrox 3b9eaafadd add dictionary lookup in crereader 11 years ago
chrox 93866822d0 always show progress bar in flipping mode
tap on progress bar in flipping mode will goto corresponding page
11 years ago
chrox f0039cbb02 customizable tap zones for page flipping and bookmarking 11 years ago
chrox 5dd96b8756 tap on reader footer will toggle time display 11 years ago
chrox 153d0866d5 remove auto "contentwidth" in landscape
This should fix #365.
11 years ago
HW 09cd5c4104 Make DEBUG a require()d local 11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
chrox 7a5ce55b8d fix extra page rendering when starts up in landscape mode 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
Qingping Hou 94e89e8e38 add missing import for group widget in readerview 11 years ago
chrox 52c4ada111 save rotation mode in doc settings 11 years ago
Qingping Hou 0d902a1a4c add scrollmode and fullscreen mode to defaults 11 years ago
Qingping Hou 561c7902ca move defaults.lua to root directory 11 years ago
Qingping Hou 18122fe067 add defaults.lua 11 years ago
chrox 94526fa26d add page margin options in CREOptions 11 years ago
chrox 8ae528629c bugfix: make a fresh copy of Geom before transforming 11 years ago
chrox c116b34e71 parameterize lighten color in displaying saved highlights 11 years ago
chrox eb4c76bd15 add highlight in pdf reader 11 years ago
Qingping Hou cc411efc92 update rolling status after cre view mode change 11 years ago
chrox 81294e804a fix page rect to screen rect transform when scale is larger than 1 11 years ago
chrox bda282ffa4 fix ineffective default options of full screen and scroll mode 11 years ago
chrox ecb797a097 enlarge hightlight box in readerhightlight.lus 11 years ago
chrox 936dfc6fd1 add text highlight in both reflow and non-reflow mode 11 years ago
chrox 7f53ddacbe add activity indicator when configuring in reflow mode
For now pillow activityIndicator is used to draw animated waiting icon
at the upper left corner of the screen. So pillow service should be
enabled to use this feature, but eventually we should implement an
activity indicator that is independent of native system.
11 years ago
Qingping Hou b011bc405b fix: set ReaderView.view_mode instead of ReaderUi.view_mode 11 years ago
chrox 8df55b8318 recalculate zoom when changing font size 11 years ago
chrox fb05f9a428 add auto page crop 11 years ago
Qingping Hou 3602c61b1f add gettext to all reader widgets 11 years ago
Qingping Hou 28e5907d51 use scaleByDPI in all widgets 11 years ago
chrox a6609119ec disable hinting temporarily in config dialog and flipping mode and cropping dialog
Since hinting is of little use in these situations.
11 years ago
chrox 824de2cb9c bugfix: send SetDimensions event when toggling full screen on/off 11 years ago
chrox 418ba943ed bugfix: recalculate screen offset 11 years ago
chrox 63e5e7e577 add scroll mode for pdf/djvu reader 11 years ago
chrox 1bd8dfcee1 add flipping mode in pdf/djvu reader
By tapping on the upper left corner of the reader one can toggling flipping mode on/off.
In flipping mode swiping right/down and left/up  will paging backward and forward
accordingly with pages proportional to swiping distance.
11 years ago
chrox 01c5bcff8c set page background color to white in pdf/djvu reader 11 years ago
chrox 3dfa9aa51d add a dog-ear-like icon at the above right corner of bookmarked page
And tap the above right corner will toggle the bookmark on this page on/off.
11 years ago
chrox 86dab2ebee rename footer.lua to readerfooter.lua 11 years ago
chrox c5b4d958bb add reading progress bar at the bottom of ReaderView for pdf/djvu reader
And there is also a toggle full screen option to turn on/off the progress bar.
11 years ago
chrox 46357d617c cleanup: lookup reader view states like pageno and screen offset directly in self.view 11 years ago
chrox 85dafd6e25 set zoom mode to contentwidth after rotating screen to landscape
As most pages are portrait there is no reason to fit "portrait" page
on "landscape" screen. And "pagewidth" is used less often than "contentwidth".
So "contentwidth" is choosed to set zoom mode on landscape screen.
11 years ago
chrox 9efdefb22f add gamma correction for pdf/djvu reader 11 years ago
chrox 438c828e98 cleanup: use postInitCallback to restore screen mode 11 years ago
chrox 0137fe7af4 add screen mode restoration for each document 11 years ago