card-mod-pdfjs 0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +10 -0
- data/public/LICENSE +177 -0
- data/public/build/pdf.js +11515 -0
- data/public/build/pdf.worker.js +43506 -0
- data/public/cmaps/78-EUC-H.bcmap +0 -0
- data/public/cmaps/78-EUC-V.bcmap +0 -0
- data/public/cmaps/78-H.bcmap +0 -0
- data/public/cmaps/78-RKSJ-H.bcmap +0 -0
- data/public/cmaps/78-RKSJ-V.bcmap +0 -0
- data/public/cmaps/78-V.bcmap +0 -0
- data/public/cmaps/78ms-RKSJ-H.bcmap +0 -0
- data/public/cmaps/78ms-RKSJ-V.bcmap +0 -0
- data/public/cmaps/83pv-RKSJ-H.bcmap +0 -0
- data/public/cmaps/90ms-RKSJ-H.bcmap +0 -0
- data/public/cmaps/90ms-RKSJ-V.bcmap +0 -0
- data/public/cmaps/90msp-RKSJ-H.bcmap +0 -0
- data/public/cmaps/90msp-RKSJ-V.bcmap +0 -0
- data/public/cmaps/90pv-RKSJ-H.bcmap +0 -0
- data/public/cmaps/90pv-RKSJ-V.bcmap +0 -0
- data/public/cmaps/Add-H.bcmap +0 -0
- data/public/cmaps/Add-RKSJ-H.bcmap +0 -0
- data/public/cmaps/Add-RKSJ-V.bcmap +0 -0
- data/public/cmaps/Add-V.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-0.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-1.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-2.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-3.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-4.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-5.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-6.bcmap +0 -0
- data/public/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-0.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-1.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-2.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-3.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-4.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-5.bcmap +0 -0
- data/public/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-0.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-1.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-2.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-3.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-4.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-5.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-6.bcmap +0 -0
- data/public/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- data/public/cmaps/Adobe-Korea1-0.bcmap +0 -0
- data/public/cmaps/Adobe-Korea1-1.bcmap +0 -0
- data/public/cmaps/Adobe-Korea1-2.bcmap +0 -0
- data/public/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- data/public/cmaps/B5-H.bcmap +0 -0
- data/public/cmaps/B5-V.bcmap +0 -0
- data/public/cmaps/B5pc-H.bcmap +0 -0
- data/public/cmaps/B5pc-V.bcmap +0 -0
- data/public/cmaps/CNS-EUC-H.bcmap +0 -0
- data/public/cmaps/CNS-EUC-V.bcmap +0 -0
- data/public/cmaps/CNS1-H.bcmap +0 -0
- data/public/cmaps/CNS1-V.bcmap +0 -0
- data/public/cmaps/CNS2-H.bcmap +0 -0
- data/public/cmaps/CNS2-V.bcmap +3 -0
- data/public/cmaps/ETHK-B5-H.bcmap +0 -0
- data/public/cmaps/ETHK-B5-V.bcmap +0 -0
- data/public/cmaps/ETen-B5-H.bcmap +0 -0
- data/public/cmaps/ETen-B5-V.bcmap +0 -0
- data/public/cmaps/ETenms-B5-H.bcmap +3 -0
- data/public/cmaps/ETenms-B5-V.bcmap +0 -0
- data/public/cmaps/EUC-H.bcmap +0 -0
- data/public/cmaps/EUC-V.bcmap +0 -0
- data/public/cmaps/Ext-H.bcmap +0 -0
- data/public/cmaps/Ext-RKSJ-H.bcmap +0 -0
- data/public/cmaps/Ext-RKSJ-V.bcmap +0 -0
- data/public/cmaps/Ext-V.bcmap +0 -0
- data/public/cmaps/GB-EUC-H.bcmap +0 -0
- data/public/cmaps/GB-EUC-V.bcmap +0 -0
- data/public/cmaps/GB-H.bcmap +4 -0
- data/public/cmaps/GB-V.bcmap +0 -0
- data/public/cmaps/GBK-EUC-H.bcmap +0 -0
- data/public/cmaps/GBK-EUC-V.bcmap +0 -0
- data/public/cmaps/GBK2K-H.bcmap +0 -0
- data/public/cmaps/GBK2K-V.bcmap +0 -0
- data/public/cmaps/GBKp-EUC-H.bcmap +0 -0
- data/public/cmaps/GBKp-EUC-V.bcmap +0 -0
- data/public/cmaps/GBT-EUC-H.bcmap +0 -0
- data/public/cmaps/GBT-EUC-V.bcmap +0 -0
- data/public/cmaps/GBT-H.bcmap +0 -0
- data/public/cmaps/GBT-V.bcmap +0 -0
- data/public/cmaps/GBTpc-EUC-H.bcmap +0 -0
- data/public/cmaps/GBTpc-EUC-V.bcmap +0 -0
- data/public/cmaps/GBpc-EUC-H.bcmap +0 -0
- data/public/cmaps/GBpc-EUC-V.bcmap +0 -0
- data/public/cmaps/H.bcmap +0 -0
- data/public/cmaps/HKdla-B5-H.bcmap +0 -0
- data/public/cmaps/HKdla-B5-V.bcmap +0 -0
- data/public/cmaps/HKdlb-B5-H.bcmap +0 -0
- data/public/cmaps/HKdlb-B5-V.bcmap +0 -0
- data/public/cmaps/HKgccs-B5-H.bcmap +0 -0
- data/public/cmaps/HKgccs-B5-V.bcmap +0 -0
- data/public/cmaps/HKm314-B5-H.bcmap +0 -0
- data/public/cmaps/HKm314-B5-V.bcmap +0 -0
- data/public/cmaps/HKm471-B5-H.bcmap +0 -0
- data/public/cmaps/HKm471-B5-V.bcmap +0 -0
- data/public/cmaps/HKscs-B5-H.bcmap +0 -0
- data/public/cmaps/HKscs-B5-V.bcmap +0 -0
- data/public/cmaps/Hankaku.bcmap +0 -0
- data/public/cmaps/Hiragana.bcmap +0 -0
- data/public/cmaps/KSC-EUC-H.bcmap +0 -0
- data/public/cmaps/KSC-EUC-V.bcmap +0 -0
- data/public/cmaps/KSC-H.bcmap +0 -0
- data/public/cmaps/KSC-Johab-H.bcmap +0 -0
- data/public/cmaps/KSC-Johab-V.bcmap +0 -0
- data/public/cmaps/KSC-V.bcmap +0 -0
- data/public/cmaps/KSCms-UHC-H.bcmap +0 -0
- data/public/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- data/public/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- data/public/cmaps/KSCms-UHC-V.bcmap +0 -0
- data/public/cmaps/KSCpc-EUC-H.bcmap +0 -0
- data/public/cmaps/KSCpc-EUC-V.bcmap +0 -0
- data/public/cmaps/Katakana.bcmap +0 -0
- data/public/cmaps/LICENSE +36 -0
- data/public/cmaps/NWP-H.bcmap +0 -0
- data/public/cmaps/NWP-V.bcmap +0 -0
- data/public/cmaps/RKSJ-H.bcmap +0 -0
- data/public/cmaps/RKSJ-V.bcmap +0 -0
- data/public/cmaps/Roman.bcmap +0 -0
- data/public/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- data/public/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniGB-UCS2-H.bcmap +0 -0
- data/public/cmaps/UniGB-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniGB-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniGB-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniGB-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniGB-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniGB-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniGB-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- data/public/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- data/public/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniKS-UCS2-H.bcmap +0 -0
- data/public/cmaps/UniKS-UCS2-V.bcmap +0 -0
- data/public/cmaps/UniKS-UTF16-H.bcmap +0 -0
- data/public/cmaps/UniKS-UTF16-V.bcmap +0 -0
- data/public/cmaps/UniKS-UTF32-H.bcmap +0 -0
- data/public/cmaps/UniKS-UTF32-V.bcmap +0 -0
- data/public/cmaps/UniKS-UTF8-H.bcmap +0 -0
- data/public/cmaps/UniKS-UTF8-V.bcmap +0 -0
- data/public/cmaps/V.bcmap +0 -0
- data/public/cmaps/WP-Symbol.bcmap +0 -0
- data/public/compatibility.js +616 -0
- data/public/compressed.tracemonkey-pldi-09.pdf +0 -0
- data/public/debugger.js +616 -0
- data/public/images/annotation-check.svg +11 -0
- data/public/images/annotation-comment.svg +16 -0
- data/public/images/annotation-help.svg +26 -0
- data/public/images/annotation-insert.svg +10 -0
- data/public/images/annotation-key.svg +11 -0
- data/public/images/annotation-newparagraph.svg +11 -0
- data/public/images/annotation-noicon.svg +7 -0
- data/public/images/annotation-note.svg +42 -0
- data/public/images/annotation-paragraph.svg +16 -0
- data/public/images/findbarButton-next-rtl.png +0 -0
- data/public/images/findbarButton-next-rtl@2x.png +0 -0
- data/public/images/findbarButton-next.png +0 -0
- data/public/images/findbarButton-next@2x.png +0 -0
- data/public/images/findbarButton-previous-rtl.png +0 -0
- data/public/images/findbarButton-previous-rtl@2x.png +0 -0
- data/public/images/findbarButton-previous.png +0 -0
- data/public/images/findbarButton-previous@2x.png +0 -0
- data/public/images/grab.cur +0 -0
- data/public/images/grabbing.cur +0 -0
- data/public/images/loading-icon.gif +0 -0
- data/public/images/loading-small.png +0 -0
- data/public/images/loading-small@2x.png +0 -0
- data/public/images/secondaryToolbarButton-documentProperties.png +0 -0
- data/public/images/secondaryToolbarButton-documentProperties@2x.png +0 -0
- data/public/images/secondaryToolbarButton-firstPage.png +0 -0
- data/public/images/secondaryToolbarButton-firstPage@2x.png +0 -0
- data/public/images/secondaryToolbarButton-handTool.png +0 -0
- data/public/images/secondaryToolbarButton-handTool@2x.png +0 -0
- data/public/images/secondaryToolbarButton-lastPage.png +0 -0
- data/public/images/secondaryToolbarButton-lastPage@2x.png +0 -0
- data/public/images/secondaryToolbarButton-rotateCcw.png +0 -0
- data/public/images/secondaryToolbarButton-rotateCcw@2x.png +0 -0
- data/public/images/secondaryToolbarButton-rotateCw.png +0 -0
- data/public/images/secondaryToolbarButton-rotateCw@2x.png +0 -0
- data/public/images/shadow.png +0 -0
- data/public/images/texture.png +0 -0
- data/public/images/toolbarButton-bookmark.png +0 -0
- data/public/images/toolbarButton-bookmark@2x.png +0 -0
- data/public/images/toolbarButton-download.png +0 -0
- data/public/images/toolbarButton-download@2x.png +0 -0
- data/public/images/toolbarButton-menuArrows.png +0 -0
- data/public/images/toolbarButton-menuArrows@2x.png +0 -0
- data/public/images/toolbarButton-openFile.png +0 -0
- data/public/images/toolbarButton-openFile@2x.png +0 -0
- data/public/images/toolbarButton-pageDown-rtl.png +0 -0
- data/public/images/toolbarButton-pageDown-rtl@2x.png +0 -0
- data/public/images/toolbarButton-pageDown.png +0 -0
- data/public/images/toolbarButton-pageDown@2x.png +0 -0
- data/public/images/toolbarButton-pageUp-rtl.png +0 -0
- data/public/images/toolbarButton-pageUp-rtl@2x.png +0 -0
- data/public/images/toolbarButton-pageUp.png +0 -0
- data/public/images/toolbarButton-pageUp@2x.png +0 -0
- data/public/images/toolbarButton-presentationMode.png +0 -0
- data/public/images/toolbarButton-presentationMode@2x.png +0 -0
- data/public/images/toolbarButton-print.png +0 -0
- data/public/images/toolbarButton-print@2x.png +0 -0
- data/public/images/toolbarButton-search.png +0 -0
- data/public/images/toolbarButton-search@2x.png +0 -0
- data/public/images/toolbarButton-secondaryToolbarToggle-rtl.png +0 -0
- data/public/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png +0 -0
- data/public/images/toolbarButton-secondaryToolbarToggle.png +0 -0
- data/public/images/toolbarButton-secondaryToolbarToggle@2x.png +0 -0
- data/public/images/toolbarButton-sidebarToggle-rtl.png +0 -0
- data/public/images/toolbarButton-sidebarToggle-rtl@2x.png +0 -0
- data/public/images/toolbarButton-sidebarToggle.png +0 -0
- data/public/images/toolbarButton-sidebarToggle@2x.png +0 -0
- data/public/images/toolbarButton-viewAttachments.png +0 -0
- data/public/images/toolbarButton-viewAttachments@2x.png +0 -0
- data/public/images/toolbarButton-viewOutline-rtl.png +0 -0
- data/public/images/toolbarButton-viewOutline-rtl@2x.png +0 -0
- data/public/images/toolbarButton-viewOutline.png +0 -0
- data/public/images/toolbarButton-viewOutline@2x.png +0 -0
- data/public/images/toolbarButton-viewThumbnail.png +0 -0
- data/public/images/toolbarButton-viewThumbnail@2x.png +0 -0
- data/public/images/toolbarButton-zoomIn.png +0 -0
- data/public/images/toolbarButton-zoomIn@2x.png +0 -0
- data/public/images/toolbarButton-zoomOut.png +0 -0
- data/public/images/toolbarButton-zoomOut@2x.png +0 -0
- data/public/images/treeitem-collapsed-rtl.png +0 -0
- data/public/images/treeitem-collapsed-rtl@2x.png +0 -0
- data/public/images/treeitem-collapsed.png +0 -0
- data/public/images/treeitem-collapsed@2x.png +0 -0
- data/public/images/treeitem-expanded.png +0 -0
- data/public/images/treeitem-expanded@2x.png +0 -0
- data/public/l10n.js +1047 -0
- data/public/locale/ach/viewer.properties +173 -0
- data/public/locale/af/viewer.properties +173 -0
- data/public/locale/ak/viewer.properties +131 -0
- data/public/locale/an/viewer.properties +173 -0
- data/public/locale/ar/viewer.properties +173 -0
- data/public/locale/as/viewer.properties +172 -0
- data/public/locale/ast/viewer.properties +173 -0
- data/public/locale/az/viewer.properties +173 -0
- data/public/locale/be/viewer.properties +105 -0
- data/public/locale/bg/viewer.properties +173 -0
- data/public/locale/bn-BD/viewer.properties +173 -0
- data/public/locale/bn-IN/viewer.properties +173 -0
- data/public/locale/br/viewer.properties +173 -0
- data/public/locale/bs/viewer.properties +173 -0
- data/public/locale/ca/viewer.properties +173 -0
- data/public/locale/cs/viewer.properties +173 -0
- data/public/locale/csb/viewer.properties +134 -0
- data/public/locale/cy/viewer.properties +173 -0
- data/public/locale/da/viewer.properties +167 -0
- data/public/locale/de/viewer.properties +167 -0
- data/public/locale/el/viewer.properties +173 -0
- data/public/locale/en-GB/viewer.properties +173 -0
- data/public/locale/en-US/viewer.properties +173 -0
- data/public/locale/en-ZA/viewer.properties +173 -0
- data/public/locale/eo/viewer.properties +173 -0
- data/public/locale/es-AR/viewer.properties +167 -0
- data/public/locale/es-CL/viewer.properties +173 -0
- data/public/locale/es-ES/viewer.properties +111 -0
- data/public/locale/es-MX/viewer.properties +173 -0
- data/public/locale/et/viewer.properties +173 -0
- data/public/locale/eu/viewer.properties +173 -0
- data/public/locale/fa/viewer.properties +173 -0
- data/public/locale/ff/viewer.properties +173 -0
- data/public/locale/fi/viewer.properties +167 -0
- data/public/locale/fr/viewer.properties +167 -0
- data/public/locale/fy-NL/viewer.properties +180 -0
- data/public/locale/ga-IE/viewer.properties +173 -0
- data/public/locale/gd/viewer.properties +173 -0
- data/public/locale/gl/viewer.properties +173 -0
- data/public/locale/gu-IN/viewer.properties +167 -0
- data/public/locale/he/viewer.properties +173 -0
- data/public/locale/hi-IN/viewer.properties +173 -0
- data/public/locale/hr/viewer.properties +173 -0
- data/public/locale/hu/viewer.properties +173 -0
- data/public/locale/hy-AM/viewer.properties +173 -0
- data/public/locale/id/viewer.properties +173 -0
- data/public/locale/is/viewer.properties +173 -0
- data/public/locale/it/viewer.properties +111 -0
- data/public/locale/ja/viewer.properties +167 -0
- data/public/locale/ka/viewer.properties +173 -0
- data/public/locale/kk/viewer.properties +173 -0
- data/public/locale/km/viewer.properties +173 -0
- data/public/locale/kn/viewer.properties +173 -0
- data/public/locale/ko/viewer.properties +173 -0
- data/public/locale/ku/viewer.properties +147 -0
- data/public/locale/lg/viewer.properties +111 -0
- data/public/locale/lij/viewer.properties +124 -0
- data/public/locale/locale.properties +312 -0
- data/public/locale/lt/viewer.properties +173 -0
- data/public/locale/lv/viewer.properties +173 -0
- data/public/locale/mai/viewer.properties +173 -0
- data/public/locale/mk/viewer.properties +133 -0
- data/public/locale/ml/viewer.properties +173 -0
- data/public/locale/mn/viewer.properties +79 -0
- data/public/locale/mr/viewer.properties +173 -0
- data/public/locale/ms/viewer.properties +173 -0
- data/public/locale/my/viewer.properties +173 -0
- data/public/locale/nb-NO/viewer.properties +173 -0
- data/public/locale/nl/viewer.properties +173 -0
- data/public/locale/nn-NO/viewer.properties +173 -0
- data/public/locale/nso/viewer.properties +131 -0
- data/public/locale/oc/viewer.properties +171 -0
- data/public/locale/or/viewer.properties +172 -0
- data/public/locale/pa-IN/viewer.properties +173 -0
- data/public/locale/pl/viewer.properties +124 -0
- data/public/locale/pt-BR/viewer.properties +173 -0
- data/public/locale/pt-PT/viewer.properties +173 -0
- data/public/locale/rm/viewer.properties +173 -0
- data/public/locale/ro/viewer.properties +173 -0
- data/public/locale/ru/viewer.properties +111 -0
- data/public/locale/rw/viewer.properties +79 -0
- data/public/locale/sah/viewer.properties +171 -0
- data/public/locale/si/viewer.properties +172 -0
- data/public/locale/sk/viewer.properties +173 -0
- data/public/locale/sl/viewer.properties +173 -0
- data/public/locale/son/viewer.properties +173 -0
- data/public/locale/sq/viewer.properties +166 -0
- data/public/locale/sr/viewer.properties +173 -0
- data/public/locale/sv-SE/viewer.properties +173 -0
- data/public/locale/sw/viewer.properties +129 -0
- data/public/locale/ta/viewer.properties +173 -0
- data/public/locale/ta-LK/viewer.properties +72 -0
- data/public/locale/te/viewer.properties +173 -0
- data/public/locale/th/viewer.properties +173 -0
- data/public/locale/tl/viewer.properties +94 -0
- data/public/locale/tn/viewer.properties +83 -0
- data/public/locale/tr/viewer.properties +173 -0
- data/public/locale/uk/viewer.properties +173 -0
- data/public/locale/ur/viewer.properties +173 -0
- data/public/locale/vi/viewer.properties +173 -0
- data/public/locale/wo/viewer.properties +124 -0
- data/public/locale/xh/viewer.properties +173 -0
- data/public/locale/zh-CN/viewer.properties +173 -0
- data/public/locale/zh-TW/viewer.properties +174 -0
- data/public/locale/zu/viewer.properties +132 -0
- data/public/pdf.js +11515 -0
- data/public/pdf.worker.js +44463 -0
- data/public/viewer.css +2190 -0
- data/public/viewer.html +423 -0
- data/public/viewer.js +9742 -0
- data/public/web/cmaps/78-EUC-H.bcmap +0 -0
- data/public/web/cmaps/78-EUC-V.bcmap +0 -0
- data/public/web/cmaps/78-H.bcmap +0 -0
- data/public/web/cmaps/78-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/78-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/78-V.bcmap +0 -0
- data/public/web/cmaps/78ms-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/78ms-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/83pv-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/90ms-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/90ms-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/90msp-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/90msp-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/90pv-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/90pv-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/Add-H.bcmap +0 -0
- data/public/web/cmaps/Add-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/Add-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/Add-V.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-0.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-1.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-2.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-3.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-4.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-5.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-6.bcmap +0 -0
- data/public/web/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-0.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-1.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-2.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-3.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-4.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-5.bcmap +0 -0
- data/public/web/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-0.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-1.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-2.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-3.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-4.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-5.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-6.bcmap +0 -0
- data/public/web/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- data/public/web/cmaps/Adobe-Korea1-0.bcmap +0 -0
- data/public/web/cmaps/Adobe-Korea1-1.bcmap +0 -0
- data/public/web/cmaps/Adobe-Korea1-2.bcmap +0 -0
- data/public/web/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- data/public/web/cmaps/B5-H.bcmap +0 -0
- data/public/web/cmaps/B5-V.bcmap +0 -0
- data/public/web/cmaps/B5pc-H.bcmap +0 -0
- data/public/web/cmaps/B5pc-V.bcmap +0 -0
- data/public/web/cmaps/CNS-EUC-H.bcmap +0 -0
- data/public/web/cmaps/CNS-EUC-V.bcmap +0 -0
- data/public/web/cmaps/CNS1-H.bcmap +0 -0
- data/public/web/cmaps/CNS1-V.bcmap +0 -0
- data/public/web/cmaps/CNS2-H.bcmap +0 -0
- data/public/web/cmaps/CNS2-V.bcmap +3 -0
- data/public/web/cmaps/ETHK-B5-H.bcmap +0 -0
- data/public/web/cmaps/ETHK-B5-V.bcmap +0 -0
- data/public/web/cmaps/ETen-B5-H.bcmap +0 -0
- data/public/web/cmaps/ETen-B5-V.bcmap +0 -0
- data/public/web/cmaps/ETenms-B5-H.bcmap +3 -0
- data/public/web/cmaps/ETenms-B5-V.bcmap +0 -0
- data/public/web/cmaps/EUC-H.bcmap +0 -0
- data/public/web/cmaps/EUC-V.bcmap +0 -0
- data/public/web/cmaps/Ext-H.bcmap +0 -0
- data/public/web/cmaps/Ext-RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/Ext-RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/Ext-V.bcmap +0 -0
- data/public/web/cmaps/GB-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GB-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GB-H.bcmap +4 -0
- data/public/web/cmaps/GB-V.bcmap +0 -0
- data/public/web/cmaps/GBK-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBK-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GBK2K-H.bcmap +0 -0
- data/public/web/cmaps/GBK2K-V.bcmap +0 -0
- data/public/web/cmaps/GBKp-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBKp-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GBT-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBT-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GBT-H.bcmap +0 -0
- data/public/web/cmaps/GBT-V.bcmap +0 -0
- data/public/web/cmaps/GBTpc-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBTpc-EUC-V.bcmap +0 -0
- data/public/web/cmaps/GBpc-EUC-H.bcmap +0 -0
- data/public/web/cmaps/GBpc-EUC-V.bcmap +0 -0
- data/public/web/cmaps/H.bcmap +0 -0
- data/public/web/cmaps/HKdla-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKdla-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKdlb-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKdlb-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKgccs-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKgccs-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKm314-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKm314-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKm471-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKm471-B5-V.bcmap +0 -0
- data/public/web/cmaps/HKscs-B5-H.bcmap +0 -0
- data/public/web/cmaps/HKscs-B5-V.bcmap +0 -0
- data/public/web/cmaps/Hankaku.bcmap +0 -0
- data/public/web/cmaps/Hiragana.bcmap +0 -0
- data/public/web/cmaps/KSC-EUC-H.bcmap +0 -0
- data/public/web/cmaps/KSC-EUC-V.bcmap +0 -0
- data/public/web/cmaps/KSC-H.bcmap +0 -0
- data/public/web/cmaps/KSC-Johab-H.bcmap +0 -0
- data/public/web/cmaps/KSC-Johab-V.bcmap +0 -0
- data/public/web/cmaps/KSC-V.bcmap +0 -0
- data/public/web/cmaps/KSCms-UHC-H.bcmap +0 -0
- data/public/web/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- data/public/web/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- data/public/web/cmaps/KSCms-UHC-V.bcmap +0 -0
- data/public/web/cmaps/KSCpc-EUC-H.bcmap +0 -0
- data/public/web/cmaps/KSCpc-EUC-V.bcmap +0 -0
- data/public/web/cmaps/Katakana.bcmap +0 -0
- data/public/web/cmaps/LICENSE +36 -0
- data/public/web/cmaps/NWP-H.bcmap +0 -0
- data/public/web/cmaps/NWP-V.bcmap +0 -0
- data/public/web/cmaps/RKSJ-H.bcmap +0 -0
- data/public/web/cmaps/RKSJ-V.bcmap +0 -0
- data/public/web/cmaps/Roman.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniGB-UCS2-H.bcmap +0 -0
- data/public/web/cmaps/UniGB-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniGB-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- data/public/web/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniKS-UCS2-H.bcmap +0 -0
- data/public/web/cmaps/UniKS-UCS2-V.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF16-H.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF16-V.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF32-H.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF32-V.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF8-H.bcmap +0 -0
- data/public/web/cmaps/UniKS-UTF8-V.bcmap +0 -0
- data/public/web/cmaps/V.bcmap +0 -0
- data/public/web/cmaps/WP-Symbol.bcmap +0 -0
- data/public/web/compatibility.js +596 -0
- data/public/web/compressed.tracemonkey-pldi-09.pdf +0 -0
- data/public/web/debugger.js +616 -0
- data/public/web/images/annotation-check.svg +11 -0
- data/public/web/images/annotation-comment.svg +16 -0
- data/public/web/images/annotation-help.svg +26 -0
- data/public/web/images/annotation-insert.svg +10 -0
- data/public/web/images/annotation-key.svg +11 -0
- data/public/web/images/annotation-newparagraph.svg +11 -0
- data/public/web/images/annotation-noicon.svg +7 -0
- data/public/web/images/annotation-note.svg +42 -0
- data/public/web/images/annotation-paragraph.svg +16 -0
- data/public/web/images/findbarButton-next-rtl.png +0 -0
- data/public/web/images/findbarButton-next-rtl@2x.png +0 -0
- data/public/web/images/findbarButton-next.png +0 -0
- data/public/web/images/findbarButton-next@2x.png +0 -0
- data/public/web/images/findbarButton-previous-rtl.png +0 -0
- data/public/web/images/findbarButton-previous-rtl@2x.png +0 -0
- data/public/web/images/findbarButton-previous.png +0 -0
- data/public/web/images/findbarButton-previous@2x.png +0 -0
- data/public/web/images/grab.cur +0 -0
- data/public/web/images/grabbing.cur +0 -0
- data/public/web/images/loading-icon.gif +0 -0
- data/public/web/images/loading-small.png +0 -0
- data/public/web/images/loading-small@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-documentProperties.png +0 -0
- data/public/web/images/secondaryToolbarButton-documentProperties@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-firstPage.png +0 -0
- data/public/web/images/secondaryToolbarButton-firstPage@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-handTool.png +0 -0
- data/public/web/images/secondaryToolbarButton-handTool@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-lastPage.png +0 -0
- data/public/web/images/secondaryToolbarButton-lastPage@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-rotateCcw.png +0 -0
- data/public/web/images/secondaryToolbarButton-rotateCcw@2x.png +0 -0
- data/public/web/images/secondaryToolbarButton-rotateCw.png +0 -0
- data/public/web/images/secondaryToolbarButton-rotateCw@2x.png +0 -0
- data/public/web/images/shadow.png +0 -0
- data/public/web/images/texture.png +0 -0
- data/public/web/images/toolbarButton-bookmark.png +0 -0
- data/public/web/images/toolbarButton-bookmark@2x.png +0 -0
- data/public/web/images/toolbarButton-download.png +0 -0
- data/public/web/images/toolbarButton-download@2x.png +0 -0
- data/public/web/images/toolbarButton-menuArrows.png +0 -0
- data/public/web/images/toolbarButton-menuArrows@2x.png +0 -0
- data/public/web/images/toolbarButton-openFile.png +0 -0
- data/public/web/images/toolbarButton-openFile@2x.png +0 -0
- data/public/web/images/toolbarButton-pageDown-rtl.png +0 -0
- data/public/web/images/toolbarButton-pageDown-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-pageDown.png +0 -0
- data/public/web/images/toolbarButton-pageDown@2x.png +0 -0
- data/public/web/images/toolbarButton-pageUp-rtl.png +0 -0
- data/public/web/images/toolbarButton-pageUp-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-pageUp.png +0 -0
- data/public/web/images/toolbarButton-pageUp@2x.png +0 -0
- data/public/web/images/toolbarButton-presentationMode.png +0 -0
- data/public/web/images/toolbarButton-presentationMode@2x.png +0 -0
- data/public/web/images/toolbarButton-print.png +0 -0
- data/public/web/images/toolbarButton-print@2x.png +0 -0
- data/public/web/images/toolbarButton-search.png +0 -0
- data/public/web/images/toolbarButton-search@2x.png +0 -0
- data/public/web/images/toolbarButton-secondaryToolbarToggle-rtl.png +0 -0
- data/public/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-secondaryToolbarToggle.png +0 -0
- data/public/web/images/toolbarButton-secondaryToolbarToggle@2x.png +0 -0
- data/public/web/images/toolbarButton-sidebarToggle-rtl.png +0 -0
- data/public/web/images/toolbarButton-sidebarToggle-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-sidebarToggle.png +0 -0
- data/public/web/images/toolbarButton-sidebarToggle@2x.png +0 -0
- data/public/web/images/toolbarButton-viewAttachments.png +0 -0
- data/public/web/images/toolbarButton-viewAttachments@2x.png +0 -0
- data/public/web/images/toolbarButton-viewOutline-rtl.png +0 -0
- data/public/web/images/toolbarButton-viewOutline-rtl@2x.png +0 -0
- data/public/web/images/toolbarButton-viewOutline.png +0 -0
- data/public/web/images/toolbarButton-viewOutline@2x.png +0 -0
- data/public/web/images/toolbarButton-viewThumbnail.png +0 -0
- data/public/web/images/toolbarButton-viewThumbnail@2x.png +0 -0
- data/public/web/images/toolbarButton-zoomIn.png +0 -0
- data/public/web/images/toolbarButton-zoomIn@2x.png +0 -0
- data/public/web/images/toolbarButton-zoomOut.png +0 -0
- data/public/web/images/toolbarButton-zoomOut@2x.png +0 -0
- data/public/web/images/treeitem-collapsed-rtl.png +0 -0
- data/public/web/images/treeitem-collapsed-rtl@2x.png +0 -0
- data/public/web/images/treeitem-collapsed.png +0 -0
- data/public/web/images/treeitem-collapsed@2x.png +0 -0
- data/public/web/images/treeitem-expanded.png +0 -0
- data/public/web/images/treeitem-expanded@2x.png +0 -0
- data/public/web/l10n.js +1033 -0
- data/public/web/locale/ach/viewer.properties +173 -0
- data/public/web/locale/af/viewer.properties +173 -0
- data/public/web/locale/ak/viewer.properties +131 -0
- data/public/web/locale/an/viewer.properties +173 -0
- data/public/web/locale/ar/viewer.properties +173 -0
- data/public/web/locale/as/viewer.properties +172 -0
- data/public/web/locale/ast/viewer.properties +173 -0
- data/public/web/locale/az/viewer.properties +173 -0
- data/public/web/locale/be/viewer.properties +105 -0
- data/public/web/locale/bg/viewer.properties +173 -0
- data/public/web/locale/bn-BD/viewer.properties +173 -0
- data/public/web/locale/bn-IN/viewer.properties +173 -0
- data/public/web/locale/br/viewer.properties +173 -0
- data/public/web/locale/bs/viewer.properties +173 -0
- data/public/web/locale/ca/viewer.properties +173 -0
- data/public/web/locale/cs/viewer.properties +173 -0
- data/public/web/locale/csb/viewer.properties +134 -0
- data/public/web/locale/cy/viewer.properties +173 -0
- data/public/web/locale/da/viewer.properties +167 -0
- data/public/web/locale/de/viewer.properties +167 -0
- data/public/web/locale/el/viewer.properties +173 -0
- data/public/web/locale/en-GB/viewer.properties +173 -0
- data/public/web/locale/en-US/viewer.properties +173 -0
- data/public/web/locale/en-ZA/viewer.properties +173 -0
- data/public/web/locale/eo/viewer.properties +173 -0
- data/public/web/locale/es-AR/viewer.properties +167 -0
- data/public/web/locale/es-CL/viewer.properties +173 -0
- data/public/web/locale/es-ES/viewer.properties +111 -0
- data/public/web/locale/es-MX/viewer.properties +173 -0
- data/public/web/locale/et/viewer.properties +173 -0
- data/public/web/locale/eu/viewer.properties +173 -0
- data/public/web/locale/fa/viewer.properties +173 -0
- data/public/web/locale/ff/viewer.properties +173 -0
- data/public/web/locale/fi/viewer.properties +167 -0
- data/public/web/locale/fr/viewer.properties +167 -0
- data/public/web/locale/fy-NL/viewer.properties +180 -0
- data/public/web/locale/ga-IE/viewer.properties +173 -0
- data/public/web/locale/gd/viewer.properties +173 -0
- data/public/web/locale/gl/viewer.properties +173 -0
- data/public/web/locale/gu-IN/viewer.properties +167 -0
- data/public/web/locale/he/viewer.properties +173 -0
- data/public/web/locale/hi-IN/viewer.properties +173 -0
- data/public/web/locale/hr/viewer.properties +173 -0
- data/public/web/locale/hu/viewer.properties +173 -0
- data/public/web/locale/hy-AM/viewer.properties +173 -0
- data/public/web/locale/id/viewer.properties +173 -0
- data/public/web/locale/is/viewer.properties +173 -0
- data/public/web/locale/it/viewer.properties +111 -0
- data/public/web/locale/ja/viewer.properties +167 -0
- data/public/web/locale/ka/viewer.properties +173 -0
- data/public/web/locale/kk/viewer.properties +173 -0
- data/public/web/locale/km/viewer.properties +173 -0
- data/public/web/locale/kn/viewer.properties +173 -0
- data/public/web/locale/ko/viewer.properties +173 -0
- data/public/web/locale/ku/viewer.properties +147 -0
- data/public/web/locale/lg/viewer.properties +111 -0
- data/public/web/locale/lij/viewer.properties +124 -0
- data/public/web/locale/locale.properties +312 -0
- data/public/web/locale/lt/viewer.properties +173 -0
- data/public/web/locale/lv/viewer.properties +173 -0
- data/public/web/locale/mai/viewer.properties +173 -0
- data/public/web/locale/mk/viewer.properties +133 -0
- data/public/web/locale/ml/viewer.properties +173 -0
- data/public/web/locale/mn/viewer.properties +79 -0
- data/public/web/locale/mr/viewer.properties +173 -0
- data/public/web/locale/ms/viewer.properties +173 -0
- data/public/web/locale/my/viewer.properties +173 -0
- data/public/web/locale/nb-NO/viewer.properties +173 -0
- data/public/web/locale/nl/viewer.properties +173 -0
- data/public/web/locale/nn-NO/viewer.properties +173 -0
- data/public/web/locale/nso/viewer.properties +131 -0
- data/public/web/locale/oc/viewer.properties +171 -0
- data/public/web/locale/or/viewer.properties +172 -0
- data/public/web/locale/pa-IN/viewer.properties +173 -0
- data/public/web/locale/pl/viewer.properties +124 -0
- data/public/web/locale/pt-BR/viewer.properties +173 -0
- data/public/web/locale/pt-PT/viewer.properties +173 -0
- data/public/web/locale/rm/viewer.properties +173 -0
- data/public/web/locale/ro/viewer.properties +173 -0
- data/public/web/locale/ru/viewer.properties +111 -0
- data/public/web/locale/rw/viewer.properties +79 -0
- data/public/web/locale/sah/viewer.properties +171 -0
- data/public/web/locale/si/viewer.properties +172 -0
- data/public/web/locale/sk/viewer.properties +173 -0
- data/public/web/locale/sl/viewer.properties +173 -0
- data/public/web/locale/son/viewer.properties +173 -0
- data/public/web/locale/sq/viewer.properties +166 -0
- data/public/web/locale/sr/viewer.properties +173 -0
- data/public/web/locale/sv-SE/viewer.properties +173 -0
- data/public/web/locale/sw/viewer.properties +129 -0
- data/public/web/locale/ta/viewer.properties +173 -0
- data/public/web/locale/ta-LK/viewer.properties +72 -0
- data/public/web/locale/te/viewer.properties +173 -0
- data/public/web/locale/th/viewer.properties +173 -0
- data/public/web/locale/tl/viewer.properties +94 -0
- data/public/web/locale/tn/viewer.properties +83 -0
- data/public/web/locale/tr/viewer.properties +173 -0
- data/public/web/locale/uk/viewer.properties +173 -0
- data/public/web/locale/ur/viewer.properties +173 -0
- data/public/web/locale/vi/viewer.properties +173 -0
- data/public/web/locale/wo/viewer.properties +124 -0
- data/public/web/locale/xh/viewer.properties +173 -0
- data/public/web/locale/zh-CN/viewer.properties +173 -0
- data/public/web/locale/zh-TW/viewer.properties +174 -0
- data/public/web/locale/zu/viewer.properties +132 -0
- data/public/web/viewer.css +2191 -0
- data/public/web/viewer.html +425 -0
- data/public/web/viewer.js +9780 -0
- data/set/abstract/pdfjs.rb +36 -0
- metadata +796 -0
data/public/debugger.js
ADDED
@@ -0,0 +1,616 @@
|
|
1
|
+
/* Copyright 2012 Mozilla Foundation
|
2
|
+
*
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
* you may not use this file except in compliance with the License.
|
5
|
+
* You may obtain a copy of the License at
|
6
|
+
*
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
*
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
* See the License for the specific language governing permissions and
|
13
|
+
* limitations under the License.
|
14
|
+
*/
|
15
|
+
|
16
|
+
'use strict';
|
17
|
+
|
18
|
+
var FontInspector = (function FontInspectorClosure() {
|
19
|
+
var fonts;
|
20
|
+
var active = false;
|
21
|
+
var fontAttribute = 'data-font-name';
|
22
|
+
function removeSelection() {
|
23
|
+
var divs = document.querySelectorAll('div[' + fontAttribute + ']');
|
24
|
+
for (var i = 0, ii = divs.length; i < ii; ++i) {
|
25
|
+
var div = divs[i];
|
26
|
+
div.className = '';
|
27
|
+
}
|
28
|
+
}
|
29
|
+
function resetSelection() {
|
30
|
+
var divs = document.querySelectorAll('div[' + fontAttribute + ']');
|
31
|
+
for (var i = 0, ii = divs.length; i < ii; ++i) {
|
32
|
+
var div = divs[i];
|
33
|
+
div.className = 'debuggerHideText';
|
34
|
+
}
|
35
|
+
}
|
36
|
+
function selectFont(fontName, show) {
|
37
|
+
var divs = document.querySelectorAll('div[' + fontAttribute + '=' +
|
38
|
+
fontName + ']');
|
39
|
+
for (var i = 0, ii = divs.length; i < ii; ++i) {
|
40
|
+
var div = divs[i];
|
41
|
+
div.className = show ? 'debuggerShowText' : 'debuggerHideText';
|
42
|
+
}
|
43
|
+
}
|
44
|
+
function textLayerClick(e) {
|
45
|
+
if (!e.target.dataset.fontName ||
|
46
|
+
e.target.tagName.toUpperCase() !== 'DIV') {
|
47
|
+
return;
|
48
|
+
}
|
49
|
+
var fontName = e.target.dataset.fontName;
|
50
|
+
var selects = document.getElementsByTagName('input');
|
51
|
+
for (var i = 0; i < selects.length; ++i) {
|
52
|
+
var select = selects[i];
|
53
|
+
if (select.dataset.fontName !== fontName) {
|
54
|
+
continue;
|
55
|
+
}
|
56
|
+
select.checked = !select.checked;
|
57
|
+
selectFont(fontName, select.checked);
|
58
|
+
select.scrollIntoView();
|
59
|
+
}
|
60
|
+
}
|
61
|
+
return {
|
62
|
+
// Properties/functions needed by PDFBug.
|
63
|
+
id: 'FontInspector',
|
64
|
+
name: 'Font Inspector',
|
65
|
+
panel: null,
|
66
|
+
manager: null,
|
67
|
+
init: function init(pdfjsLib) {
|
68
|
+
var panel = this.panel;
|
69
|
+
panel.setAttribute('style', 'padding: 5px;');
|
70
|
+
var tmp = document.createElement('button');
|
71
|
+
tmp.addEventListener('click', resetSelection);
|
72
|
+
tmp.textContent = 'Refresh';
|
73
|
+
panel.appendChild(tmp);
|
74
|
+
|
75
|
+
fonts = document.createElement('div');
|
76
|
+
panel.appendChild(fonts);
|
77
|
+
},
|
78
|
+
cleanup: function cleanup() {
|
79
|
+
fonts.textContent = '';
|
80
|
+
},
|
81
|
+
enabled: false,
|
82
|
+
get active() {
|
83
|
+
return active;
|
84
|
+
},
|
85
|
+
set active(value) {
|
86
|
+
active = value;
|
87
|
+
if (active) {
|
88
|
+
document.body.addEventListener('click', textLayerClick, true);
|
89
|
+
resetSelection();
|
90
|
+
} else {
|
91
|
+
document.body.removeEventListener('click', textLayerClick, true);
|
92
|
+
removeSelection();
|
93
|
+
}
|
94
|
+
},
|
95
|
+
// FontInspector specific functions.
|
96
|
+
fontAdded: function fontAdded(fontObj, url) {
|
97
|
+
function properties(obj, list) {
|
98
|
+
var moreInfo = document.createElement('table');
|
99
|
+
for (var i = 0; i < list.length; i++) {
|
100
|
+
var tr = document.createElement('tr');
|
101
|
+
var td1 = document.createElement('td');
|
102
|
+
td1.textContent = list[i];
|
103
|
+
tr.appendChild(td1);
|
104
|
+
var td2 = document.createElement('td');
|
105
|
+
td2.textContent = obj[list[i]].toString();
|
106
|
+
tr.appendChild(td2);
|
107
|
+
moreInfo.appendChild(tr);
|
108
|
+
}
|
109
|
+
return moreInfo;
|
110
|
+
}
|
111
|
+
var moreInfo = properties(fontObj, ['name', 'type']);
|
112
|
+
var fontName = fontObj.loadedName;
|
113
|
+
var font = document.createElement('div');
|
114
|
+
var name = document.createElement('span');
|
115
|
+
name.textContent = fontName;
|
116
|
+
var download = document.createElement('a');
|
117
|
+
if (url) {
|
118
|
+
url = /url\(['"]?([^\)"']+)/.exec(url);
|
119
|
+
download.href = url[1];
|
120
|
+
} else if (fontObj.data) {
|
121
|
+
url = URL.createObjectURL(new Blob([fontObj.data], {
|
122
|
+
type: fontObj.mimeType
|
123
|
+
}));
|
124
|
+
download.href = url;
|
125
|
+
}
|
126
|
+
download.textContent = 'Download';
|
127
|
+
var logIt = document.createElement('a');
|
128
|
+
logIt.href = '';
|
129
|
+
logIt.textContent = 'Log';
|
130
|
+
logIt.addEventListener('click', function(event) {
|
131
|
+
event.preventDefault();
|
132
|
+
console.log(fontObj);
|
133
|
+
});
|
134
|
+
var select = document.createElement('input');
|
135
|
+
select.setAttribute('type', 'checkbox');
|
136
|
+
select.dataset.fontName = fontName;
|
137
|
+
select.addEventListener('click', (function(select, fontName) {
|
138
|
+
return (function() {
|
139
|
+
selectFont(fontName, select.checked);
|
140
|
+
});
|
141
|
+
})(select, fontName));
|
142
|
+
font.appendChild(select);
|
143
|
+
font.appendChild(name);
|
144
|
+
font.appendChild(document.createTextNode(' '));
|
145
|
+
font.appendChild(download);
|
146
|
+
font.appendChild(document.createTextNode(' '));
|
147
|
+
font.appendChild(logIt);
|
148
|
+
font.appendChild(moreInfo);
|
149
|
+
fonts.appendChild(font);
|
150
|
+
// Somewhat of a hack, should probably add a hook for when the text layer
|
151
|
+
// is done rendering.
|
152
|
+
setTimeout(function() {
|
153
|
+
if (this.active) {
|
154
|
+
resetSelection();
|
155
|
+
}
|
156
|
+
}.bind(this), 2000);
|
157
|
+
}
|
158
|
+
};
|
159
|
+
})();
|
160
|
+
|
161
|
+
var opMap;
|
162
|
+
|
163
|
+
// Manages all the page steppers.
|
164
|
+
var StepperManager = (function StepperManagerClosure() {
|
165
|
+
var steppers = [];
|
166
|
+
var stepperDiv = null;
|
167
|
+
var stepperControls = null;
|
168
|
+
var stepperChooser = null;
|
169
|
+
var breakPoints = Object.create(null);
|
170
|
+
return {
|
171
|
+
// Properties/functions needed by PDFBug.
|
172
|
+
id: 'Stepper',
|
173
|
+
name: 'Stepper',
|
174
|
+
panel: null,
|
175
|
+
manager: null,
|
176
|
+
init: function init(pdfjsLib) {
|
177
|
+
var self = this;
|
178
|
+
this.panel.setAttribute('style', 'padding: 5px;');
|
179
|
+
stepperControls = document.createElement('div');
|
180
|
+
stepperChooser = document.createElement('select');
|
181
|
+
stepperChooser.addEventListener('change', function(event) {
|
182
|
+
self.selectStepper(this.value);
|
183
|
+
});
|
184
|
+
stepperControls.appendChild(stepperChooser);
|
185
|
+
stepperDiv = document.createElement('div');
|
186
|
+
this.panel.appendChild(stepperControls);
|
187
|
+
this.panel.appendChild(stepperDiv);
|
188
|
+
if (sessionStorage.getItem('pdfjsBreakPoints')) {
|
189
|
+
breakPoints = JSON.parse(sessionStorage.getItem('pdfjsBreakPoints'));
|
190
|
+
}
|
191
|
+
|
192
|
+
opMap = Object.create(null);
|
193
|
+
for (var key in pdfjsLib.OPS) {
|
194
|
+
opMap[pdfjsLib.OPS[key]] = key;
|
195
|
+
}
|
196
|
+
},
|
197
|
+
cleanup: function cleanup() {
|
198
|
+
stepperChooser.textContent = '';
|
199
|
+
stepperDiv.textContent = '';
|
200
|
+
steppers = [];
|
201
|
+
},
|
202
|
+
enabled: false,
|
203
|
+
active: false,
|
204
|
+
// Stepper specific functions.
|
205
|
+
create: function create(pageIndex) {
|
206
|
+
var debug = document.createElement('div');
|
207
|
+
debug.id = 'stepper' + pageIndex;
|
208
|
+
debug.setAttribute('hidden', true);
|
209
|
+
debug.className = 'stepper';
|
210
|
+
stepperDiv.appendChild(debug);
|
211
|
+
var b = document.createElement('option');
|
212
|
+
b.textContent = 'Page ' + (pageIndex + 1);
|
213
|
+
b.value = pageIndex;
|
214
|
+
stepperChooser.appendChild(b);
|
215
|
+
var initBreakPoints = breakPoints[pageIndex] || [];
|
216
|
+
var stepper = new Stepper(debug, pageIndex, initBreakPoints);
|
217
|
+
steppers.push(stepper);
|
218
|
+
if (steppers.length === 1) {
|
219
|
+
this.selectStepper(pageIndex, false);
|
220
|
+
}
|
221
|
+
return stepper;
|
222
|
+
},
|
223
|
+
selectStepper: function selectStepper(pageIndex, selectPanel) {
|
224
|
+
var i;
|
225
|
+
pageIndex = pageIndex | 0;
|
226
|
+
if (selectPanel) {
|
227
|
+
this.manager.selectPanel(this);
|
228
|
+
}
|
229
|
+
for (i = 0; i < steppers.length; ++i) {
|
230
|
+
var stepper = steppers[i];
|
231
|
+
if (stepper.pageIndex === pageIndex) {
|
232
|
+
stepper.panel.removeAttribute('hidden');
|
233
|
+
} else {
|
234
|
+
stepper.panel.setAttribute('hidden', true);
|
235
|
+
}
|
236
|
+
}
|
237
|
+
var options = stepperChooser.options;
|
238
|
+
for (i = 0; i < options.length; ++i) {
|
239
|
+
var option = options[i];
|
240
|
+
option.selected = (option.value | 0) === pageIndex;
|
241
|
+
}
|
242
|
+
},
|
243
|
+
saveBreakPoints: function saveBreakPoints(pageIndex, bps) {
|
244
|
+
breakPoints[pageIndex] = bps;
|
245
|
+
sessionStorage.setItem('pdfjsBreakPoints', JSON.stringify(breakPoints));
|
246
|
+
}
|
247
|
+
};
|
248
|
+
})();
|
249
|
+
|
250
|
+
// The stepper for each page's IRQueue.
|
251
|
+
var Stepper = (function StepperClosure() {
|
252
|
+
// Shorter way to create element and optionally set textContent.
|
253
|
+
function c(tag, textContent) {
|
254
|
+
var d = document.createElement(tag);
|
255
|
+
if (textContent) {
|
256
|
+
d.textContent = textContent;
|
257
|
+
}
|
258
|
+
return d;
|
259
|
+
}
|
260
|
+
|
261
|
+
function simplifyArgs(args) {
|
262
|
+
if (typeof args === 'string') {
|
263
|
+
var MAX_STRING_LENGTH = 75;
|
264
|
+
return args.length <= MAX_STRING_LENGTH ? args :
|
265
|
+
args.substr(0, MAX_STRING_LENGTH) + '...';
|
266
|
+
}
|
267
|
+
if (typeof args !== 'object' || args === null) {
|
268
|
+
return args;
|
269
|
+
}
|
270
|
+
if ('length' in args) { // array
|
271
|
+
var simpleArgs = [], i, ii;
|
272
|
+
var MAX_ITEMS = 10;
|
273
|
+
for (i = 0, ii = Math.min(MAX_ITEMS, args.length); i < ii; i++) {
|
274
|
+
simpleArgs.push(simplifyArgs(args[i]));
|
275
|
+
}
|
276
|
+
if (i < args.length) {
|
277
|
+
simpleArgs.push('...');
|
278
|
+
}
|
279
|
+
return simpleArgs;
|
280
|
+
}
|
281
|
+
var simpleObj = {};
|
282
|
+
for (var key in args) {
|
283
|
+
simpleObj[key] = simplifyArgs(args[key]);
|
284
|
+
}
|
285
|
+
return simpleObj;
|
286
|
+
}
|
287
|
+
|
288
|
+
function Stepper(panel, pageIndex, initialBreakPoints) {
|
289
|
+
this.panel = panel;
|
290
|
+
this.breakPoint = 0;
|
291
|
+
this.nextBreakPoint = null;
|
292
|
+
this.pageIndex = pageIndex;
|
293
|
+
this.breakPoints = initialBreakPoints;
|
294
|
+
this.currentIdx = -1;
|
295
|
+
this.operatorListIdx = 0;
|
296
|
+
}
|
297
|
+
Stepper.prototype = {
|
298
|
+
init: function init(operatorList) {
|
299
|
+
var panel = this.panel;
|
300
|
+
var content = c('div', 'c=continue, s=step');
|
301
|
+
var table = c('table');
|
302
|
+
content.appendChild(table);
|
303
|
+
table.cellSpacing = 0;
|
304
|
+
var headerRow = c('tr');
|
305
|
+
table.appendChild(headerRow);
|
306
|
+
headerRow.appendChild(c('th', 'Break'));
|
307
|
+
headerRow.appendChild(c('th', 'Idx'));
|
308
|
+
headerRow.appendChild(c('th', 'fn'));
|
309
|
+
headerRow.appendChild(c('th', 'args'));
|
310
|
+
panel.appendChild(content);
|
311
|
+
this.table = table;
|
312
|
+
this.updateOperatorList(operatorList);
|
313
|
+
},
|
314
|
+
updateOperatorList: function updateOperatorList(operatorList) {
|
315
|
+
var self = this;
|
316
|
+
|
317
|
+
function cboxOnClick() {
|
318
|
+
var x = +this.dataset.idx;
|
319
|
+
if (this.checked) {
|
320
|
+
self.breakPoints.push(x);
|
321
|
+
} else {
|
322
|
+
self.breakPoints.splice(self.breakPoints.indexOf(x), 1);
|
323
|
+
}
|
324
|
+
StepperManager.saveBreakPoints(self.pageIndex, self.breakPoints);
|
325
|
+
}
|
326
|
+
|
327
|
+
var MAX_OPERATORS_COUNT = 15000;
|
328
|
+
if (this.operatorListIdx > MAX_OPERATORS_COUNT) {
|
329
|
+
return;
|
330
|
+
}
|
331
|
+
|
332
|
+
var chunk = document.createDocumentFragment();
|
333
|
+
var operatorsToDisplay = Math.min(MAX_OPERATORS_COUNT,
|
334
|
+
operatorList.fnArray.length);
|
335
|
+
for (var i = this.operatorListIdx; i < operatorsToDisplay; i++) {
|
336
|
+
var line = c('tr');
|
337
|
+
line.className = 'line';
|
338
|
+
line.dataset.idx = i;
|
339
|
+
chunk.appendChild(line);
|
340
|
+
var checked = this.breakPoints.indexOf(i) !== -1;
|
341
|
+
var args = operatorList.argsArray[i] || [];
|
342
|
+
|
343
|
+
var breakCell = c('td');
|
344
|
+
var cbox = c('input');
|
345
|
+
cbox.type = 'checkbox';
|
346
|
+
cbox.className = 'points';
|
347
|
+
cbox.checked = checked;
|
348
|
+
cbox.dataset.idx = i;
|
349
|
+
cbox.onclick = cboxOnClick;
|
350
|
+
|
351
|
+
breakCell.appendChild(cbox);
|
352
|
+
line.appendChild(breakCell);
|
353
|
+
line.appendChild(c('td', i.toString()));
|
354
|
+
var fn = opMap[operatorList.fnArray[i]];
|
355
|
+
var decArgs = args;
|
356
|
+
if (fn === 'showText') {
|
357
|
+
var glyphs = args[0];
|
358
|
+
var newArgs = [];
|
359
|
+
var str = [];
|
360
|
+
for (var j = 0; j < glyphs.length; j++) {
|
361
|
+
var glyph = glyphs[j];
|
362
|
+
if (typeof glyph === 'object' && glyph !== null) {
|
363
|
+
str.push(glyph.fontChar);
|
364
|
+
} else {
|
365
|
+
if (str.length > 0) {
|
366
|
+
newArgs.push(str.join(''));
|
367
|
+
str = [];
|
368
|
+
}
|
369
|
+
newArgs.push(glyph); // null or number
|
370
|
+
}
|
371
|
+
}
|
372
|
+
if (str.length > 0) {
|
373
|
+
newArgs.push(str.join(''));
|
374
|
+
}
|
375
|
+
decArgs = [newArgs];
|
376
|
+
}
|
377
|
+
line.appendChild(c('td', fn));
|
378
|
+
line.appendChild(c('td', JSON.stringify(simplifyArgs(decArgs))));
|
379
|
+
}
|
380
|
+
if (operatorsToDisplay < operatorList.fnArray.length) {
|
381
|
+
line = c('tr');
|
382
|
+
var lastCell = c('td', '...');
|
383
|
+
lastCell.colspan = 4;
|
384
|
+
chunk.appendChild(lastCell);
|
385
|
+
}
|
386
|
+
this.operatorListIdx = operatorList.fnArray.length;
|
387
|
+
this.table.appendChild(chunk);
|
388
|
+
},
|
389
|
+
getNextBreakPoint: function getNextBreakPoint() {
|
390
|
+
this.breakPoints.sort(function(a, b) { return a - b; });
|
391
|
+
for (var i = 0; i < this.breakPoints.length; i++) {
|
392
|
+
if (this.breakPoints[i] > this.currentIdx) {
|
393
|
+
return this.breakPoints[i];
|
394
|
+
}
|
395
|
+
}
|
396
|
+
return null;
|
397
|
+
},
|
398
|
+
breakIt: function breakIt(idx, callback) {
|
399
|
+
StepperManager.selectStepper(this.pageIndex, true);
|
400
|
+
var self = this;
|
401
|
+
var dom = document;
|
402
|
+
self.currentIdx = idx;
|
403
|
+
var listener = function(e) {
|
404
|
+
switch (e.keyCode) {
|
405
|
+
case 83: // step
|
406
|
+
dom.removeEventListener('keydown', listener, false);
|
407
|
+
self.nextBreakPoint = self.currentIdx + 1;
|
408
|
+
self.goTo(-1);
|
409
|
+
callback();
|
410
|
+
break;
|
411
|
+
case 67: // continue
|
412
|
+
dom.removeEventListener('keydown', listener, false);
|
413
|
+
var breakPoint = self.getNextBreakPoint();
|
414
|
+
self.nextBreakPoint = breakPoint;
|
415
|
+
self.goTo(-1);
|
416
|
+
callback();
|
417
|
+
break;
|
418
|
+
}
|
419
|
+
};
|
420
|
+
dom.addEventListener('keydown', listener, false);
|
421
|
+
self.goTo(idx);
|
422
|
+
},
|
423
|
+
goTo: function goTo(idx) {
|
424
|
+
var allRows = this.panel.getElementsByClassName('line');
|
425
|
+
for (var x = 0, xx = allRows.length; x < xx; ++x) {
|
426
|
+
var row = allRows[x];
|
427
|
+
if ((row.dataset.idx | 0) === idx) {
|
428
|
+
row.style.backgroundColor = 'rgb(251,250,207)';
|
429
|
+
row.scrollIntoView();
|
430
|
+
} else {
|
431
|
+
row.style.backgroundColor = null;
|
432
|
+
}
|
433
|
+
}
|
434
|
+
}
|
435
|
+
};
|
436
|
+
return Stepper;
|
437
|
+
})();
|
438
|
+
|
439
|
+
var Stats = (function Stats() {
|
440
|
+
var stats = [];
|
441
|
+
function clear(node) {
|
442
|
+
while (node.hasChildNodes()) {
|
443
|
+
node.removeChild(node.lastChild);
|
444
|
+
}
|
445
|
+
}
|
446
|
+
function getStatIndex(pageNumber) {
|
447
|
+
for (var i = 0, ii = stats.length; i < ii; ++i) {
|
448
|
+
if (stats[i].pageNumber === pageNumber) {
|
449
|
+
return i;
|
450
|
+
}
|
451
|
+
}
|
452
|
+
return false;
|
453
|
+
}
|
454
|
+
return {
|
455
|
+
// Properties/functions needed by PDFBug.
|
456
|
+
id: 'Stats',
|
457
|
+
name: 'Stats',
|
458
|
+
panel: null,
|
459
|
+
manager: null,
|
460
|
+
init: function init(pdfjsLib) {
|
461
|
+
this.panel.setAttribute('style', 'padding: 5px;');
|
462
|
+
pdfjsLib.PDFJS.enableStats = true;
|
463
|
+
},
|
464
|
+
enabled: false,
|
465
|
+
active: false,
|
466
|
+
// Stats specific functions.
|
467
|
+
add: function(pageNumber, stat) {
|
468
|
+
if (!stat) {
|
469
|
+
return;
|
470
|
+
}
|
471
|
+
var statsIndex = getStatIndex(pageNumber);
|
472
|
+
if (statsIndex !== false) {
|
473
|
+
var b = stats[statsIndex];
|
474
|
+
this.panel.removeChild(b.div);
|
475
|
+
stats.splice(statsIndex, 1);
|
476
|
+
}
|
477
|
+
var wrapper = document.createElement('div');
|
478
|
+
wrapper.className = 'stats';
|
479
|
+
var title = document.createElement('div');
|
480
|
+
title.className = 'title';
|
481
|
+
title.textContent = 'Page: ' + pageNumber;
|
482
|
+
var statsDiv = document.createElement('div');
|
483
|
+
statsDiv.textContent = stat.toString();
|
484
|
+
wrapper.appendChild(title);
|
485
|
+
wrapper.appendChild(statsDiv);
|
486
|
+
stats.push({ pageNumber: pageNumber, div: wrapper });
|
487
|
+
stats.sort(function(a, b) { return a.pageNumber - b.pageNumber; });
|
488
|
+
clear(this.panel);
|
489
|
+
for (var i = 0, ii = stats.length; i < ii; ++i) {
|
490
|
+
this.panel.appendChild(stats[i].div);
|
491
|
+
}
|
492
|
+
},
|
493
|
+
cleanup: function () {
|
494
|
+
stats = [];
|
495
|
+
clear(this.panel);
|
496
|
+
}
|
497
|
+
};
|
498
|
+
})();
|
499
|
+
|
500
|
+
// Manages all the debugging tools.
|
501
|
+
var PDFBug = (function PDFBugClosure() {
|
502
|
+
var panelWidth = 300;
|
503
|
+
var buttons = [];
|
504
|
+
var activePanel = null;
|
505
|
+
|
506
|
+
return {
|
507
|
+
tools: [
|
508
|
+
FontInspector,
|
509
|
+
StepperManager,
|
510
|
+
Stats
|
511
|
+
],
|
512
|
+
enable: function(ids) {
|
513
|
+
var all = false, tools = this.tools;
|
514
|
+
if (ids.length === 1 && ids[0] === 'all') {
|
515
|
+
all = true;
|
516
|
+
}
|
517
|
+
for (var i = 0; i < tools.length; ++i) {
|
518
|
+
var tool = tools[i];
|
519
|
+
if (all || ids.indexOf(tool.id) !== -1) {
|
520
|
+
tool.enabled = true;
|
521
|
+
}
|
522
|
+
}
|
523
|
+
if (!all) {
|
524
|
+
// Sort the tools by the order they are enabled.
|
525
|
+
tools.sort(function(a, b) {
|
526
|
+
var indexA = ids.indexOf(a.id);
|
527
|
+
indexA = indexA < 0 ? tools.length : indexA;
|
528
|
+
var indexB = ids.indexOf(b.id);
|
529
|
+
indexB = indexB < 0 ? tools.length : indexB;
|
530
|
+
return indexA - indexB;
|
531
|
+
});
|
532
|
+
}
|
533
|
+
},
|
534
|
+
init: function init(pdfjsLib, container) {
|
535
|
+
/*
|
536
|
+
* Basic Layout:
|
537
|
+
* PDFBug
|
538
|
+
* Controls
|
539
|
+
* Panels
|
540
|
+
* Panel
|
541
|
+
* Panel
|
542
|
+
* ...
|
543
|
+
*/
|
544
|
+
var ui = document.createElement('div');
|
545
|
+
ui.id = 'PDFBug';
|
546
|
+
|
547
|
+
var controls = document.createElement('div');
|
548
|
+
controls.setAttribute('class', 'controls');
|
549
|
+
ui.appendChild(controls);
|
550
|
+
|
551
|
+
var panels = document.createElement('div');
|
552
|
+
panels.setAttribute('class', 'panels');
|
553
|
+
ui.appendChild(panels);
|
554
|
+
|
555
|
+
container.appendChild(ui);
|
556
|
+
container.style.right = panelWidth + 'px';
|
557
|
+
|
558
|
+
// Initialize all the debugging tools.
|
559
|
+
var tools = this.tools;
|
560
|
+
var self = this;
|
561
|
+
for (var i = 0; i < tools.length; ++i) {
|
562
|
+
var tool = tools[i];
|
563
|
+
var panel = document.createElement('div');
|
564
|
+
var panelButton = document.createElement('button');
|
565
|
+
panelButton.textContent = tool.name;
|
566
|
+
panelButton.addEventListener('click', (function(selected) {
|
567
|
+
return function(event) {
|
568
|
+
event.preventDefault();
|
569
|
+
self.selectPanel(selected);
|
570
|
+
};
|
571
|
+
})(i));
|
572
|
+
controls.appendChild(panelButton);
|
573
|
+
panels.appendChild(panel);
|
574
|
+
tool.panel = panel;
|
575
|
+
tool.manager = this;
|
576
|
+
if (tool.enabled) {
|
577
|
+
tool.init(pdfjsLib);
|
578
|
+
} else {
|
579
|
+
panel.textContent = tool.name + ' is disabled. To enable add ' +
|
580
|
+
' "' + tool.id + '" to the pdfBug parameter ' +
|
581
|
+
'and refresh (separate multiple by commas).';
|
582
|
+
}
|
583
|
+
buttons.push(panelButton);
|
584
|
+
}
|
585
|
+
this.selectPanel(0);
|
586
|
+
},
|
587
|
+
cleanup: function cleanup() {
|
588
|
+
for (var i = 0, ii = this.tools.length; i < ii; i++) {
|
589
|
+
if (this.tools[i].enabled) {
|
590
|
+
this.tools[i].cleanup();
|
591
|
+
}
|
592
|
+
}
|
593
|
+
},
|
594
|
+
selectPanel: function selectPanel(index) {
|
595
|
+
if (typeof index !== 'number') {
|
596
|
+
index = this.tools.indexOf(index);
|
597
|
+
}
|
598
|
+
if (index === activePanel) {
|
599
|
+
return;
|
600
|
+
}
|
601
|
+
activePanel = index;
|
602
|
+
var tools = this.tools;
|
603
|
+
for (var j = 0; j < tools.length; ++j) {
|
604
|
+
if (j === index) {
|
605
|
+
buttons[j].setAttribute('class', 'active');
|
606
|
+
tools[j].active = true;
|
607
|
+
tools[j].panel.removeAttribute('hidden');
|
608
|
+
} else {
|
609
|
+
buttons[j].setAttribute('class', '');
|
610
|
+
tools[j].active = false;
|
611
|
+
tools[j].panel.setAttribute('hidden', 'true');
|
612
|
+
}
|
613
|
+
}
|
614
|
+
}
|
615
|
+
};
|
616
|
+
})();
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
4
|
+
width="40"
|
5
|
+
height="40"
|
6
|
+
viewBox="0 0 40 40">
|
7
|
+
<path
|
8
|
+
d="M 1.5006714,23.536225 6.8925879,18.994244 14.585721,26.037937 34.019683,4.5410479 38.499329,9.2235032 14.585721,35.458952 z"
|
9
|
+
id="path4"
|
10
|
+
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1.25402856;stroke-opacity:1"/>
|
11
|
+
</svg>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
4
|
+
height="40"
|
5
|
+
width="40"
|
6
|
+
viewBox="0 0 40 40">
|
7
|
+
<rect
|
8
|
+
style="fill:#ffff00;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
9
|
+
width="33.76017"
|
10
|
+
height="33.76017"
|
11
|
+
x="3.119915"
|
12
|
+
y="3.119915"/>
|
13
|
+
<path
|
14
|
+
d="m 20.677967,8.54499 c -7.342801,0 -13.295293,4.954293 -13.295293,11.065751 0,2.088793 0.3647173,3.484376 1.575539,5.150563 L 6.0267418,31.45501 13.560595,29.011117 c 2.221262,1.387962 4.125932,1.665377 7.117372,1.665377 7.3428,0 13.295291,-4.954295 13.295291,-11.065753 0,-6.111458 -5.952491,-11.065751 -13.295291,-11.065751 z"
|
15
|
+
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.93031836;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/>
|
16
|
+
</svg>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
4
|
+
width="40"
|
5
|
+
height="40"
|
6
|
+
viewBox="0 0 40 40">
|
7
|
+
<g
|
8
|
+
transform="translate(0,-60)"
|
9
|
+
id="layer1">
|
10
|
+
<rect
|
11
|
+
width="36.460953"
|
12
|
+
height="34.805603"
|
13
|
+
x="1.7695236"
|
14
|
+
y="62.597198"
|
15
|
+
style="fill:#ffff00;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.30826771;stroke-opacity:1" />
|
16
|
+
<g
|
17
|
+
transform="matrix(0.88763677,0,0,0.88763677,2.2472646,8.9890584)">
|
18
|
+
<path
|
19
|
+
d="M 20,64.526342 C 11.454135,64.526342 4.5263421,71.454135 4.5263421,80 4.5263421,88.545865 11.454135,95.473658 20,95.473658 28.545865,95.473658 35.473658,88.545865 35.473658,80 35.473658,71.454135 28.545865,64.526342 20,64.526342 z m -0.408738,9.488564 c 3.527079,0 6.393832,2.84061 6.393832,6.335441 0,3.494831 -2.866753,6.335441 -6.393832,6.335441 -3.527079,0 -6.393832,-2.84061 -6.393832,-6.335441 0,-3.494831 2.866753,-6.335441 6.393832,-6.335441 z"
|
20
|
+
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.02768445;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
21
|
+
<path
|
22
|
+
d="m 7.2335209,71.819938 4.9702591,4.161823 c -1.679956,2.581606 -1.443939,6.069592 0.159325,8.677725 l -5.1263071,3.424463 c 0.67516,1.231452 3.0166401,3.547686 4.2331971,4.194757 l 3.907728,-4.567277 c 2.541952,1.45975 5.730694,1.392161 8.438683,-0.12614 l 3.469517,6.108336 c 1.129779,-0.44367 4.742234,-3.449633 5.416358,-5.003859 l -5.46204,-4.415541 c 1.44319,-2.424098 1.651175,-5.267515 0.557303,-7.748623 l 5.903195,-3.833951 C 33.14257,71.704996 30.616217,69.018606 29.02952,67.99296 l -4.118813,4.981678 C 22.411934,71.205099 18.900853,70.937534 16.041319,72.32916 l -3.595408,-5.322091 c -1.345962,0.579488 -4.1293881,2.921233 -5.2123901,4.812869 z m 8.1010311,3.426672 c 2.75284,-2.446266 6.769149,-2.144694 9.048998,0.420874 2.279848,2.56557 2.113919,6.596919 -0.638924,9.043185 -2.752841,2.446267 -6.775754,2.13726 -9.055604,-0.428308 -2.279851,-2.565568 -2.107313,-6.589485 0.64553,-9.035751 z"
|
23
|
+
style="fill:#000000;fill-opacity:1;stroke:none" />
|
24
|
+
</g>
|
25
|
+
</g>
|
26
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
4
|
+
width="64"
|
5
|
+
height="64"
|
6
|
+
viewBox="0 0 64 64">
|
7
|
+
<path
|
8
|
+
d="M 32.003143,1.4044602 57.432701,62.632577 6.5672991,62.627924 z"
|
9
|
+
style="fill:#ffff00;fill-opacity:0.94117647;fill-rule:nonzero;stroke:#000000;stroke-width:1.00493038;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
10
|
+
</svg>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
4
|
+
width="64"
|
5
|
+
height="64"
|
6
|
+
viewBox="0 0 64 64">
|
7
|
+
<path
|
8
|
+
d="M 25.470843,9.4933766 C 25.30219,12.141818 30.139101,14.445969 34.704831,13.529144 40.62635,12.541995 41.398833,7.3856498 35.97505,5.777863 31.400921,4.1549155 25.157674,6.5445892 25.470843,9.4933766 z M 4.5246282,17.652051 C 4.068249,11.832873 9.2742983,5.9270407 18.437379,3.0977088 29.751911,-0.87185184 45.495663,1.4008022 53.603953,7.1104009 c 9.275765,6.1889221 7.158128,16.2079421 -3.171076,21.5939521 -1.784316,1.635815 -6.380222,1.21421 -7.068351,3.186186 -1.04003,0.972427 -1.288046,2.050158 -1.232864,3.168203 1.015111,2.000108 -3.831548,1.633216 -3.270553,3.759574 0.589477,5.264544 -0.179276,10.53738 -0.362842,15.806257 -0.492006,2.184998 1.163456,4.574232 -0.734888,6.610642 -2.482919,2.325184 -7.30604,2.189143 -9.193497,-0.274767 -2.733688,-1.740626 -8.254447,-3.615254 -6.104247,-6.339626 3.468112,-1.708686 -2.116197,-3.449897 0.431242,-5.080274 5.058402,-1.39256 -2.393215,-2.304318 -0.146889,-4.334645 3.069198,-0.977415 2.056986,-2.518352 -0.219121,-3.540397 1.876567,-1.807151 1.484149,-4.868919 -2.565455,-5.942205 0.150866,-1.805474 2.905737,-4.136876 -1.679967,-5.20493 C 10.260902,27.882167 4.6872697,22.95045 4.5245945,17.652051 z"
|
9
|
+
id="path604"
|
10
|
+
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1.72665179;stroke-opacity:1" />
|
11
|
+
</svg>
|