1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-08 10:50:33 +00:00
Commit Graph

244 Commits

Author SHA1 Message Date
Lu Wang
7c5470ac4d remove old implementation of smooth rescaling 2013-11-05 12:36:29 +08:00
Lu Wang
75908842f5 working on remove offset() 2013-11-05 00:13:32 +08:00
Lu Wang
af60845550 remove page_decoration 2013-11-04 23:53:38 +08:00
Lu Wang
15510af60a working on offset_to 2013-11-04 22:32:00 +08:00
Lu Wang
1c41b1ae04 working on offset_to 2013-11-04 22:23:21 +08:00
Lu Wang
2f09007721 .. 2013-11-01 20:51:26 +08:00
Lu Wang
2768b3ed64 clean js 2013-11-01 16:11:44 +08:00
Lu Wang
a0f602c6b0 clean js 2013-11-01 15:34:18 +08:00
Lu Wang
ac0e8ab893 get_active_page returns first visible page 2013-10-31 16:32:33 +08:00
Lu Wang
1d8fb47681 compress css with yuicompressor 2013-10-30 15:50:07 +08:00
Lu Wang
980878217f Fix #230 2013-10-29 15:40:30 +08:00
Lu Wang
cc79880d57 fix js 2013-10-28 16:29:58 +08:00
Lu Wang
7787b26e5b js: store pages in an array 2013-10-28 16:05:24 +08:00
Lu Wang
8aa2b78cff .. 2013-10-24 01:54:40 +08:00
Lu Wang
c6e95239f9 .. 2013-10-22 21:32:02 +08:00
Lu Wang
912cdb1b23 .. 2013-10-22 19:42:56 +08:00
Lu Wang
d3922df61d .. 2013-10-22 15:42:54 +08:00
Lu Wang
cb11032563 merge js; annotate js 2013-10-22 15:03:07 +08:00
Lu Wang
51920a534c change back to local jquery 2013-10-21 20:46:46 +08:00
Lu Wang
e8989f3312 .. 2013-10-21 20:01:42 +08:00
Lu Wang
8ba0ce3e25 update jquery; include jquery from google cdn 2013-10-21 15:04:34 +08:00
Lu Wang
1d42f31fee .. 2013-10-21 10:25:11 +08:00
Lu Wang
5c37c0ca98 .. 2013-10-21 09:38:36 +08:00
Lu Wang
9fcac81465 fixing cmake 2013-10-21 09:33:38 +08:00
Lu Wang
ec130dba70 improve compile.sh 2013-10-20 17:06:40 +08:00
Lu Wang
7856199461 add license for svg patterns 2013-10-20 16:51:38 +08:00
Lu Wang
297c902c68 fix js for optimization 2013-10-20 16:35:31 +08:00
Lu Wang
c2187ec685 optimize pdf2htmlEX logo for web 2013-10-20 15:31:59 +08:00
Lu Wang
3498af280e slighly improve the js compile sh 2013-10-20 15:11:07 +08:00
Lu Wang
f0f5bc3aef .. 2013-10-19 17:03:16 +08:00
Lu Wang
88cd715fa3 don't compile jquery which would cause error 2013-10-19 15:21:36 +08:00
Lu Wang
a210576e46 compress js 2013-10-19 15:06:32 +08:00
Lu Wang
464e5b3f7f .. 2013-10-07 15:25:47 +08:00
Lu Wang
cbb9fc71e3 fix 2013-10-06 19:57:44 +08:00
Lu Wang
c7e6c52f3c add navigation key handler 2013-10-06 19:53:37 +08:00
Lu Wang
b563a59fa7 move some configurable variable of pdf2htmlEX.Viewer outside 2013-10-05 16:26:24 +08:00
Lu Wang
ee6a649582 fix id names 2013-10-05 16:20:28 +08:00
Lu Wang
01188c8ac7 [js]add a default config object 2013-10-05 16:11:03 +08:00
Lu Wang
9657dc09f3 a few more comments 2013-10-04 15:17:21 +08:00
Lu Wang
22cb315b99 clean pdf2htmlEX.js 2013-09-30 15:50:15 +08:00
Lu Wang
23c4c4d4fe Merge pull request #186 from micred/reactivezoom
yet another zoom
2013-09-30 00:12:52 -07:00
Lu Wang
92eb57ed96 update manifest 2013-09-29 11:00:29 +08:00
Lu Wang
5b2a379f58 Update manifest 2013-09-28 15:01:15 +08:00
Lu Wang
2c8224ce78 move @keyframe outside @media for IE; add loading indicator while loading 2013-09-28 13:20:45 +08:00
Lu Wang
e36c33b075 working on indicator 2013-09-28 11:58:01 +08:00
Lu Wang
ddefd1c2f0 add loading indicator 2013-09-28 11:38:35 +08:00
Lu Wang
5ef5030435 remove deprecated prefixes 2013-09-28 11:35:54 +08:00
Lu Wang
b8aa8dec0b .. 2013-09-27 21:35:53 +08:00
Lu Wang
9a6e534d8b .. 2013-09-27 20:19:39 +08:00
Lu Wang
cddfaf6ae2 add rotating logo 2013-09-27 19:48:40 +08:00
Lu Wang
827b0aa33b experimental svg support 2013-09-18 15:49:18 +08:00
Lu Wang
71d2a1a9ea a little more css for background image 2013-09-16 20:04:06 +08:00
Lu Wang
ccfe509e57 dump only bounding box of the background image 2013-09-16 19:53:52 +08:00
Michele Redolfi
6abc16fb53 NR_PAGES_TO_PRERENDER_ON_ZOOM is now called SMOOTH_ZOOM_THRESHOLD 2013-08-13 11:33:06 +02:00
Lu Wang
a124926862 typo 2013-08-09 06:53:44 +08:00
Lu Wang
b6f5855533 typo 2013-08-09 06:52:07 +08:00
Michele Redolfi
ed1df3b470 clean up 2013-07-17 09:47:13 +02:00
Michele Redolfi
ea1878e233 caching of height / width; rendering optimizations while zooming 2013-07-16 20:19:25 +02:00
Michele Redolfi
43c330f9b7 basic zoom 0.1 2013-07-16 17:42:02 +02:00
Daniel Bonniot
b78cdd0a9d Use scrollHeight to find out how to scroll to the end for ctrl-end.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-14 16:34:02 +02:00
joshweinstein
8cc3852b26 Replaced errant colon with a semicolon. 2013-07-05 15:20:45 -04:00
Daniel Bonniot
08ba884b7f Simplify the implementation of ctrl-home, we don't need to care about pages in this case.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-03 22:16:41 +02:00
Daniel Bonniot
972c92540e Use return in the non-handled key cases, and call preventDefault() in a single place, as suggested.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-03 22:02:59 +02:00
Daniel Bonniot
4bde91423d https://github.com/coolwanglu/pdf2htmlEX/issues/180
Scroll pages with alt-page up/down, not page up/down.

Implement screen scrolling for page up/down.

Fix comment about which key is up (code was right, but comments were inverted :D)
2013-07-03 12:16:32 +02:00
Daniel Bonniot
d9bd8106fe https://github.com/coolwanglu/pdf2htmlEX/issues/180
Call e.preventDefault() when the key was handled.
2013-07-03 11:27:12 +02:00
Daniel Bonniot
40dc097ebd https://github.com/coolwanglu/pdf2htmlEX/issues/180
Better name for the key handler.
2013-07-03 11:22:42 +02:00
Daniel Bonniot
316d547ac0 https://github.com/coolwanglu/pdf2htmlEX/issues/180
Add key handler, and implement page up, page down, ctrl-home and ctrl-end.

First commit on github and first javascript coding :)
2013-07-03 09:57:00 +02:00
Lu Wang
0afced18bd disable auto ligature in ff 2013-06-26 20:03:58 +08:00
Lu Wang
b71efb7f4e fix .data() 2013-06-13 23:08:47 +08:00
Lu Wang
3b3efb6845 add dollar sign for jquery objects 2013-06-13 23:00:42 +08:00
Michele Redolfi
25a3273bac event triggering removed 2013-06-13 14:40:50 +02:00
Michele Redolfi
51dd4fdecd load_page idx now starts from 1; pages_loading move to Viewer instance; fixes; pdf2htmlEX.js.in executable bit removed; 2013-06-13 12:39:52 +02:00
Michele Redolfi
d5ade42d5a lazy load with deferrered scroll_to 2013-06-12 17:53:14 +02:00
Lu Wang
dd41565c3c dump empty frames for split-pages 2013-06-09 22:19:12 +08:00
Lu Wang
73d84524f8 override default unicode bidi for RTL languages like Hebrew 2013-05-31 22:17:14 +08:00
Lu Wang
c4757c7fae strict mode in js 2013-05-30 02:31:48 +08:00
Chris Cinelli
2d53c6174a Updated default viewer name 2013-05-22 23:38:07 -06:00
Chris Cinelli
0310176601 Update manifest to provide a object accessible to parent when the HTML is in an iframe 2013-05-21 18:27:53 -06:00
Lu Wang
7c12b228c2 disable dragging on background images 2013-05-06 19:53:56 +08:00
Lu Wang
26eba18e83 minor css improvements 2013-05-04 19:31:07 +08:00
Lu Wang
0cd9405565 simple clipping 2013-05-04 19:26:26 +08:00
Lu Wang
7ac858f4b8 .. 2013-05-02 20:27:45 +08:00
Lu Wang
83b25c091b pdf2htmlEX.js: reveal prev and next page for a better reading experience 2013-05-02 16:45:00 +08:00
Lu Wang
11f3bb715e changelog 2013-05-02 16:25:39 +08:00
Lu Wang
64279bd26d --page-filename; a default HTML when --split-pages is on; Fixes #125 2013-05-02 16:09:42 +08:00
Lu Wang
3d0b872a7b .. 2013-05-02 14:38:56 +08:00
Lu Wang
0712b39659 .. 2013-05-01 21:56:02 +08:00
Lu Wang
ca69f28a4f UI tweaking; --remove-unused-glyph is off by default 2013-05-01 20:01:24 +08:00
Lu Wang
d4d85eac15 fancy css 2013-05-01 17:14:29 +08:00
Lu Wang
84988c7c28 support multiple distribution for PPA 2013-04-30 12:20:31 +08:00
Lu Wang
7e5fc3080d vim modeline 2013-04-06 17:13:19 +08:00
Lu Wang
a641bee616 .. 2013-04-04 22:13:08 +08:00
Lu Wang
395d02e802 add x-ua-compatible 2013-04-04 21:28:30 +08:00
Lu Wang
13873d990f .. 2013-03-31 17:41:38 +08:00
Lu Wang
bd1c9c138f fallback mode 2013-03-09 01:45:13 +08:00
Lu Wang
3ed576b5c8 disable backgruond image selection and dragging 2013-03-01 14:02:11 +08:00
Lu Wang
34a53f9d14 use img instead of background-image for better printing 2013-03-01 13:24:29 +08:00
Lu Wang
4cf8ffb95b hide annotations for print 2013-03-01 00:00:06 +08:00
Lu Wang
f982a6964c background image css for print 2013-02-28 22:37:15 +08:00
Lu Wang
80fc92defe fix css 2013-02-28 02:52:00 +08:00