2011-05-05 09:32:59 +09:00
|
|
|
<html>
|
2012-04-12 08:12:51 +09:00
|
|
|
<head>
|
2012-04-19 04:02:49 +09:00
|
|
|
<title>PDF.js viewer</title>
|
2012-04-12 08:12:51 +09:00
|
|
|
<!-- PDFJSSCRIPT_INCLUDE_FIREFOX_EXTENSION -->
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="viewer.css"/>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="compatibility.js"></script> <!-- PDFJSSCRIPT_REMOVE_FIREFOX_EXTENSION -->
|
|
|
|
|
|
|
|
<!-- PDFJSSCRIPT_INCLUDE_BUILD -->
|
|
|
|
<script type="text/javascript" src="../src/core.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/util.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
2012-04-19 04:02:49 +09:00
|
|
|
<script type="text/javascript" src="../src/api.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
2012-04-12 08:12:51 +09:00
|
|
|
<script type="text/javascript" src="../src/metadata.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/canvas.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/obj.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/function.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/charsets.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/cidmaps.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/colorspace.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/crypto.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/evaluator.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/fonts.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/glyphlist.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/image.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/metrics.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/parser.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/pattern.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/stream.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/worker.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../external/jpgjs/jpg.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/jpx.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="../src/bidi.js"></script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript">PDFJS.workerSrc = '../src/worker_loader.js';</script> <!-- PDFJSSCRIPT_REMOVE_CORE -->
|
|
|
|
<script type="text/javascript" src="debugger.js"></script>
|
|
|
|
<script type="text/javascript" src="viewer.js"></script>
|
|
|
|
</head>
|
2011-05-26 23:02:52 +09:00
|
|
|
|
2011-07-29 02:48:05 +09:00
|
|
|
<body>
|
2012-04-12 08:12:51 +09:00
|
|
|
<div id="outerContainer">
|
|
|
|
|
2012-04-26 03:34:28 +09:00
|
|
|
<div id="sidebarContainer" class="hidden">
|
|
|
|
<div id="toolbarSidebar">
|
|
|
|
<div class="splitToolbarButton toggled">
|
|
|
|
<button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" onclick="PDFView.switchSidebarView('thumbs')"></button>
|
|
|
|
<button id="viewOutline" class="toolbarButton" title="Show Document Outline" onclick="PDFView.switchSidebarView('outline')" disabled></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="sidebarContent">
|
|
|
|
<div id="thumbnailView">
|
2012-04-12 08:12:51 +09:00
|
|
|
</div>
|
2012-04-17 04:41:55 +09:00
|
|
|
|
2012-04-26 03:34:28 +09:00
|
|
|
<div id="outlineView" class="hidden">
|
2012-04-12 08:12:51 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-04-26 03:34:28 +09:00
|
|
|
</div> <!-- sidebarContainer -->
|
|
|
|
|
|
|
|
<div id="mainContainer">
|
|
|
|
<div class="toolbar">
|
|
|
|
<div id="toolbarContainer">
|
|
|
|
|
|
|
|
<div id="toolbarViewer">
|
|
|
|
<div id="toolbarViewerLeft">
|
|
|
|
<button id="sidebarToggle" class="toolbarButton" title="Toggle Sidebar"></button>
|
|
|
|
<div class="toolbarButtonSpacer"></div>
|
|
|
|
<div class="splitToolbarButton">
|
|
|
|
<button class="toolbarButton pageUp" title="Previous Page" onclick="PDFView.page--" id="previous"></button>
|
|
|
|
<div class="splitToolbarButtonSeparator"></div>
|
|
|
|
<button class="toolbarButton pageDown" title="Next Page" onclick="PDFView.page++" id="next"></button>
|
|
|
|
</div>
|
|
|
|
<input type="number" id="pageNumber" class="toolbarField" onchange="PDFView.page = this.value;" value="1" size="4" min="1">
|
|
|
|
</input>
|
|
|
|
<span id="numPages" class="toolbarLabel"></span>
|
|
|
|
</div>
|
|
|
|
<div id="toolbarViewerRight">
|
|
|
|
<input id="fileInput" class="toolbarButton fileInput" type="file" oncontextmenu="return false;" style="display: none"/>
|
|
|
|
|
|
|
|
<!-- <div class="toolbarButton print" title="Print"></div> -->
|
|
|
|
<button id="download" class="toolbarButton download" title="Download" onclick="PDFView.download();"></button>
|
|
|
|
<div class="toolbarButtonSpacer"></div>
|
|
|
|
<a href="#" id="viewBookmark" class="toolbarButton bookmark" title="Bookmark (or copy) current location">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="outerCenter">
|
|
|
|
<div class="innerCenter" id="toolbarViewerMiddle">
|
|
|
|
<div class="splitToolbarButton">
|
|
|
|
<button class="toolbarButton zoomOut" title="Zoom Out" onclick="PDFView.zoomOut();"></button>
|
|
|
|
<div class="splitToolbarButtonSeparator"></div>
|
|
|
|
<button class="toolbarButton zoomIn" title="Zoom In" onclick="PDFView.zoomIn();"></button>
|
|
|
|
</div>
|
|
|
|
<span class="dropdownToolbarButton">
|
|
|
|
<select id="scaleSelect" onchange="PDFView.parseScale(this.value);" oncontextmenu="return false;">
|
|
|
|
<option id="customScaleOption" value="custom"></option>
|
|
|
|
<option value="0.5">50%</option>
|
|
|
|
<option value="0.75">75%</option>
|
|
|
|
<option value="1">100%</option>
|
|
|
|
<option value="1.25">125%</option>
|
|
|
|
<option value="1.5">150%</option>
|
|
|
|
<option value="2">200%</option>
|
|
|
|
<option id="pageWidthOption" value="page-width">Page Width</option>
|
|
|
|
<option id="pageFitOption" value="page-fit">Page Fit</option>
|
|
|
|
<option id="pageAutoOption" value="auto" selected="selected">Auto</option>
|
|
|
|
</select>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-04-12 08:12:51 +09:00
|
|
|
</div>
|
2012-04-13 07:08:07 +09:00
|
|
|
|
2012-04-26 03:34:28 +09:00
|
|
|
<div id="viewerContainer">
|
|
|
|
<div id="viewer" />
|
2012-04-12 08:12:51 +09:00
|
|
|
</div>
|
|
|
|
|
2012-04-26 03:34:28 +09:00
|
|
|
<div id="loadingBox">
|
|
|
|
<div id="loading">Loading... 0%</div>
|
|
|
|
<div id="loadingBar"><div class="progress"></div></div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- mainContainer -->
|
2012-04-12 08:12:51 +09:00
|
|
|
|
2012-04-13 08:29:15 +09:00
|
|
|
</div> <!-- outerContainer -->
|
2012-04-12 08:12:51 +09:00
|
|
|
|
2012-04-14 03:13:53 +09:00
|
|
|
<div id="errorWrapper" hidden='true'>
|
|
|
|
<div id="errorMessageLeft">
|
|
|
|
<span id="errorMessage"></span>
|
|
|
|
<button id="errorShowMore" onclick="" oncontextmenu="return false;">
|
|
|
|
More Information
|
|
|
|
</button>
|
|
|
|
<button id="errorShowLess" onclick="" oncontextmenu="return false;" hidden='true'>
|
|
|
|
Less Information
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div id="errorMessageRight">
|
|
|
|
<button id="errorClose" oncontextmenu="return false;">
|
|
|
|
Close
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="clearBoth"></div>
|
|
|
|
<textarea id="errorMoreInfo" hidden='true' readonly="readonly"></textarea>
|
|
|
|
</div>
|
|
|
|
|
2011-05-26 23:02:52 +09:00
|
|
|
</body>
|
2011-05-05 09:32:59 +09:00
|
|
|
</html>
|