cmaps
3 years ago
images
3 years ago
locale
3 years ago
ep-scripts.js
3 years ago
viewer.css
3 years ago
viewer.html
3 years ago
viewer.js
3 years ago
viewer.html
440 lines
| 1 | <!DOCTYPE html> |
| 2 | <!-- |
| 3 | Copyright 2012 Mozilla Foundation |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | Adobe CMap resources are covered by their own copyright but the same license: |
| 18 | |
| 19 | Copyright 1990-2015 Adobe Systems Incorporated. |
| 20 | |
| 21 | See https://github.com/adobe-type-tools/cmap-resources |
| 22 | --> |
| 23 | <html dir="ltr" mozdisallowselectionprint> |
| 24 | <head> |
| 25 | <meta charset="utf-8"> |
| 26 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| 27 | <meta name="google" content="notranslate"> |
| 28 | <title>PDF.js viewer</title> |
| 29 | |
| 30 | <link rel="stylesheet" href="viewer.css"> |
| 31 | |
| 32 | <!-- This snippet is used in production (included from viewer.html) --> |
| 33 | <link rel="resource" type="application/l10n" href="locale/locale.properties"> |
| 34 | <script src="../build/pdf.js"></script> |
| 35 | |
| 36 | <script src="viewer.js"></script> |
| 37 | <script type="module" src="ep-scripts.js"></script> |
| 38 | |
| 39 | </head> |
| 40 | |
| 41 | <body tabindex="1"> |
| 42 | <div id="outerContainer"> |
| 43 | |
| 44 | <div id="sidebarContainer"> |
| 45 | <div id="toolbarSidebar"> |
| 46 | <div id="toolbarSidebarLeft"> |
| 47 | <div id="sidebarViewButtons" class="splitToolbarButton toggled" role="radiogroup"> |
| 48 | <button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="thumbs" role="radio" aria-checked="true" aria-controls="thumbnailView"> |
| 49 | <span data-l10n-id="thumbs_label">Thumbnails</span> |
| 50 | </button> |
| 51 | <button id="viewOutline" class="toolbarButton" title="Show Document Outline (double-click to expand/collapse all items)" tabindex="3" data-l10n-id="document_outline" role="radio" aria-checked="false" aria-controls="outlineView"> |
| 52 | <span data-l10n-id="document_outline_label">Document Outline</span> |
| 53 | </button> |
| 54 | <button id="viewAttachments" class="toolbarButton" title="Show Attachments" tabindex="4" data-l10n-id="attachments" role="radio" aria-checked="false" aria-controls="attachmentsView"> |
| 55 | <span data-l10n-id="attachments_label">Attachments</span> |
| 56 | </button> |
| 57 | <button id="viewLayers" class="toolbarButton" title="Show Layers (double-click to reset all layers to the default state)" tabindex="5" data-l10n-id="layers" role="radio" aria-checked="false" aria-controls="layersView"> |
| 58 | <span data-l10n-id="layers_label">Layers</span> |
| 59 | </button> |
| 60 | </div> |
| 61 | </div> |
| 62 | |
| 63 | <div id="toolbarSidebarRight"> |
| 64 | <div id="outlineOptionsContainer" class="hidden"> |
| 65 | <div class="verticalToolbarSeparator"></div> |
| 66 | |
| 67 | <button id="currentOutlineItem" class="toolbarButton" disabled="disabled" title="Find Current Outline Item" tabindex="6" data-l10n-id="current_outline_item"> |
| 68 | <span data-l10n-id="current_outline_item_label">Current Outline Item</span> |
| 69 | </button> |
| 70 | </div> |
| 71 | </div> |
| 72 | </div> |
| 73 | <div id="sidebarContent"> |
| 74 | <div id="thumbnailView"> |
| 75 | </div> |
| 76 | <div id="outlineView" class="hidden"> |
| 77 | </div> |
| 78 | <div id="attachmentsView" class="hidden"> |
| 79 | </div> |
| 80 | <div id="layersView" class="hidden"> |
| 81 | </div> |
| 82 | </div> |
| 83 | <div id="sidebarResizer"></div> |
| 84 | </div> <!-- sidebarContainer --> |
| 85 | |
| 86 | <div id="mainContainer"> |
| 87 | <div class="findbar hidden doorHanger" id="findbar"> |
| 88 | <div id="findbarInputContainer"> |
| 89 | <input id="findInput" class="toolbarField" title="Find" placeholder="Find in document…" tabindex="91" data-l10n-id="find_input" aria-invalid="false"> |
| 90 | <div class="splitToolbarButton"> |
| 91 | <button id="findPrevious" class="toolbarButton" title="Find the previous occurrence of the phrase" tabindex="92" data-l10n-id="find_previous"> |
| 92 | <span data-l10n-id="find_previous_label">Previous</span> |
| 93 | </button> |
| 94 | <div class="splitToolbarButtonSeparator"></div> |
| 95 | <button id="findNext" class="toolbarButton" title="Find the next occurrence of the phrase" tabindex="93" data-l10n-id="find_next"> |
| 96 | <span data-l10n-id="find_next_label">Next</span> |
| 97 | </button> |
| 98 | </div> |
| 99 | </div> |
| 100 | |
| 101 | <div id="findbarOptionsOneContainer"> |
| 102 | <input type="checkbox" id="findHighlightAll" class="toolbarField" tabindex="94"> |
| 103 | <label for="findHighlightAll" class="toolbarLabel" data-l10n-id="find_highlight">Highlight All</label> |
| 104 | <input type="checkbox" id="findMatchCase" class="toolbarField" tabindex="95"> |
| 105 | <label for="findMatchCase" class="toolbarLabel" data-l10n-id="find_match_case_label">Match Case</label> |
| 106 | </div> |
| 107 | <div id="findbarOptionsTwoContainer"> |
| 108 | <input type="checkbox" id="findMatchDiacritics" class="toolbarField" tabindex="96"> |
| 109 | <label for="findMatchDiacritics" class="toolbarLabel" data-l10n-id="find_match_diacritics_label">Match Diacritics</label> |
| 110 | <input type="checkbox" id="findEntireWord" class="toolbarField" tabindex="97"> |
| 111 | <label for="findEntireWord" class="toolbarLabel" data-l10n-id="find_entire_word_label">Whole Words</label> |
| 112 | </div> |
| 113 | |
| 114 | <div id="findbarMessageContainer" aria-live="polite"> |
| 115 | <span id="findResultsCount" class="toolbarLabel"></span> |
| 116 | <span id="findMsg" class="toolbarLabel"></span> |
| 117 | </div> |
| 118 | </div> <!-- findbar --> |
| 119 | |
| 120 | <div class="editorParamsToolbar hidden doorHangerRight" id="editorFreeTextParamsToolbar"> |
| 121 | <div class="editorParamsToolbarContainer"> |
| 122 | <div class="editorParamsSetter"> |
| 123 | <label for="editorFreeTextColor" class="editorParamsLabel" data-l10n-id="editor_free_text_color">Color</label> |
| 124 | <input type="color" id="editorFreeTextColor" class="editorParamsColor" tabindex="100"> |
| 125 | </div> |
| 126 | <div class="editorParamsSetter"> |
| 127 | <label for="editorFreeTextFontSize" class="editorParamsLabel" data-l10n-id="editor_free_text_size">Size</label> |
| 128 | <input type="range" id="editorFreeTextFontSize" class="editorParamsSlider" value="10" min="5" max="100" step="1" tabindex="101"> |
| 129 | </div> |
| 130 | </div> |
| 131 | </div> |
| 132 | |
| 133 | <div class="editorParamsToolbar hidden doorHangerRight" id="editorInkParamsToolbar"> |
| 134 | <div class="editorParamsToolbarContainer"> |
| 135 | <div class="editorParamsSetter"> |
| 136 | <label for="editorInkColor" class="editorParamsLabel" data-l10n-id="editor_ink_color">Color</label> |
| 137 | <input type="color" id="editorInkColor" class="editorParamsColor" tabindex="102"> |
| 138 | </div> |
| 139 | <div class="editorParamsSetter"> |
| 140 | <label for="editorInkThickness" class="editorParamsLabel" data-l10n-id="editor_ink_thickness">Thickness</label> |
| 141 | <input type="range" id="editorInkThickness" class="editorParamsSlider" value="1" min="1" max="20" step="1" tabindex="103"> |
| 142 | </div> |
| 143 | <div class="editorParamsSetter"> |
| 144 | <label for="editorInkOpacity" class="editorParamsLabel" data-l10n-id="editor_ink_opacity">Opacity</label> |
| 145 | <input type="range" id="editorInkOpacity" class="editorParamsSlider" value="100" min="1" max="100" step="1" tabindex="104"> |
| 146 | </div> |
| 147 | </div> |
| 148 | </div> |
| 149 | |
| 150 | <div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight"> |
| 151 | <div id="secondaryToolbarButtonContainer"> |
| 152 | <button id="secondaryOpenFile" class="secondaryToolbarButton visibleLargeView" title="Open File" tabindex="51" data-l10n-id="open_file"> |
| 153 | <span data-l10n-id="open_file_label">Open</span> |
| 154 | </button> |
| 155 | |
| 156 | <button id="secondaryPrint" class="secondaryToolbarButton visibleMediumView" title="Print" tabindex="52" data-l10n-id="print"> |
| 157 | <span data-l10n-id="print_label">Print</span> |
| 158 | </button> |
| 159 | |
| 160 | <button id="secondaryDownload" class="secondaryToolbarButton visibleMediumView" title="Save" tabindex="53" data-l10n-id="save"> |
| 161 | <span data-l10n-id="save_label">Save</span> |
| 162 | </button> |
| 163 | |
| 164 | <div class="horizontalToolbarSeparator visibleLargeView"></div> |
| 165 | |
| 166 | <!-- <button id="presentationMode" class="secondaryToolbarButton" title="Switch to Presentation Mode" tabindex="54" data-l10n-id="presentation_mode"> |
| 167 | <span data-l10n-id="presentation_mode_label">Presentation Mode</span> |
| 168 | </button> --> |
| 169 | |
| 170 | <a href="#" id="viewBookmark" class="secondaryToolbarButton" title="Current Page (View URL from Current Page)" tabindex="55" data-l10n-id="bookmark1"> |
| 171 | <span data-l10n-id="bookmark1_label">Current Page</span> |
| 172 | </a> |
| 173 | |
| 174 | <div id="viewBookmarkSeparator" class="horizontalToolbarSeparator"></div> |
| 175 | |
| 176 | <button id="firstPage" class="secondaryToolbarButton" title="Go to First Page" tabindex="56" data-l10n-id="first_page"> |
| 177 | <span data-l10n-id="first_page_label">Go to First Page</span> |
| 178 | </button> |
| 179 | <button id="lastPage" class="secondaryToolbarButton" title="Go to Last Page" tabindex="57" data-l10n-id="last_page"> |
| 180 | <span data-l10n-id="last_page_label">Go to Last Page</span> |
| 181 | </button> |
| 182 | |
| 183 | <div class="horizontalToolbarSeparator"></div> |
| 184 | |
| 185 | <button id="pageRotateCw" class="secondaryToolbarButton" title="Rotate Clockwise" tabindex="58" data-l10n-id="page_rotate_cw"> |
| 186 | <span data-l10n-id="page_rotate_cw_label">Rotate Clockwise</span> |
| 187 | </button> |
| 188 | <button id="pageRotateCcw" class="secondaryToolbarButton" title="Rotate Counterclockwise" tabindex="59" data-l10n-id="page_rotate_ccw"> |
| 189 | <span data-l10n-id="page_rotate_ccw_label">Rotate Counterclockwise</span> |
| 190 | </button> |
| 191 | |
| 192 | <div class="horizontalToolbarSeparator"></div> |
| 193 | |
| 194 | <div id="cursorToolButtons" role="radiogroup"> |
| 195 | <button id="cursorSelectTool" class="secondaryToolbarButton toggled" title="Enable Text Selection Tool" tabindex="60" data-l10n-id="cursor_text_select_tool" role="radio" aria-checked="true"> |
| 196 | <span data-l10n-id="cursor_text_select_tool_label">Text Selection Tool</span> |
| 197 | </button> |
| 198 | <button id="cursorHandTool" class="secondaryToolbarButton" title="Enable Hand Tool" tabindex="61" data-l10n-id="cursor_hand_tool" role="radio" aria-checked="false"> |
| 199 | <span data-l10n-id="cursor_hand_tool_label">Hand Tool</span> |
| 200 | </button> |
| 201 | </div> |
| 202 | |
| 203 | <div class="horizontalToolbarSeparator"></div> |
| 204 | |
| 205 | <div id="scrollModeButtons" role="radiogroup"> |
| 206 | <button id="scrollPage" class="secondaryToolbarButton" title="Use Page Scrolling" tabindex="62" data-l10n-id="scroll_page" role="radio" aria-checked="false"> |
| 207 | <span data-l10n-id="scroll_page_label">Page Scrolling</span> |
| 208 | </button> |
| 209 | <button id="scrollVertical" class="secondaryToolbarButton toggled" title="Use Vertical Scrolling" tabindex="63" data-l10n-id="scroll_vertical" role="radio" aria-checked="true"> |
| 210 | <span data-l10n-id="scroll_vertical_label" >Vertical Scrolling</span> |
| 211 | </button> |
| 212 | <button id="scrollHorizontal" class="secondaryToolbarButton" title="Use Horizontal Scrolling" tabindex="64" data-l10n-id="scroll_horizontal" role="radio" aria-checked="false"> |
| 213 | <span data-l10n-id="scroll_horizontal_label">Horizontal Scrolling</span> |
| 214 | </button> |
| 215 | <button id="scrollWrapped" class="secondaryToolbarButton" title="Use Wrapped Scrolling" tabindex="65" data-l10n-id="scroll_wrapped" role="radio" aria-checked="false"> |
| 216 | <span data-l10n-id="scroll_wrapped_label">Wrapped Scrolling</span> |
| 217 | </button> |
| 218 | </div> |
| 219 | |
| 220 | <div class="horizontalToolbarSeparator"></div> |
| 221 | |
| 222 | <div id="spreadModeButtons" role="radiogroup"> |
| 223 | <button id="spreadNone" class="secondaryToolbarButton toggled" title="Do not join page spreads" tabindex="66" data-l10n-id="spread_none" role="radio" aria-checked="true"> |
| 224 | <span data-l10n-id="spread_none_label">No Spreads</span> |
| 225 | </button> |
| 226 | <button id="spreadOdd" class="secondaryToolbarButton" title="Join page spreads starting with odd-numbered pages" tabindex="67" data-l10n-id="spread_odd" role="radio" aria-checked="false"> |
| 227 | <span data-l10n-id="spread_odd_label">Odd Spreads</span> |
| 228 | </button> |
| 229 | <button id="spreadEven" class="secondaryToolbarButton" title="Join page spreads starting with even-numbered pages" tabindex="68" data-l10n-id="spread_even" role="radio" aria-checked="false"> |
| 230 | <span data-l10n-id="spread_even_label">Even Spreads</span> |
| 231 | </button> |
| 232 | </div> |
| 233 | |
| 234 | <div class="horizontalToolbarSeparator"></div> |
| 235 | |
| 236 | <button id="documentProperties" class="secondaryToolbarButton" title="Document Properties…" tabindex="69" data-l10n-id="document_properties" aria-controls="documentPropertiesDialog"> |
| 237 | <span data-l10n-id="document_properties_label">Document Properties…</span> |
| 238 | </button> |
| 239 | </div> |
| 240 | </div> <!-- secondaryToolbar --> |
| 241 | |
| 242 | <div class="toolbar"> |
| 243 | <div id="toolbarContainer"> |
| 244 | <div id="toolbarViewer"> |
| 245 | <div id="toolbarViewerLeft"> |
| 246 | <button id="sidebarToggle" class="toolbarButton" title="Toggle Sidebar" tabindex="11" data-l10n-id="toggle_sidebar" aria-expanded="false" aria-controls="sidebarContainer"> |
| 247 | <span data-l10n-id="toggle_sidebar_label">Toggle Sidebar</span> |
| 248 | </button> |
| 249 | <div class="toolbarButtonSpacer"></div> |
| 250 | <button id="viewFind" class="toolbarButton" title="Find in Document" tabindex="12" data-l10n-id="findbar" aria-expanded="false" aria-controls="findbar"> |
| 251 | <span data-l10n-id="findbar_label">Find</span> |
| 252 | </button> |
| 253 | <div class="splitToolbarButton hiddenSmallView"> |
| 254 | <button class="toolbarButton" title="Previous Page" id="previous" tabindex="13" data-l10n-id="previous"> |
| 255 | <span data-l10n-id="previous_label">Previous</span> |
| 256 | </button> |
| 257 | <div class="splitToolbarButtonSeparator"></div> |
| 258 | <button class="toolbarButton" title="Next Page" id="next" tabindex="14" data-l10n-id="next"> |
| 259 | <span data-l10n-id="next_label">Next</span> |
| 260 | </button> |
| 261 | </div> |
| 262 | <input type="number" id="pageNumber" class="toolbarField" title="Page" value="1" min="1" tabindex="15" data-l10n-id="page" autocomplete="off"> |
| 263 | <span id="numPages" class="toolbarLabel"></span> |
| 264 | </div> |
| 265 | <div id="toolbarViewerRight"> |
| 266 | <button id="openFile" class="toolbarButton hiddenLargeView" title="Open File" tabindex="31" data-l10n-id="open_file"> |
| 267 | <span data-l10n-id="open_file_label">Open</span> |
| 268 | </button> |
| 269 | |
| 270 | <button id="presentationMode" class="toolbarButton hiddenMediumView" title="Switch to Presentation Mode" |
| 271 | tabindex="31" data-l10n-id="presentation_mode"> |
| 272 | <span data-l10n-id="presentation_mode_label">Presentation Mode</span> |
| 273 | </button> |
| 274 | |
| 275 | <button id="print" class="toolbarButton hiddenMediumView" title="Print" tabindex="32" data-l10n-id="print"> |
| 276 | <span data-l10n-id="print_label">Print</span> |
| 277 | </button> |
| 278 | |
| 279 | <button id="download" class="toolbarButton hiddenMediumView" title="Save" tabindex="33" data-l10n-id="save"> |
| 280 | <span data-l10n-id="save_label">Save</span> |
| 281 | </button> |
| 282 | |
| 283 | <div class="verticalToolbarSeparator hiddenMediumView"></div> |
| 284 | |
| 285 | <div id="editorModeButtons" class="splitToolbarButton toggled" role="radiogroup"> |
| 286 | <button id="editorFreeText" class="toolbarButton" disabled="disabled" title="Text" role="radio" aria-checked="false" tabindex="34" data-l10n-id="editor_free_text2"> |
| 287 | <span data-l10n-id="editor_free_text2_label">Text</span> |
| 288 | </button> |
| 289 | <button id="editorInk" class="toolbarButton" disabled="disabled" title="Draw" role="radio" aria-checked="false" tabindex="35" data-l10n-id="editor_ink2"> |
| 290 | <span data-l10n-id="editor_ink2_label">Draw</span> |
| 291 | </button> |
| 292 | </div> |
| 293 | |
| 294 | <div id="editorModeSeparator" class="verticalToolbarSeparator"></div> |
| 295 | |
| 296 | <button id="secondaryToolbarToggle" class="toolbarButton" title="Tools" tabindex="48" data-l10n-id="tools" aria-expanded="false" aria-controls="secondaryToolbar"> |
| 297 | <span data-l10n-id="tools_label">Tools</span> |
| 298 | </button> |
| 299 | </div> |
| 300 | <div id="toolbarViewerMiddle"> |
| 301 | <div class="splitToolbarButton"> |
| 302 | <button id="zoomOut" class="toolbarButton" title="Zoom Out" tabindex="21" data-l10n-id="zoom_out"> |
| 303 | <span data-l10n-id="zoom_out_label">Zoom Out</span> |
| 304 | </button> |
| 305 | <div class="splitToolbarButtonSeparator"></div> |
| 306 | <button id="zoomIn" class="toolbarButton" title="Zoom In" tabindex="22" data-l10n-id="zoom_in"> |
| 307 | <span data-l10n-id="zoom_in_label">Zoom In</span> |
| 308 | </button> |
| 309 | </div> |
| 310 | <span id="scaleSelectContainer" class="dropdownToolbarButton"> |
| 311 | <select id="scaleSelect" title="Zoom" tabindex="23" data-l10n-id="zoom"> |
| 312 | <option id="pageAutoOption" title="" value="auto" selected="selected" data-l10n-id="page_scale_auto">Automatic Zoom</option> |
| 313 | <option id="pageActualOption" title="" value="page-actual" data-l10n-id="page_scale_actual">Actual Size</option> |
| 314 | <option id="pageFitOption" title="" value="page-fit" data-l10n-id="page_scale_fit">Page Fit</option> |
| 315 | <option id="pageWidthOption" title="" value="page-width" data-l10n-id="page_scale_width">Page Width</option> |
| 316 | <option id="customScaleOption" title="" value="custom" disabled="disabled" hidden="true"></option> |
| 317 | <option title="" value="0.5" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 50 }'>50%</option> |
| 318 | <option title="" value="0.75" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 75 }'>75%</option> |
| 319 | <option title="" value="1" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 100 }'>100%</option> |
| 320 | <option title="" value="1.25" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 125 }'>125%</option> |
| 321 | <option title="" value="1.5" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 150 }'>150%</option> |
| 322 | <option title="" value="2" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 200 }'>200%</option> |
| 323 | <option title="" value="3" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 300 }'>300%</option> |
| 324 | <option title="" value="4" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 400 }'>400%</option> |
| 325 | </select> |
| 326 | </span> |
| 327 | </div> |
| 328 | </div> |
| 329 | <div id="loadingBar"> |
| 330 | <div class="progress"> |
| 331 | <div class="glimmer"> |
| 332 | </div> |
| 333 | </div> |
| 334 | </div> |
| 335 | </div> |
| 336 | </div> |
| 337 | |
| 338 | <div id="viewerContainer" tabindex="0"> |
| 339 | <div id="viewer" class="pdfViewer"></div> |
| 340 | </div> |
| 341 | </div> <!-- mainContainer --> |
| 342 | |
| 343 | <div id="dialogContainer"> |
| 344 | <dialog id="passwordDialog"> |
| 345 | <div class="row"> |
| 346 | <label for="password" id="passwordText" data-l10n-id="password_label">Enter the password to open this PDF file:</label> |
| 347 | </div> |
| 348 | <div class="row"> |
| 349 | <input type="password" id="password" class="toolbarField"> |
| 350 | </div> |
| 351 | <div class="buttonRow"> |
| 352 | <button id="passwordCancel" class="dialogButton"><span data-l10n-id="password_cancel">Cancel</span></button> |
| 353 | <button id="passwordSubmit" class="dialogButton"><span data-l10n-id="password_ok">OK</span></button> |
| 354 | </div> |
| 355 | </dialog> |
| 356 | <dialog id="documentPropertiesDialog"> |
| 357 | <div class="row"> |
| 358 | <span id="fileNameLabel" data-l10n-id="document_properties_file_name">File name:</span> |
| 359 | <p id="fileNameField" aria-labelledby="fileNameLabel">-</p> |
| 360 | </div> |
| 361 | <div class="row"> |
| 362 | <span id="fileSizeLabel" data-l10n-id="document_properties_file_size">File size:</span> |
| 363 | <p id="fileSizeField" aria-labelledby="fileSizeLabel">-</p> |
| 364 | </div> |
| 365 | <div class="separator"></div> |
| 366 | <div class="row"> |
| 367 | <span id="titleLabel" data-l10n-id="document_properties_title">Title:</span> |
| 368 | <p id="titleField" aria-labelledby="titleLabel">-</p> |
| 369 | </div> |
| 370 | <div class="row"> |
| 371 | <span id="authorLabel" data-l10n-id="document_properties_author">Author:</span> |
| 372 | <p id="authorField" aria-labelledby="authorLabel">-</p> |
| 373 | </div> |
| 374 | <div class="row"> |
| 375 | <span id="subjectLabel" data-l10n-id="document_properties_subject">Subject:</span> |
| 376 | <p id="subjectField" aria-labelledby="subjectLabel">-</p> |
| 377 | </div> |
| 378 | <div class="row"> |
| 379 | <span id="keywordsLabel" data-l10n-id="document_properties_keywords">Keywords:</span> |
| 380 | <p id="keywordsField" aria-labelledby="keywordsLabel">-</p> |
| 381 | </div> |
| 382 | <div class="row"> |
| 383 | <span id="creationDateLabel" data-l10n-id="document_properties_creation_date">Creation Date:</span> |
| 384 | <p id="creationDateField" aria-labelledby="creationDateLabel">-</p> |
| 385 | </div> |
| 386 | <div class="row"> |
| 387 | <span id="modificationDateLabel" data-l10n-id="document_properties_modification_date">Modification Date:</span> |
| 388 | <p id="modificationDateField" aria-labelledby="modificationDateLabel">-</p> |
| 389 | </div> |
| 390 | <div class="row"> |
| 391 | <span id="creatorLabel" data-l10n-id="document_properties_creator">Creator:</span> |
| 392 | <p id="creatorField" aria-labelledby="creatorLabel">-</p> |
| 393 | </div> |
| 394 | <div class="separator"></div> |
| 395 | <div class="row"> |
| 396 | <span id="producerLabel" data-l10n-id="document_properties_producer">PDF Producer:</span> |
| 397 | <p id="producerField" aria-labelledby="producerLabel">-</p> |
| 398 | </div> |
| 399 | <div class="row"> |
| 400 | <span id="versionLabel" data-l10n-id="document_properties_version">PDF Version:</span> |
| 401 | <p id="versionField" aria-labelledby="versionLabel">-</p> |
| 402 | </div> |
| 403 | <div class="row"> |
| 404 | <span id="pageCountLabel" data-l10n-id="document_properties_page_count">Page Count:</span> |
| 405 | <p id="pageCountField" aria-labelledby="pageCountLabel">-</p> |
| 406 | </div> |
| 407 | <div class="row"> |
| 408 | <span id="pageSizeLabel" data-l10n-id="document_properties_page_size">Page Size:</span> |
| 409 | <p id="pageSizeField" aria-labelledby="pageSizeLabel">-</p> |
| 410 | </div> |
| 411 | <div class="separator"></div> |
| 412 | <div class="row"> |
| 413 | <span id="linearizedLabel" data-l10n-id="document_properties_linearized">Fast Web View:</span> |
| 414 | <p id="linearizedField" aria-labelledby="linearizedLabel">-</p> |
| 415 | </div> |
| 416 | <div class="buttonRow"> |
| 417 | <button id="documentPropertiesClose" class="dialogButton"><span data-l10n-id="document_properties_close">Close</span></button> |
| 418 | </div> |
| 419 | </dialog> |
| 420 | <dialog id="printServiceDialog" style="min-width: 200px;"> |
| 421 | <div class="row"> |
| 422 | <span data-l10n-id="print_progress_message">Preparing document for printing…</span> |
| 423 | </div> |
| 424 | <div class="row"> |
| 425 | <progress value="0" max="100"></progress> |
| 426 | <span data-l10n-id="print_progress_percent" data-l10n-args='{ "progress": 0 }' class="relative-progress">0%</span> |
| 427 | </div> |
| 428 | <div class="buttonRow"> |
| 429 | <button id="printCancel" class="dialogButton"><span data-l10n-id="print_progress_close">Cancel</span></button> |
| 430 | </div> |
| 431 | </dialog> |
| 432 | </div> <!-- dialogContainer --> |
| 433 | |
| 434 | </div> <!-- outerContainer --> |
| 435 | <div id="printContainer"></div> |
| 436 | |
| 437 | <input type="file" id="fileInput" class="hidden"> |
| 438 | </body> |
| 439 | </html> |
| 440 |