Yury Delendik
3a5258d069
Takes top border width in account (cont #2874 )
12 years ago
Simon Tatham
c164f03e5a
/XYZ destinations: default to top left of the page.
...
The previous default in the absence of provided coordinates was the
bottom left, so that if you followed a PDF link annotation with a
destination of [page /XYZ null null null] then you would see a gutter
followed by the page _after_ the intended one, because pdf.js had
carefully aligned the lower left corner of the target page with the
top of the window.
As part of this change we allow missing x,y parameters in URLs with a
&zoom= parameter to propagate nulls into pageViewScrollIntoView
instead of being replaced with zero in pdfViewSetHash, so as to do
this substitution in one place.
12 years ago
Yury Delendik
dbf22e5194
Keeping Ctrl+0 unhandled
12 years ago
Brendan Dahl
5c43565404
Hack to support automatic printing from pdf javascript.
12 years ago
Jonas
87017ec3cf
Make links work in fullscreen - fix issue mentioned by @yurydelenik
12 years ago
waddlesplash
9ba08f2c3d
Ignore empty strings for text selection.
...
They were causing double text selection.
12 years ago
Jonas
0bde16a0a0
Resize the zoom box width to fit the content - fix embedding - address comments
12 years ago
Jonas
e4e4b1ab4e
Make navigation keys work on document load - avoid breaking embedded viewer, take 3
12 years ago
vyv03354
c5b8ee6a91
Implements vertical writing
12 years ago
Marco
3058c40432
Update web/viewer.js
...
Use asyncStorage.setItem for B2G
12 years ago
Marco
f1a39471e3
Update web/viewer.js
...
The variable isLocalStorageEnabled is now unused in Firefox and B2G.
12 years ago
Tim van der Meij
1f4b896d4e
Squashing commits for the close findbar feature
12 years ago
Tim van der Meij
96ec48e634
Squashing commits for disabling zoom buttons feature
12 years ago
Tim van der Meij
0f8f9deb0b
Squashing commits for zooming changes
12 years ago
Yury Delendik
6ce1cfe734
Reverts 729b82, d5f65f and 724add
12 years ago
vyv03354
729b82359a
Implements the print permission
12 years ago
Yury Delendik
d5f65f5431
Fixes text search for "secured" documents
12 years ago
Snuffleupagus
d296c3dbaa
Add 'pagemode' URL parameter - comments addressed
12 years ago
Yury Delendik
81f8f92696
Adds web/* and test/* for jshint target
12 years ago
Yury Delendik
9c044e2c31
Fallback when AcroForm is present
12 years ago
mduan
6bacb38692
Make canvas transform matrix account for devicePixelRatio
12 years ago
Bill Walker
12af2f9431
fix for #2219 , "provide a better error message when file= not found/accessible"
...
summary: create a new Exception class for missing PDF's, use it in place of generic
add new MissingPDFException to util.js
handle MissingPDF in api.js
handle MissingPDF in viewer.js, using new missing_file_error message
add new missing_file_error to l10n/en-US/viewer.properties
send MissingPDF from WorkerMessageHandler's loadDocument
send MissingPDF from GetDocRequest handler
12 years ago
Yury Delendik
9a5ecae2a3
Wait for animation frame before displaying stuff
12 years ago
Snuffleupagus
e08e326a67
Automatically resize the zoom box width to fit the content
12 years ago
Yury Delendik
ddcbc4ddff
Fixes intermittent rendering stop
12 years ago
Snuffleupagus
c901f2f289
Improve the behaviour of the pageNumber input field
12 years ago
Snuffleupagus
2d028e64c5
Change page with up/down arrow keys when zoom is set to 'page-fit'
12 years ago
Snuffleupagus
ae29adc730
Add various improvements to scroll Thumbnails into view - comments addressed
12 years ago
Yury Delendik
7b70710565
Traces pdf.js version
12 years ago
Snuffleupagus
05e5a6b604
Horizontal scrolling using the left/right arrow keys - version 4
13 years ago
Snuffleupagus
a97a0e2f55
Add reset of zoom level using CTRL + [Numpad 0] on Swedish keyboard
13 years ago
waddlesplash
d05031d3b0
Add German keyboard "+"-zoom.
13 years ago
Yury Delendik
5dc87a7fca
Detecting if web fonts are disable in Firefox.
13 years ago
Yury Delendik
e5247e4895
Updates webL10n; using viewer.properties as is
13 years ago
Brendan Dahl
df0d9be4a5
Add close button and title bar for b2g.
13 years ago
Brendan Dahl
67f3b38245
Change keys and update wording for find wrapped strings.
13 years ago
Brendan Dahl
60209f6b43
Use high dpi display hack for printing too.
13 years ago
waddlesplash
32fbf687ab
Refactor names in various files.
...
web/viewer.js
src/fonts.js (& remove unused global)
src/evaluator.js
src/canvas.js
13 years ago
Saebekassebil
6f17260d35
Fix bugzilla bug#804526, hiding fullscreen button when in an iframe
13 years ago
Yury Delendik
1f56d242ff
Adds basic PDF info
13 years ago
Brendan Dahl
babd8df176
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code.
13 years ago
Yury Delendik
a47033131c
Fixes find_wrapped_to_bottom fallback string
13 years ago
Piotr Zalewa
812bc6795d
* InvalidPDFException added
...
* Act on throwing an Exception and InvalidPDFException by rejecting the worker
instead of throwing
* changed message for all builds
* alerting and closing window only for B2G builds
* invalid_file_error added to l10n (en and pl)
* UnknownErrorException added and used for every error()
13 years ago
Brendan Dahl
8e3f626f8a
Remove use of innerhtml.
13 years ago
waddlesplash
ceee2c4d04
Make the comments look nicer & fix a linebreak bug.
13 years ago
Brendan Dahl
3488d756e8
Allow find to highlight matches without extracting all text.
13 years ago
Yury Delendik
4dcb1fd25f
Fixes output for HiDPI device
13 years ago
Yury Delendik
209ee959db
Fixes 'currentPage is undefined' viewer error
13 years ago
Yury Delendik
ee499b46cf
Removes 'visiblePages[0] is undefined' error
13 years ago
Yury Delendik
da73934baf
Fixes fit-page and fullscreen
13 years ago