b8099132f93d82235f1335a79a0a921974691310
[pspp] / spo-notes
1 Exactly one NavRoot is always present
2
3 Exactly one NavHead is present except for .spo files that are (mostly)
4 empty, which have none
5
6 The Nav* strings only appear once per file, as:
7 ffff 0000 xxyy string
8 Sometimes there is zero spacing between these.
9
10 File begins with:
11         (00 | 0[1234] i0)
12         "SPSS Output Document"
13         (i0? | i1 63) ffff 0000
14         "NavHead"     # or any other "Nav*"
15         02 int32[x] int32[y] i24 int32[z] int32[w] int32[v]
16         (i0 | i1 | i2 | i3 | i4)
17         (i0| i1 | i2 | i3)
18         ffff 0000
19         "DspSimpleText"
20         00 (i0 (i0 | i1) 00)? ffff 0000
21         ("IndexedCollection" | "DspString")
22 and then with the IndexedCollection case:
23         00*14 ffff 0000
24 and the DspString case:
25         01 02 28 (00|05) 00 (00|01)
26         often followed by a string
27
28 The start of the file might be a version number
29
30 x and y are either 0 or 2-3 byte values, e.g. 0x670b or 0x3b989.
31 z is a 2-3 byte negative value, e.g. 0xffff8997
32 w is a 2-byte value or 0
33 v is a 2-byte negative value or 0
34
35
36
37 rtf:
38
39         "Factor Analysis"
40         01 01
41         table 1
42         00 00 00 f9 00 00 00
43         "\rtf..."
44         00 18 00 00 00 00 00 00 00 de ff ff ff 18 00 00 00 00 00 00 00 28 00 00 00 28 00 00 00 18 04 00 00 ae 73 01 00 00 00 00 00 00 34 21 00 00 f8 2a 00 00 01 00 07 00 01 00 f6 04 00 00 f6 04 00 00 f6 04 00 00 f6 04 00 00 00 00 f0 00 00 00 00 00 01 00
45         "(Continued)"
46
47
48 rtf2:
49
50         "Factor Analysis"
51         01 01
52         table 1
53         00 00 00 da 00 00 00
54         "\rtf..."
55         00 ffff 0000
56
57 rtf3:
58
59         ...
60         00 1f 80 02 00 00 00 00 00 00 00 00 18 00 00 00 00 00 00 00 06 02 00 00 28 fd ff ff 02 00 00 00 01 00 00
61
62    1456  01 00 00 00 00 00 00 00 03 80 00 00 00 00 00 00-00 00 00 00 05 80 01 02 28 05 00 01    03 4c 6f 67-               07 80 00 02 00 00........................(....Log......
63       3  01 00 00 00 01 00 00 00 03 80 00 00 00 00 00 00-00 00 00 00 05 80 01 02 28 05 00 01    03 4c 6f 67-               07 80 00 02 00 00........................(....Log......
64      13     00 00 00 00 00 00 00 03 80 00 00 00 00 00 00 00-00 00 00 05 80 01 02 28 05 00 00 00 08 53 50 53-53 20 4c 6f 67 07.......................(.....SPSS Log.
65      13     00 00 00 00 00 00 00 03 80 00 00 00 00 00 00 00-00 00 00 07 80 01 02 28 05 00 00 00 08 53 50 53-53 20 4c 6f 67 09.......................(.....SPSS Log.
66      13  01 00 00 00 00 00 00 00 03 80 00 00 00 00 00 00-00 00 00 00 05 80 01 02 28 05 00 01    08 53 50 53-53 20 4c 6f 67 07........................(....SPSS Log.
67 notea.spo/Contents
68
69
70
71 PVPrintManager:
72
73         "PVPrintManager"
74         02 byte[x] 00 i2 (i0|i3) i1 00*7
75         sometimes 0000 ffff
76 where x is between 0a and 2e
77
78
79
80 regress, notea
81 --------------
82
83 ffff 0000 "NavPivot"
84         02 fa 3c 00 00 3b 5a 01 00
85         18 00 00 00 b4 35 ff ff 7f
86         02 00 00 13 28 ff ff
87         02 00 00 00
88         01 00 00 00
89
90         notea:
91         02 00 00 00 00 00 00 00 00
92         18 00 00 00 93 f0 ff ff dc
93         03 00 00 cd ef ff ff
94         02 00 00 00
95         01 00 00
96         missing terminator!
97
98 ffff 0000 "DspSimpleText"
99         00*10
100
101 ffff 0000 "DspString"
102         01 02 28 05 00 01 "Text Output"
103
104 ffff 0000 "NavOleItem"
105         00 01 00 00
106         07 00 00 00
107         01 00 00 00 00 00
108         01 00 00 00 00 00 00 00 00 00 00
109         01 00 00 00 00 00
110         "Regression"
111         01
112
113         notea:
114         00 01 00 00
115         01 00 00 00
116         01 00 00 00 00 00
117         01 00 00 00 00 00 00 00 00 00 00
118         01 00 00 00 00 00
119         00 01 01 f3 ff
120
121 ffff 0000 "PTPivotController"
122         02 67 02 00 00 a1 0d 00 00
123         64 00 00 00
124         64 00 00 00
125         64 00 00 00
126         64 00 00 00
127
128         notea:
129         02 29 20 69 31 38 28 66 38
130         64 00 00 00
131         64 00 00 00
132         64 00 00 00
133         64 00 00 00
134
135 ffff 0000 "PVPivotView"
136         04 00 00 00 00
137
138 ffff 0000 "PMPivotModel"
139         03
140
141 ffff 0000 "NDimensional__DspCell"
142         00 03 00 00 00
143
144 ffff 0000 "IndexedCollection"
145         00
146         05 00 00 00
147         01 00 13 80
148         00
149         0b 00 00 00
150         01 00 13 80
151         00
152         02 00 00 00
153         01 00
154
155 ffff 0000 "DspCell"
156         00 03 80 00 00 00 00 00 00 00 00 00 00
157
158 ffff 0000 "DspNumber"
159
160 NavTitle  02 00 00 00 00 00 00 00 00 18 00 00 00 03 .. .. .. 00 04 00 00 .. .. ff ff 02 00 00 00 01 00 00
161
162 80 01 02 28 05 00 01 ff
163 80 01 02 28 05 00 01