File: index.html

package info (click to toggle)
pdf.js 1.0.907%2Bdfsg-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 36,472 kB
  • ctags: 8,197
  • sloc: makefile: 41
file content (26 lines) | stat: -rw-r--r-- 1,070 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html>
    <head>
        <title>Minimal pdf.js text-selection demo</title>
        <link href="css/minimal.css" rel="stylesheet" media="screen" />

        <!-- you will need to run "node make generic" first before you can use this -->
        <script src="../../build/generic/build/pdf.js"></script>

        <!-- These files are viewer components that you will need to get text-selection to work -->
        <script src="../../web/ui_utils.js"></script>
        <script src="../../web/text_layer_builder.js"></script>

        <script>
             // Specify the main script used to create a new PDF.JS web worker.
             // In production, change this to point to the combined `pdf.js` file.
         </script>

        <script src="js/minimal.js"></script>
    </head>
    <body>
        This is a minimal pdf.js text-selection demo. The existing minimal-example shows you how to render a PDF, but not
        how to enable text-selection. This example shows you how to do both. <br /><br />
        <div id="pdfContainer">
        </div>
    </body>
</html>