xref: /aoo42x/main/sc/source/filter/xcl97/xcl97dum.cxx (revision b3f79822)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_sc.hxx"
26 
27 
28 
29 
30 #include "xcl97dum.hxx"
31 
32 
33 // --- ExcDummy8_xx Data ---------------------------------------------
34 
35 // ... (8+) := neu in Biff8, ... (8*) := anders in Biff8
36 
37 const sal_uInt8 ExcDummy8_00a::pMyData[] = {
38 	0xe1, 0x00, 0x02, 0x00,	0xb0, 0x04,						// INTERFACEHDR
39 	0xc1, 0x00, 0x02, 0x00, 0x00, 0x00,						// MMS
40 	0xe2, 0x00, 0x00, 0x00,									// INTERFACEEND
41 	0x5c, 0x00, 0x70, 0x00, 								// WRITEACCESS (8*)
42     0x04, 0x00, 0x00,  'C',  'a',  'l',  'c', 0x20,         // "Calc"
43     0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
44 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
45 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
46 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
47 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
48 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
49 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
50 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
51 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
52 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
53 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
54 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
55 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
56 	0x42, 0x00, 0x02, 0x00, 0xb0, 0x04,						// CODEPAGE
57 	0x61, 0x01, 0x02, 0x00, 0x00, 0x00						// DSF (8+)
58 };
59 const sal_Size ExcDummy8_00a::nMyLen = sizeof(ExcDummy8_00a::pMyData);
60 
61 															// TABID (8+): ExcTabid
62 
63 const sal_uInt8 ExcDummy8_00b::pMyData[] = {
64 	0x9c, 0x00, 0x02, 0x00, 0x0e, 0x00						// FNGROUPCOUNT
65 };
66 const sal_Size ExcDummy8_00b::nMyLen = sizeof(ExcDummy8_00b::pMyData);
67 
68 
69 const sal_uInt8 ExcDummy8_040::pMyData[] = {
70 	0xaf, 0x01, 0x02, 0x00, 0x00, 0x00,						// PROT4REV (8+)
71 	0xbc, 0x01, 0x02, 0x00, 0x00, 0x00,						// PROT4REVPASS (8+)
72 //	0x3d, 0x00, 0x12, 0x00, 0xe0, 0x01, 0x5a, 0x00, 0xcf,	// WINDOW1
73 //	0x3f, 0x4e, 0x2a, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00,
74 //	0x01, 0x00, 0x58, 0x02,
75 	0x40, 0x00, 0x02, 0x00, 0x00, 0x00,						// BACKUP
76 	0x8d, 0x00, 0x02, 0x00, 0x00, 0x00						// HIDEOBJ
77 };
78 const sal_Size ExcDummy8_040::nMyLen = sizeof(ExcDummy8_040::pMyData);
79 
80 
81 const sal_uInt8 ExcDummy8_041::pMyData[] = {
82 	0xb7, 0x01, 0x02, 0x00, 0x00, 0x00,						// REFRESHALL (8+)
83 	0xda, 0x00, 0x02, 0x00, 0x00, 0x00						// BOOKBOOL
84 };
85 const sal_Size ExcDummy8_041::nMyLen = sizeof(ExcDummy8_041::pMyData);
86 
87 
88 
89 const sal_uInt8 ExcDummy8_02::pMyData[] = {
90     0x5f, 0x00, 0x02, 0x00, 0x01, 0x00                      // SAVERECALC
91 	};
92 const sal_Size ExcDummy8_02::nMyLen = sizeof(ExcDummy8_02::pMyData);
93 
94 
95 // --- class ExcDummy8_xx --------------------------------------------
96 
GetLen() const97 sal_Size ExcDummy8_00a::GetLen() const
98 {
99 	return nMyLen;
100 }
101 
102 
GetData() const103 const sal_uInt8* ExcDummy8_00a::GetData() const
104 {
105 	return pMyData;
106 }
107 
108 
109 
GetLen() const110 sal_Size ExcDummy8_00b::GetLen() const
111 {
112 	return nMyLen;
113 }
114 
115 
GetData() const116 const sal_uInt8* ExcDummy8_00b::GetData() const
117 {
118 	return pMyData;
119 }
120 
121 
122 
GetLen() const123 sal_Size ExcDummy8_040::GetLen() const
124 {
125 	return nMyLen;
126 }
127 
128 
GetData() const129 const sal_uInt8* ExcDummy8_040::GetData() const
130 {
131 	return pMyData;
132 }
133 
134 
135 
GetLen() const136 sal_Size ExcDummy8_041::GetLen() const
137 {
138 	return nMyLen;
139 }
140 
141 
GetData() const142 const sal_uInt8* ExcDummy8_041::GetData() const
143 {
144 	return pMyData;
145 }
146 
147 
148 
GetLen() const149 sal_Size ExcDummy8_02::GetLen() const
150 {
151 	return nMyLen;
152 }
153 
154 
GetData() const155 const sal_uInt8* ExcDummy8_02::GetData() const
156 {
157 	return pMyData;
158 }
159 
160