Pdf数据解析
http://brendandahl.github.io/pdf.js.utils/browser/
<html>
<head>
<title>PDF Object Browser</title>
<meta charset="utf-8">
<script type="text/javascript" src="http://brendandahl.github.io/pdf.js.utils/browser/pdf.js"></script>
<script type="text/javascript" src="http://brendandahl.github.io/pdf.js.utils/browser/browser.js"></script>
<style>
#controls {
border: 1px solid #ccc;
padding: 2px;
}
pre {
margin-top: 0;
margin-bottom: 0;
border: 1px solid black;
}
li {
list-style-type: none;
}
li.expando {
list-style-type: disc;
cursor: pointer;
}
li.expando > pre,
li.expando > ul {
display: none;
}
li.expando.expanded > pre,
li.expando.expanded > ul {
display: block;
}
li.expando.expanded {
list-style-type: circle;
}
</style>
</head>
<body>
<div id="controls">
<input type="file" id="file" name="file"/><br>
Special Url Params:<br>
?file=<i>file_url</i> - fetch file by xhr<br>
#root=<i>id</i>,<i>gen</i> - change the root
</div>
</body>
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
上次更新: 2024/01/30, 00:35:17
- 01
- Node与GLIBC_2.27不兼容解决方案08-19
- 02
- Git清空本地文件跟踪缓存08-13