1 <!DOCTYPE HTML> 2 <html i18n-values="dir:textdirection"> 3 <head> 4 <meta charset="utf-8"> 5 <!-- TODO(raymes): Turn these <include>s into HTML imports once they are 6 fully implemented. At that point includes.js can be removed 7 as the scripts will be pulled in automatically. --> 8 <script src="includes.js"></script> 9 <include src="html_office/elements/viewer-button/viewer-button.html"> 10 <include src="html_office/elements/viewer-error-screen/viewer-error-screen.html"> 11 <include src="html_office/elements/viewer-page-indicator/viewer-page-indicator.html"> 12 <include src="html_office/elements/viewer-password-screen/viewer-password-screen.html"> 13 <include src="html_office/elements/viewer-progress-bar/viewer-progress-bar.html"> 14 <include src="html_office/elements/viewer-toolbar/viewer-toolbar.html"> 15 <link rel="stylesheet" type="text/css" href="index.css"> 16 </head> 17 <body> 18 19 <div id="sizer"></div> 20 <viewer-password-screen id="password-screen"></viewer-password-screen> 21 <viewer-page-indicator id="page-indicator"></viewer-page-indicator> 22 <viewer-progress-bar id="progress-bar"></viewer-progress-bar> 23 24 <viewer-toolbar id="toolbar"> 25 <viewer-button id="fit-to-page-button" 26 assetpath="html_office/elements/viewer-button/" 27 img="button_fit_page.png" latchable> 28 </viewer-button> 29 <viewer-button id="fit-to-width-button" 30 assetpath="html_office/elements/viewer-button/" 31 img="button_fit_width.png" latchable> 32 </viewer-button> 33 <viewer-button id="zoom-in-button" 34 assetpath="html_office/elements/viewer-button/" 35 img="button_zoom_in.png"> 36 </viewer-button> 37 <viewer-button id="zoom-out-button" 38 assetpath="html_office/elements/viewer-button/" 39 img="button_zoom_out.png"> 40 </viewer-button> 41 <a id="save-button-link" download> 42 <viewer-button id="save-button" 43 assetpath="html_office/elements/viewer-button/" 44 img="button_save.png"> 45 </viewer-button> 46 </a> 47 <viewer-button id="print-button" 48 assetpath="html_office/elements/viewer-button/" 49 img="button_print.png"> 50 </viewer-button> 51 </viewer-toolbar> 52 53 <viewer-error-screen id="error-screen"></viewer-error-screen> 54 55 </body> 56 <script src="pdf.js"></script> 57 </html> 58