Commit Graph

62 Commits (a185f238ebd230d77f2fd742c5a3195d2fa770c3)

Author SHA1 Message Date
Dobrica Pavlinusic bf53b02bd4 new two-colum zoom mode (shift+F) without margins
This is especially useful if you want PDF pages which bouding box
includes headers or footers which are full page width files like #25

I opted to ignore margins with Shift+F to be consistant with other zoom
modes.
13 years ago
Dobrica Pavlinusic b1ffb5af7e cleanup two column panning
It's important for us to take maring into account because rouding error
can force us to skip right marging. However, this shouldn't be done
when not in pan_by_page mode, so this diff is artifically large
13 years ago
Qingping Hou f50e8d695c mod: add UniReader:cleanUpTOCTitle()
re-apply the changes introduced by HW in commit:
3c56f50cae

I mistakenly overwrote it when merging from djvu
branch. :(

Since the title needs to be cleaned in two places,
I turn it into a method.
13 years ago
Qingping Hou 989e915c8f mod: add notes in jumpstack
NOTE that the jumpstack maintaining strategy has
been changed in this commit compared to commit #15
and #31. Now current viewing page in kept in the
stack to preserve the notes.
13 years ago
Qingping Hou ca3a712521 fix: bug in jump stack
* remove page to jump from the stack
13 years ago
Qingping Hou ab2cd3ec8c mod: save jump_stack after exit 13 years ago
Qingping Hou 51dd8472b9 mod: bug fix in zooming
update self.global_orig after dc:setZoom
13 years ago
Qingping Hou 8cfae790ed mod: clear pan_by_page if not in two column mode 13 years ago
Qingping Hou 50d5604c79 mod: code cleanup for readers
closes #26
13 years ago
Qingping Hou b318ca08e3 mod: merge djvu branch with master 13 years ago
Qingping Hou f370842a88 mod: record self.globalzoom_orig to help zoom in/out
see: https://github.com/hwhw/kindlepdfviewer/issues/24
13 years ago
Qingping Hou 56470a75b0 add: unireader class
Add unireader class for better code reuse.
Now pdfreader and djvureader are subclass of
unireader.

Every subclass needs to have a init() method
that will be called in reader.lua.
13 years ago