Commit Graph

32 Commits (ec39c408e9d60f6282036b8cf0f46522d5db8ff4)

Author SHA1 Message Date
Qingping Hou a99a0a9489 fix bug in highlight engine
only goto next view when the word is in next view.
same for previous view
12 years ago
Dobrica Pavlinusic 96958c62ca added UniReader:screenOffset and use it 12 years ago
Dobrica Pavlinusic 0a8ca94218 make highlight working in all zoom modes #103
This change introduce object's dest_x and dest_y coordinates which
are needed in zoomedRectCoordTransform to make highlight scale and
move according to current pan position.
12 years ago
Qingping Hou dcd485c84c fix: bug in highlighting words
Properly highlight words that partially fit
into screen range.
12 years ago
Qingping Hou 3438d6749d mod: rewrite part of highlight code
* add _isEntireLineInScreenHeightRange() method
  For better page view navigation when highlighting
  or moving cursor.

* bug fix in _isWordInScreenRange() method

* add _nextGap(), _prevGap(), _gapInNextLine()
  and _gapInPrevLine() methods, so now key event
  handling code in cursor moving mode only focuses
  on drawing, calculation task is passed to these
  four methods.
12 years ago
Qingping Hou 56d4700001 mod: changes APIs in highlighting code 12 years ago
HW 46d197954b put highlight implementation into unireader 12 years ago
Qingping Hou c85b768c0e switched shortcut between 10 degree and 90 degree rotation
* also deleted 10 degree rotation shortcut in
djvureader, becuase it is not supported by the
library.
12 years ago
Qingping Hou ecd56a3745 mod: prefix global variables width and height with G_ 12 years ago
Qingping Hou 5e58a94632 mod: rm unused shortcuts in crereader 12 years ago
Dobrica Pavlinusic 5b1deedd86 remove setCacheSize set cache in openDocument 12 years ago
Qingping Hou a8c40cd5b6 fix: highlight words that partially fit into screen 12 years ago
Qingping Hou 0c2afd805e fix: enable pan by page from right end to next line left end 12 years ago
Qingping Hou 74d1760260 fix: start position of cursor 12 years ago
Qingping Hou 5d087d0a84 fix: handle out or view range word in highlight mode 12 years ago
Qingping Hou e15fc5e21e mod: delete useless variable is_next_view 12 years ago
Qingping Hou e5acbeb363 mod: fix bug in cursor move
only move cursor to word in current view
12 years ago
Qingping Hou c756fcbf10 fix: cursor move in zoom in mode
only move cursor to word within screen range
12 years ago
Qingping Hou 35abbc93d4 add: configurable highlight drawer
* underscore style (default)
* marker style
12 years ago
Qingping Hou e30b88d135 add: delete feature in djvu highlight 12 years ago
Qingping Hou 81a1f3d366 demo of text highlight
* text selection
* highlight save and restore
12 years ago
Qingping Hou 7c81f60a58 rewrite highlight again :( finished the cursor part 12 years ago
Qingping Hou 1e2d7f62ac record and save highlight table 12 years ago
Qingping Hou a185f238eb mod: rewrite highlight feature 12 years ago
Qingping Hou f4ea1cdb62 Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	blitbuffer.c
	unireader.lua
12 years ago
HW 7e3e38be62 Password input, handling for broken documents 12 years ago
HW 9ee7afa86d separate DC out of pdf.c and djvu.c (cleanup) 12 years ago
Qingping Hou ac8206fa95 first demo for pan by page highlight 12 years ago
Qingping Hou 7bbc5b5ed2 highlight with cursor demo 12 years ago
Qingping Hou e7f0a8bddb mod: rewrite highlight feature
waiting for integrate test with cursor support
12 years ago
Qingping Hou 50d5604c79 mod: code cleanup for readers
closes #26
12 years ago
Qingping Hou b318ca08e3 mod: merge djvu branch with master 12 years ago