Yury Delendik
7b2441ec23
Takes clientTop in account in getVisibleElements
12 years ago
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
Yury Delendik
85ddd9405a
Replacing page shadow with image; removing some profixed styles
12 years ago
Brendan Dahl
5c43565404
Hack to support automatic printing from pdf javascript.
12 years ago
waddlesplash
d0864f766b
CSS fixes to the sidebar.
...
No need for a 15px margin, and links should have a pointer cursor.
12 years ago
Jonas
87017ec3cf
Make links work in fullscreen - fix issue mentioned by @yurydelenik
12 years ago
Ofir
bf837cb524
Clone the array manually when slice is missing
12 years ago
waddlesplash
322709257d
Spacing fixes.
12 years ago
waddlesplash
b5dadab5c7
Add "cursor: text;" to textLayer div CSS.
...
Fixes problem caused by e4e4b1ab4e
.
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
Brendan Dahl
60edfce733
Don't hide the download/print buttons when view is small.
12 years ago
Jonas
e4e4b1ab4e
Make navigation keys work on document load - avoid breaking embedded viewer, take 3
12 years ago
waddlesplash
9ec51d89bd
Fixes to findbar CSS.
12 years ago
Julian Viereck
0721de45b0
Hide header/footer by default when printing from Firefox. See Bug 743252
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
c2e2afdd59
Prevent text selection divs from overflowing page boundries
12 years ago
Snuffleupagus
d296c3dbaa
Add 'pagemode' URL parameter - comments addressed
12 years ago
vyv03354
07491f584f
Replace getUserData()/setUserData() with CustomEvents
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
Srishti
a80234fee9
Bug #767698 Slider Rename
...
Bug #767698 Slider Rename
12 years ago
mduan
6bacb38692
Make canvas transform matrix account for devicePixelRatio
12 years ago
Brendan Dahl
971e202f0b
Disable printing a selection for Firefox.
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
d3836c0173
Fixes the Outline view in RTL languages, follow up of #2510
12 years ago
Snuffleupagus
727505b85d
Add word wrap of text in the Outline view to avoid horizontal scrolling
12 years ago
Daniel Johansson
097c3cf8b1
Fix margin on toolbar button separator to avoid changing height on hover, causing jittering
13 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
Brendan Dahl
fd4e40c82b
New GUI for B2G viewer.
13 years ago