-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (73 loc) · 2.75 KB
/
index.html
File metadata and controls
73 lines (73 loc) · 2.75 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Aspose.PDF JS Examples</title>
<style>
body {
font-family: sans-serif;
line-height: 1.6;
padding: 20px;
max-width: 800px;
margin: auto;
background: #f4f4f4;
}
.card {
background: white;
padding: 15px;
margin-bottom: 10px;
border-radius: 8px;
border-left: 5px solid #007bff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
a {
color: #007bff;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
.status-bar {
background: #e7f3ff;
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
border-left: 5px solid #0d6efd;
}
.warning {
background: #ffc107;
border-left-color: #e0a800;
display: none;
}
</style>
</head>
<body>
<div id="msg" class="status-bar">
<strong>System Status:</strong> Ready to test. For more details, check the
<a href="https://docs.aspose.com/pdf/javascript-cpp/installation/" target="_blank">Official Installation Guide</a>.
</div>
<h1>Aspose.PDF for JavaScript via C++</h1>
<div class="card">
<a href="example.html">Standard Mode (example.html)</a><br />Basic usage in the main thread. Simple but may
freeze the UI.
</div>
<div class="card">
<a href="example_worker.html">Web Worker Mode (example_worker.html)</a><br />Recommended. Runs processing in
a background thread for better performance.
</div>
<div class="card">
<a href="encrypt_lic.html">License Encryptor (encrypt_lic.html)</a><br />Tool to encrypt your .lic license
file for secure client-side use.
</div>
<script>
if (window.location.protocol === "file:") {
const msg = document.getElementById("msg");
msg.classList.add("warning");
msg.innerHTML =
'<strong>Warning!</strong> You opened this file via "file://". WebAssembly will NOT work. Use a local server (http://localhost:8080) as described in the <a href="https://docs.aspose.com/pdf/javascript-cpp/installation/" target="_blank">Installation Guide</a>.';
msg.style.display = "block";
}
</script>
</body>
</html>