• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{{header}}
2{{object 1 0}} <<
3  /Type /Catalog
4  /Pages 2 0 R
5  /OpenAction 10 0 R
6>>
7endobj
8{{object 2 0}} <<
9  /Type /Pages
10  /Count 1
11  /Kids [
12    3 0 R
13  ]
14>>
15endobj
16% Page number 0.
17{{object 3 0}} <<
18  /Type /Page
19  /Parent 2 0 R
20  /Resources <<
21    /Font <</F1 15 0 R>>
22  >>
23  /Contents [21 0 R]
24  /MediaBox [0 0 612 792]
25>>
26% OpenAction action
27{{object 10 0}} <<
28  /Type /Action
29  /S /JavaScript
30  /JS 11 0 R
31>>
32endobj
33% JS program to exexute
34{{object 11 0}} <<
35>>
36stream
37function TestOneFormat(fmt, src) {
38  var title = "('" + fmt + "', '" + src + "')";
39  try {
40    app.alert(title +  " => '" + util.printx(fmt, src) + "'");
41  }
42  catch (e) {
43    app.alert(title + ": Caught error: " + e);
44  }
45}
46TestOneFormat("", "");
47TestOneFormat("", "123");
48TestOneFormat("??", "");
49TestOneFormat("??", "f2");
50TestOneFormat("??", "f27");
51TestOneFormat("XXX", "");
52TestOneFormat("XXX", "1afp3.");
53TestOneFormat("XXX", "-1Afp3.d33F$");
54TestOneFormat("AAA", "");
55TestOneFormat("AAA", "-1Afp3.");
56TestOneFormat("AAA", "-1Afp3.d33F$");
57TestOneFormat("999", "");
58TestOneFormat("999", "-1Afp3.");
59TestOneFormat("999", "-1Afp3.d33F$");
60TestOneFormat("9*9", "");
61TestOneFormat("9*9", "-1Afp3.");
62TestOneFormat("[*]X", "-1Afp3.");
63TestOneFormat("<*", "-1Afp3.d33F$");
64TestOneFormat(">*", "-1Afp3.d33F$");
65TestOneFormat("<[AAAAAAAAAAA]", "-1Afp3.d33F$");
66TestOneFormat(">[AAAAAAAAAAA]", "-1Afp3.d33F$");
67TestOneFormat("<[XXXXXXXXXXX]", "-1Afp3.d33F$");
68TestOneFormat(">[XXXXXXXXXXX]", "-1Afp3.d33F$");
69TestOneFormat("<[XXXXXXXXXXX]", "-1Afp3.d33F$");
70TestOneFormat(">[???????????]", "-1Afp3.d33F$");
71TestOneFormat("<[???????????]", "-1Afp3.d33F$");
72TestOneFormat("\\>[\\**]", "-1Afp3.d33F$");
73TestOneFormat("\\>[\\\\**]", "-1Afp3.d33F$");
74TestOneFormat("=*", "-1Afp3.d33F$");
75TestOneFormat("<??????=*", "-1Afp3.d33F$");
76TestOneFormat(">??????=*", "-1Afp3.d33F$");
77TestOneFormat(">??????<*", "-1Afp3.d33F$");
78TestOneFormat("clams", "-1Afp3.d33F$");
79TestOneFormat("cl9ms", "-1Afp3.d33F$");
80TestOneFormat("cl\\9ms", "-1Afp3.d33F$");
81endstream
82endobj
83{{xref}}
84trailer <<
85  /Root 1 0 R
86>>
87{{startxref}}
88%%EOF
89