1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 // MARKER(update_precomp.py): autogen include statement, do not remove
29 #include "precompiled_sc.hxx"
34 #include "xcl97dum.hxx"
37 // --- ExcDummy8_xx Data ---------------------------------------------
39 // ... (8+) := neu in Biff8, ... (8*) := anders in Biff8
41 const BYTE
ExcDummy8_00a::pMyData
[] = {
42 0xe1, 0x00, 0x02, 0x00, 0xb0, 0x04, // INTERFACEHDR
43 0xc1, 0x00, 0x02, 0x00, 0x00, 0x00, // MMS
44 0xe2, 0x00, 0x00, 0x00, // INTERFACEEND
45 0x5c, 0x00, 0x70, 0x00, // WRITEACCESS (8*)
46 0x04, 0x00, 0x00, 'C', 'a', 'l', 'c', 0x20, // "Calc"
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 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
57 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
58 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
59 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
60 0x42, 0x00, 0x02, 0x00, 0xb0, 0x04, // CODEPAGE
61 0x61, 0x01, 0x02, 0x00, 0x00, 0x00 // DSF (8+)
63 const sal_Size
ExcDummy8_00a::nMyLen
= sizeof(ExcDummy8_00a::pMyData
);
65 // TABID (8+): ExcTabid
67 const BYTE
ExcDummy8_00b::pMyData
[] = {
68 0x9c, 0x00, 0x02, 0x00, 0x0e, 0x00 // FNGROUPCOUNT
70 const sal_Size
ExcDummy8_00b::nMyLen
= sizeof(ExcDummy8_00b::pMyData
);
73 const BYTE
ExcDummy8_040::pMyData
[] = {
74 0xaf, 0x01, 0x02, 0x00, 0x00, 0x00, // PROT4REV (8+)
75 0xbc, 0x01, 0x02, 0x00, 0x00, 0x00, // PROT4REVPASS (8+)
76 // 0x3d, 0x00, 0x12, 0x00, 0xe0, 0x01, 0x5a, 0x00, 0xcf, // WINDOW1
77 // 0x3f, 0x4e, 0x2a, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00,
78 // 0x01, 0x00, 0x58, 0x02,
79 0x40, 0x00, 0x02, 0x00, 0x00, 0x00, // BACKUP
80 0x8d, 0x00, 0x02, 0x00, 0x00, 0x00 // HIDEOBJ
82 const sal_Size
ExcDummy8_040::nMyLen
= sizeof(ExcDummy8_040::pMyData
);
85 const BYTE
ExcDummy8_041::pMyData
[] = {
86 0xb7, 0x01, 0x02, 0x00, 0x00, 0x00, // REFRESHALL (8+)
87 0xda, 0x00, 0x02, 0x00, 0x00, 0x00 // BOOKBOOL
89 const sal_Size
ExcDummy8_041::nMyLen
= sizeof(ExcDummy8_041::pMyData
);
93 const BYTE
ExcDummy8_02::pMyData
[] = {
94 0x5f, 0x00, 0x02, 0x00, 0x01, 0x00 // SAVERECALC
96 const sal_Size
ExcDummy8_02::nMyLen
= sizeof(ExcDummy8_02::pMyData
);
99 // --- class ExcDummy8_xx --------------------------------------------
101 sal_Size
ExcDummy8_00a::GetLen() const
107 const BYTE
* ExcDummy8_00a::GetData() const
114 sal_Size
ExcDummy8_00b::GetLen() const
120 const BYTE
* ExcDummy8_00b::GetData() const
127 sal_Size
ExcDummy8_040::GetLen() const
133 const BYTE
* ExcDummy8_040::GetData() const
140 sal_Size
ExcDummy8_041::GetLen() const
146 const BYTE
* ExcDummy8_041::GetData() const
153 sal_Size
ExcDummy8_02::GetLen() const
159 const BYTE
* ExcDummy8_02::GetData() const