Commit Graph

53 Commits

Author SHA1 Message Date
Samuel Chantaraud
076b3433b4 Improved annotations' display/behavior.
Added an "InteractiveAnnotation" class to homogenize the annotations' structure (highlighting) and user interactions (for now, used for text and link annotations).

Text annotations:
The appearance (AP) has priority over the icon (Name).
The popup extends horizontally (up to a limit) as well as vertically.
Reduced the title's font size.
The annotation's color (C) is used to color the popup's background.
On top of the mouseover show/hide behavior, a click on the icon will lock the annotation open (for mobile purposes). It can be closed with another click on either the icon or the popup.

An annotation printing is conditioned by its "print" bit
Unsupported annotations are not displayed at all.
2014-03-07 10:48:42 -04:00
shorlander
bef10a938a Clean up toolbar images and add Retina assets. 2014-02-20 16:10:46 -05:00
Gabriele Svelto
f4d54517c4 Bug 972435 - Recompress all PNG assets 2014-02-13 17:57:10 +01:00
Tim van der Meij
5f7ded4ff6 Document properties 2014-01-22 00:07:07 +01:00
fkaelberer
1b35bf6c5e Recompressed PNG assets 2014-01-02 21:11:01 +01:00
Rob Wu
3914768085 Implement hand tool
The logic for the hand tool is implemented in a separate project,
maintained at https://github.com/Rob--W/grab-to-pan.js

Integration notes
- Added toggle as an entry under the Secondary toolbar
- Added shortcut "h" to toggle hand tool (to-do: document this in wiki
  after merge). This shortcut is also used in Adobe's Acrobat Reader.

To-do: localizations for:
hand_tool_enable.title=
hand_tool_enable_label=
hand_tool_disable.title=
hand_tool_disable_label=

To-do (wish): persistence of hand tool preference, preferably a global setting.

secondaryToolbarButton-handTool.png created by Stephen Horlander <shorlander@mozilla.com>
2013-12-03 15:51:41 +01:00
Tim van der Meij
67e4c03786 Improvements for RTL languages 2013-09-14 19:33:00 +02:00
Tim van der Meij
48a24a48c1 Fixing annotation icon issues 2013-09-06 21:00:02 +02:00
Tim van der Meij
3c0ac37292 Secondary toolbar 2013-09-04 23:48:31 +02:00
Kalervo Kujala
5e08f8039d Replace fullscreen with presentationMode 2013-05-01 09:22:17 +03:00
Yury Delendik
85ddd9405a Replacing page shadow with image; removing some profixed styles 2013-03-03 09:38:38 -06:00
waddlesplash
1d43cb2523 Add more annotation icons and vectorize the logo. 2012-10-27 13:40:13 -04:00
waddlesplash
ceee2c4d04 Make the comments look nicer & fix a linebreak bug. 2012-10-24 10:52:14 -04:00
Brendan Dahl
c3debc6ee0 Delay extracting text until first find event. 2012-10-10 13:58:14 -07:00
Yury Delendik
ade5f96787 Add pilot find next/prev icons; localization 2012-10-05 19:15:06 -05:00
Saebekassebil
8544101970 Add fullscreen image, and fix last page artifact 2012-07-30 20:15:48 +02:00
Brendan Dahl
cebee4026d UI update from shorlanders comments. 2012-06-07 13:51:29 -07:00
Yury Delendik
91bc7f7950 remove svg image 2012-05-24 16:11:51 -05:00
Yury Delendik
74616848ca Merge remote-tracking branch 'mozilla/master' into textsearch
Conflicts:
	l10n/en-US/viewer.properties
	web/viewer.html
2012-05-21 14:07:30 -05:00
Yury Delendik
55d9a53e40 Fixes tab order, temp icon and localization 2012-05-21 11:23:12 -05:00
Yury Delendik
cc3e7197b3 Replaces browse button with a icon 2012-05-20 17:12:58 -05:00
Artur Adib
2d3ed7fc78 Merge branch 'refs/heads/master' into textsearch
Conflicts:
	web/viewer.css
	web/viewer.html
	web/viewer.js
2012-05-08 17:22:48 -04:00
Yury Delendik
d64c40ea4b Merge branch 'master' of git://github.com/mozilla/pdf.js.git into l10n
Conflicts:
	web/viewer.js
2012-05-02 10:23:39 -05:00
Artur Adib
e0fe0ff0b2 add back missing annotation SVG files 2012-05-02 11:02:13 -04:00
Artur Adib
ae3ca69a14 oops 2012-05-02 10:03:42 -04:00
Artur Adib
955c9f79a9 Removing unused SVG files 2012-05-02 10:03:07 -04:00
Yury Delendik
e7f63e3e5e Fixes rtl zoom and page up/down icons 2012-05-01 19:39:24 -05:00
Brendan Dahl
92d0d1d694 Merge new API and text search. 2012-04-20 16:49:08 -07:00
Artur Adib
7e51d2b1f7 Merge branch 'master' into new-ui
Conflicts:
	web/viewer.html
	web/viewer.js
2012-04-18 15:02:49 -04:00
Yury Delendik
237e1d941d Fix annotations; add text annotation icon 2012-04-17 15:33:15 -05:00
Brendan Dahl
719133a15f Update download image. 2012-04-13 14:17:18 -07:00
Artur Adib
324ea1d743 first mockup, loads tracemonkey pages OK 2012-04-11 16:12:51 -07:00
Julian Viereck
3c77291013 Merge text search with current master 2012-04-08 08:57:55 -07:00
notmasteryet
02711c7610 Fixes unnecessary style attributes in svg 2012-03-07 19:12:05 -06:00
notmasteryet
3e6c7693a0 Vector pins 2012-02-15 20:11:08 -06:00
gigaherz
49a208829b Make the pin icons glow a bit. 2012-02-13 18:13:53 +01:00
gigaherz
a617aff425 Quick & dirty sidebar pinning. 2012-02-04 21:13:12 +01:00
Jeff Wagner
e73e10c4d9 IE9 SVG images need viewport defined 2012-02-02 12:33:28 -08:00
Artur Adib
47f24cd27b Show animated loading icon if page renders slow 2012-01-31 16:20:09 -05:00
notmasteryet
7b479c352c Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
Conflicts:
	web/viewer.js
2011-12-30 20:04:08 -06:00
Saebekassebil
4a661e1735 Implemented Comment and Check annotation. Correcting some typos in last commit 2011-12-21 23:22:07 +01:00
notmasteryet
3bde084ffd add "find" images; function name fix 2011-12-19 18:05:32 -06:00
Vivien Nicolas
6d2c5414bf Add a download button in case the extension is not enough 2011-10-19 03:20:50 +02:00
notmasteryet
b54be346b5 Add "bookmark" icon; and fixing scale/ current page number issues 2011-10-14 21:05:57 -05:00
notmasteryet
865a6e663a Fixing #426 comment; add '0' key as a scale reset 2011-09-05 09:07:18 -05:00
notmasteryet
9f765f052e Tango icons, simplifying the CSS 2011-09-03 09:10:24 -05:00
sbarman
488a007f73 Merge pull request #352 from notmasteryet/outline
Switching to the document outline view
2011-08-23 15:00:52 -07:00
notmasteryet
3aa6e38f01 Switching to the document outline view if the document structure is present 2011-08-21 21:05:10 -05:00
Vivien Nicolas
bf86d1bec8 Use Tango Public Domain icons and add some small tweaks to viewer.js 2011-07-29 18:17:04 +02:00
Vivien Nicolas
e28e0669f9 Add buttons images 2011-07-28 19:57:53 +02:00