rebuilding site Mon Sep 6 08:11:47 PM CST 2021
[uweb.git] / searchurl / txt / pdfviewer.html
blobda4ae30394241eac6121456a97bae2de1ec66700
1 <!DOCTYPE html>
2 <html dir="ltr" mozdisallowselectionprint>
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6 <title>PDF.js viewer</title>
9 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pdfjs-dist-viewer-min/build/minified/web/viewer.css">
12 <!-- This snippet is used in production (included from viewer.html) -->
13 <link rel="resource" type="application/l10n" href="https://cdn.jsdelivr.net/npm/pdfjs-dist-viewer-min/build/minified/web/locale/locale.properties">
14 <script src="https://cdn.jsdelivr.net/npm/pdfjs-dist-viewer-min/build/minified/build/pdf.js"></script>
17 <script src="https://cdn.jsdelivr.net/npm/pdfjs-dist-viewer-min/build/minified/web/pdf.viewer.js"></script>
19 </head>
21 <body tabindex="1" class="loadingInProgress">
22 <div id="outerContainer">
24 <div id="sidebarContainer">
25 <div id="toolbarSidebar">
26 <div class="splitToolbarButton toggled">
27 <button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="thumbs">
28 <span data-l10n-id="thumbs_label">Thumbnails</span>
29 </button>
30 <button id="viewOutline" class="toolbarButton" title="Show Document Outline (double-click to expand/collapse all items)" tabindex="3" data-l10n-id="document_outline">
31 <span data-l10n-id="document_outline_label">Document Outline</span>
32 </button>
33 <button id="viewAttachments" class="toolbarButton" title="Show Attachments" tabindex="4" data-l10n-id="attachments">
34 <span data-l10n-id="attachments_label">Attachments</span>
35 </button>
36 </div>
37 </div>
38 <div id="sidebarContent">
39 <div id="thumbnailView">
40 </div>
41 <div id="outlineView" class="hidden">
42 </div>
43 <div id="attachmentsView" class="hidden">
44 </div>
45 </div>
46 <div id="sidebarResizer" class="hidden"></div>
47 </div> <!-- sidebarContainer -->
49 <div id="mainContainer">
50 <div class="findbar hidden doorHanger" id="findbar">
51 <div id="findbarInputContainer">
52 <input id="findInput" class="toolbarField" title="Find" placeholder="Find in document…" tabindex="91" data-l10n-id="find_input">
53 <div class="splitToolbarButton">
54 <button id="findPrevious" class="toolbarButton findPrevious" title="Find the previous occurrence of the phrase" tabindex="92" data-l10n-id="find_previous">
55 <span data-l10n-id="find_previous_label">Previous</span>
56 </button>
57 <div class="splitToolbarButtonSeparator"></div>
58 <button id="findNext" class="toolbarButton findNext" title="Find the next occurrence of the phrase" tabindex="93" data-l10n-id="find_next">
59 <span data-l10n-id="find_next_label">Next</span>
60 </button>
61 </div>
62 </div>
64 <div id="findbarOptionsOneContainer">
65 <input type="checkbox" id="findHighlightAll" class="toolbarField" tabindex="94">
66 <label for="findHighlightAll" class="toolbarLabel" data-l10n-id="find_highlight">Highlight all</label>
67 <input type="checkbox" id="findMatchCase" class="toolbarField" tabindex="95">
68 <label for="findMatchCase" class="toolbarLabel" data-l10n-id="find_match_case_label">Match case</label>
69 </div>
70 <div id="findbarOptionsTwoContainer">
71 <input type="checkbox" id="findEntireWord" class="toolbarField" tabindex="96">
72 <label for="findEntireWord" class="toolbarLabel" data-l10n-id="find_entire_word_label">Whole words</label>
73 <span id="findResultsCount" class="toolbarLabel hidden"></span>
74 </div>
76 <div id="findbarMessageContainer">
77 <span id="findMsg" class="toolbarLabel"></span>
78 </div>
79 </div> <!-- findbar -->
81 <div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight">
82 <div id="secondaryToolbarButtonContainer">
83 <button id="secondaryPresentationMode" class="secondaryToolbarButton presentationMode visibleLargeView" title="Switch to Presentation Mode" tabindex="51" data-l10n-id="presentation_mode">
84 <span data-l10n-id="presentation_mode_label">Presentation Mode</span>
85 </button>
87 <button id="secondaryOpenFile" class="secondaryToolbarButton openFile visibleLargeView" title="Open File" tabindex="52" data-l10n-id="open_file">
88 <span data-l10n-id="open_file_label">Open</span>
89 </button>
91 <button id="secondaryPrint" class="secondaryToolbarButton print visibleMediumView" title="Print" tabindex="53" data-l10n-id="print">
92 <span data-l10n-id="print_label">Print</span>
93 </button>
95 <button id="secondaryDownload" class="secondaryToolbarButton download visibleMediumView" title="Download" tabindex="54" data-l10n-id="download">
96 <span data-l10n-id="download_label">Download</span>
97 </button>
99 <a href="#" id="secondaryViewBookmark" class="secondaryToolbarButton bookmark visibleSmallView" title="Current view (copy or open in new window)" tabindex="55" data-l10n-id="bookmark">
100 <span data-l10n-id="bookmark_label">Current View</span>
101 </a>
103 <div class="horizontalToolbarSeparator visibleLargeView"></div>
105 <button id="firstPage" class="secondaryToolbarButton firstPage" title="Go to First Page" tabindex="56" data-l10n-id="first_page">
106 <span data-l10n-id="first_page_label">Go to First Page</span>
107 </button>
108 <button id="lastPage" class="secondaryToolbarButton lastPage" title="Go to Last Page" tabindex="57" data-l10n-id="last_page">
109 <span data-l10n-id="last_page_label">Go to Last Page</span>
110 </button>
112 <div class="horizontalToolbarSeparator"></div>
114 <button id="pageRotateCw" class="secondaryToolbarButton rotateCw" title="Rotate Clockwise" tabindex="58" data-l10n-id="page_rotate_cw">
115 <span data-l10n-id="page_rotate_cw_label">Rotate Clockwise</span>
116 </button>
117 <button id="pageRotateCcw" class="secondaryToolbarButton rotateCcw" title="Rotate Counterclockwise" tabindex="59" data-l10n-id="page_rotate_ccw">
118 <span data-l10n-id="page_rotate_ccw_label">Rotate Counterclockwise</span>
119 </button>
121 <div class="horizontalToolbarSeparator"></div>
123 <button id="cursorSelectTool" class="secondaryToolbarButton selectTool toggled" title="Enable Text Selection Tool" tabindex="60" data-l10n-id="cursor_text_select_tool">
124 <span data-l10n-id="cursor_text_select_tool_label">Text Selection Tool</span>
125 </button>
126 <button id="cursorHandTool" class="secondaryToolbarButton handTool" title="Enable Hand Tool" tabindex="61" data-l10n-id="cursor_hand_tool">
127 <span data-l10n-id="cursor_hand_tool_label">Hand Tool</span>
128 </button>
130 <div class="horizontalToolbarSeparator"></div>
132 <button id="scrollVertical" class="secondaryToolbarButton scrollModeButtons scrollVertical toggled" title="Use Vertical Scrolling" tabindex="62" data-l10n-id="scroll_vertical">
133 <span data-l10n-id="scroll_vertical_label">Vertical Scrolling</span>
134 </button>
135 <button id="scrollHorizontal" class="secondaryToolbarButton scrollModeButtons scrollHorizontal" title="Use Horizontal Scrolling" tabindex="63" data-l10n-id="scroll_horizontal">
136 <span data-l10n-id="scroll_horizontal_label">Horizontal Scrolling</span>
137 </button>
138 <button id="scrollWrapped" class="secondaryToolbarButton scrollModeButtons scrollWrapped" title="Use Wrapped Scrolling" tabindex="64" data-l10n-id="scroll_wrapped">
139 <span data-l10n-id="scroll_wrapped_label">Wrapped Scrolling</span>
140 </button>
142 <div class="horizontalToolbarSeparator scrollModeButtons"></div>
144 <button id="spreadNone" class="secondaryToolbarButton spreadModeButtons spreadNone toggled" title="Do not join page spreads" tabindex="65" data-l10n-id="spread_none">
145 <span data-l10n-id="spread_none_label">No Spreads</span>
146 </button>
147 <button id="spreadOdd" class="secondaryToolbarButton spreadModeButtons spreadOdd" title="Join page spreads starting with odd-numbered pages" tabindex="66" data-l10n-id="spread_odd">
148 <span data-l10n-id="spread_odd_label">Odd Spreads</span>
149 </button>
150 <button id="spreadEven" class="secondaryToolbarButton spreadModeButtons spreadEven" title="Join page spreads starting with even-numbered pages" tabindex="67" data-l10n-id="spread_even">
151 <span data-l10n-id="spread_even_label">Even Spreads</span>
152 </button>
154 <div class="horizontalToolbarSeparator spreadModeButtons"></div>
156 <button id="documentProperties" class="secondaryToolbarButton documentProperties" title="Document Properties…" tabindex="68" data-l10n-id="document_properties">
157 <span data-l10n-id="document_properties_label">Document Properties…</span>
158 </button>
159 </div>
160 </div> <!-- secondaryToolbar -->
162 <div class="toolbar">
163 <div id="toolbarContainer">
164 <div id="toolbarViewer">
165 <div id="toolbarViewerLeft">
166 <button id="sidebarToggle" class="toolbarButton" title="Toggle Sidebar" tabindex="11" data-l10n-id="toggle_sidebar">
167 <span data-l10n-id="toggle_sidebar_label">Toggle Sidebar</span>
168 </button>
169 <div class="toolbarButtonSpacer"></div>
170 <button id="viewFind" class="toolbarButton" title="Find in Document" tabindex="12" data-l10n-id="findbar">
171 <span data-l10n-id="findbar_label">Find</span>
172 </button>
173 <div class="splitToolbarButton hiddenSmallView">
174 <button class="toolbarButton pageUp" title="Previous Page" id="previous" tabindex="13" data-l10n-id="previous">
175 <span data-l10n-id="previous_label">Previous</span>
176 </button>
177 <div class="splitToolbarButtonSeparator"></div>
178 <button class="toolbarButton pageDown" title="Next Page" id="next" tabindex="14" data-l10n-id="next">
179 <span data-l10n-id="next_label">Next</span>
180 </button>
181 </div>
182 <input type="number" id="pageNumber" class="toolbarField pageNumber" title="Page" value="1" size="4" min="1" tabindex="15" data-l10n-id="page">
183 <span id="numPages" class="toolbarLabel"></span>
184 </div>
185 <div id="toolbarViewerRight">
186 <button id="presentationMode" class="toolbarButton presentationMode hiddenLargeView" title="Switch to Presentation Mode" tabindex="31" data-l10n-id="presentation_mode">
187 <span data-l10n-id="presentation_mode_label">Presentation Mode</span>
188 </button>
190 <button id="openFile" class="toolbarButton openFile hiddenLargeView" title="Open File" tabindex="32" data-l10n-id="open_file">
191 <span data-l10n-id="open_file_label">Open</span>
192 </button>
194 <button id="print" class="toolbarButton print hiddenMediumView" title="Print" tabindex="33" data-l10n-id="print">
195 <span data-l10n-id="print_label">Print</span>
196 </button>
198 <button id="download" class="toolbarButton download hiddenMediumView" title="Download" tabindex="34" data-l10n-id="download">
199 <span data-l10n-id="download_label">Download</span>
200 </button>
201 <a href="#" id="viewBookmark" class="toolbarButton bookmark hiddenSmallView" title="Current view (copy or open in new window)" tabindex="35" data-l10n-id="bookmark">
202 <span data-l10n-id="bookmark_label">Current View</span>
203 </a>
205 <div class="verticalToolbarSeparator hiddenSmallView"></div>
207 <button id="secondaryToolbarToggle" class="toolbarButton" title="Tools" tabindex="36" data-l10n-id="tools">
208 <span data-l10n-id="tools_label">Tools</span>
209 </button>
210 </div>
211 <div id="toolbarViewerMiddle">
212 <div class="splitToolbarButton">
213 <button id="zoomOut" class="toolbarButton zoomOut" title="Zoom Out" tabindex="21" data-l10n-id="zoom_out">
214 <span data-l10n-id="zoom_out_label">Zoom Out</span>
215 </button>
216 <div class="splitToolbarButtonSeparator"></div>
217 <button id="zoomIn" class="toolbarButton zoomIn" title="Zoom In" tabindex="22" data-l10n-id="zoom_in">
218 <span data-l10n-id="zoom_in_label">Zoom In</span>
219 </button>
220 </div>
221 <span id="scaleSelectContainer" class="dropdownToolbarButton">
222 <select id="scaleSelect" title="Zoom" tabindex="23" data-l10n-id="zoom">
223 <option id="pageAutoOption" title="" value="auto" selected="selected" data-l10n-id="page_scale_auto">Automatic Zoom</option>
224 <option id="pageActualOption" title="" value="page-actual" data-l10n-id="page_scale_actual">Actual Size</option>
225 <option id="pageFitOption" title="" value="page-fit" data-l10n-id="page_scale_fit">Page Fit</option>
226 <option id="pageWidthOption" title="" value="page-width" data-l10n-id="page_scale_width">Page Width</option>
227 <option id="customScaleOption" title="" value="custom" disabled="disabled" hidden="true"></option>
228 <option title="" value="0.5" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 50 }'>50%</option>
229 <option title="" value="0.75" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 75 }'>75%</option>
230 <option title="" value="1" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 100 }'>100%</option>
231 <option title="" value="1.25" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 125 }'>125%</option>
232 <option title="" value="1.5" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 150 }'>150%</option>
233 <option title="" value="2" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 200 }'>200%</option>
234 <option title="" value="3" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 300 }'>300%</option>
235 <option title="" value="4" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 400 }'>400%</option>
236 </select>
237 </span>
238 </div>
239 </div>
240 <div id="loadingBar">
241 <div class="progress">
242 <div class="glimmer">
243 </div>
244 </div>
245 </div>
246 </div>
247 </div>
249 <menu type="context" id="viewerContextMenu">
250 <menuitem id="contextFirstPage" label="First Page"
251 data-l10n-id="first_page"></menuitem>
252 <menuitem id="contextLastPage" label="Last Page"
253 data-l10n-id="last_page"></menuitem>
254 <menuitem id="contextPageRotateCw" label="Rotate Clockwise"
255 data-l10n-id="page_rotate_cw"></menuitem>
256 <menuitem id="contextPageRotateCcw" label="Rotate Counter-Clockwise"
257 data-l10n-id="page_rotate_ccw"></menuitem>
258 </menu>
260 <div id="viewerContainer" tabindex="0">
261 <div id="viewer" class="pdfViewer"></div>
262 </div>
264 <div id="errorWrapper" hidden='true'>
265 <div id="errorMessageLeft">
266 <span id="errorMessage"></span>
267 <button id="errorShowMore" data-l10n-id="error_more_info">
268 More Information
269 </button>
270 <button id="errorShowLess" data-l10n-id="error_less_info" hidden='true'>
271 Less Information
272 </button>
273 </div>
274 <div id="errorMessageRight">
275 <button id="errorClose" data-l10n-id="error_close">
276 Close
277 </button>
278 </div>
279 <div class="clearBoth"></div>
280 <textarea id="errorMoreInfo" hidden='true' readonly="readonly"></textarea>
281 </div>
282 </div> <!-- mainContainer -->
284 <div id="overlayContainer" class="hidden">
285 <div id="passwordOverlay" class="container hidden">
286 <div class="dialog">
287 <div class="row">
288 <p id="passwordText" data-l10n-id="password_label">Enter the password to open this PDF file:</p>
289 </div>
290 <div class="row">
291 <input type="password" id="password" class="toolbarField">
292 </div>
293 <div class="buttonRow">
294 <button id="passwordCancel" class="overlayButton"><span data-l10n-id="password_cancel">Cancel</span></button>
295 <button id="passwordSubmit" class="overlayButton"><span data-l10n-id="password_ok">OK</span></button>
296 </div>
297 </div>
298 </div>
299 <div id="documentPropertiesOverlay" class="container hidden">
300 <div class="dialog">
301 <div class="row">
302 <span data-l10n-id="document_properties_file_name">File name:</span> <p id="fileNameField">-</p>
303 </div>
304 <div class="row">
305 <span data-l10n-id="document_properties_file_size">File size:</span> <p id="fileSizeField">-</p>
306 </div>
307 <div class="separator"></div>
308 <div class="row">
309 <span data-l10n-id="document_properties_title">Title:</span> <p id="titleField">-</p>
310 </div>
311 <div class="row">
312 <span data-l10n-id="document_properties_author">Author:</span> <p id="authorField">-</p>
313 </div>
314 <div class="row">
315 <span data-l10n-id="document_properties_subject">Subject:</span> <p id="subjectField">-</p>
316 </div>
317 <div class="row">
318 <span data-l10n-id="document_properties_keywords">Keywords:</span> <p id="keywordsField">-</p>
319 </div>
320 <div class="row">
321 <span data-l10n-id="document_properties_creation_date">Creation Date:</span> <p id="creationDateField">-</p>
322 </div>
323 <div class="row">
324 <span data-l10n-id="document_properties_modification_date">Modification Date:</span> <p id="modificationDateField">-</p>
325 </div>
326 <div class="row">
327 <span data-l10n-id="document_properties_creator">Creator:</span> <p id="creatorField">-</p>
328 </div>
329 <div class="separator"></div>
330 <div class="row">
331 <span data-l10n-id="document_properties_producer">PDF Producer:</span> <p id="producerField">-</p>
332 </div>
333 <div class="row">
334 <span data-l10n-id="document_properties_version">PDF Version:</span> <p id="versionField">-</p>
335 </div>
336 <div class="row">
337 <span data-l10n-id="document_properties_page_count">Page Count:</span> <p id="pageCountField">-</p>
338 </div>
339 <div class="row">
340 <span data-l10n-id="document_properties_page_size">Page Size:</span> <p id="pageSizeField">-</p>
341 </div>
342 <div class="separator"></div>
343 <div class="row">
344 <span data-l10n-id="document_properties_linearized">Fast Web View:</span> <p id="linearizedField">-</p>
345 </div>
346 <div class="buttonRow">
347 <button id="documentPropertiesClose" class="overlayButton"><span data-l10n-id="document_properties_close">Close</span></button>
348 </div>
349 </div>
350 </div>
351 <div id="printServiceOverlay" class="container hidden">
352 <div class="dialog">
353 <div class="row">
354 <span data-l10n-id="print_progress_message">Preparing document for printing…</span>
355 </div>
356 <div class="row">
357 <progress value="0" max="100"></progress>
358 <span data-l10n-id="print_progress_percent" data-l10n-args='{ "progress": 0 }' class="relative-progress">0%</span>
359 </div>
360 <div class="buttonRow">
361 <button id="printCancel" class="overlayButton"><span data-l10n-id="print_progress_close">Cancel</span></button>
362 </div>
363 </div>
364 </div>
365 </div> <!-- overlayContainer -->
367 </div> <!-- outerContainer -->
368 <div id="printContainer"></div>
369 </body>
370 </html>