2 <html i18n-values=
"dir:textdirection">
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">
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>
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
>
29 <viewer-button id=
"fit-to-width-button"
30 assetpath=
"html_office/elements/viewer-button/"
31 img=
"button_fit_width.png" latchable
>
33 <viewer-button id=
"zoom-in-button"
34 assetpath=
"html_office/elements/viewer-button/"
35 img=
"button_zoom_in.png">
37 <viewer-button id=
"zoom-out-button"
38 assetpath=
"html_office/elements/viewer-button/"
39 img=
"button_zoom_out.png">
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">
47 <viewer-button id=
"print-button"
48 assetpath=
"html_office/elements/viewer-button/"
49 img=
"button_print.png">
53 <viewer-error-screen id=
"error-screen"></viewer-error-screen>
56 <script src=
"pdf.js"></script>