Haibo Huang | 49cc930 | 2020-04-27 16:14:24 -0700 | [diff] [blame] | 1 | {{header}} |
2 | {{object 1 0}} << | ||||
3 | /Type /Catalog | ||||
4 | /Pages 2 0 R | ||||
5 | /OpenAction 10 0 R | ||||
6 | >> | ||||
7 | endobj | ||||
8 | {{object 2 0}} << | ||||
9 | /Type /Pages | ||||
10 | /Count 1 | ||||
11 | /Kids [ | ||||
12 | 3 0 R | ||||
13 | ] | ||||
14 | >> | ||||
15 | endobj | ||||
16 | % Page number 0. | ||||
17 | {{object 3 0}} << | ||||
18 | /Type /Page | ||||
19 | /Parent 2 0 R | ||||
20 | /MediaBox [0 0 612 792] | ||||
21 | >> | ||||
22 | endobj | ||||
23 | % OpenAction action | ||||
24 | {{object 10 0}} << | ||||
25 | /Type /Action | ||||
26 | /S /JavaScript | ||||
27 | /JS 11 0 R | ||||
28 | >> | ||||
29 | endobj | ||||
kumarashishg | 826308d | 2023-06-23 13:21:22 +0000 | [diff] [blame] | 30 | % JS program to execute |
Haibo Huang | 49cc930 | 2020-04-27 16:14:24 -0700 | [diff] [blame] | 31 | {{object 11 0}} << |
32 | {{streamlen}} | ||||
33 | >> | ||||
34 | stream | ||||
35 | try { | ||||
36 | app.alert("testing console methods"); | ||||
37 | console.clear(); | ||||
38 | console.hide(); | ||||
39 | console.println("clams"); | ||||
40 | console.show(); | ||||
41 | } catch (e) { | ||||
42 | app.alert("FAILURE: " + e); | ||||
43 | } | ||||
44 | endstream | ||||
45 | endobj | ||||
46 | {{xref}} | ||||
47 | {{trailer}} | ||||
48 | {{startxref}} | ||||
49 | %%EOF |