1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xcl97dum.cxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_sc.hxx"
37 #include "xcl97dum.hxx"
40 // --- ExcDummy8_xx Data ---------------------------------------------
42 // ... (8+) := neu in Biff8, ... (8*) := anders in Biff8
44 const BYTE
ExcDummy8_00a::pMyData
[] = {
45 0xe1, 0x00, 0x02, 0x00, 0xb0, 0x04, // INTERFACEHDR
46 0xc1, 0x00, 0x02, 0x00, 0x00, 0x00, // MMS
47 0xe2, 0x00, 0x00, 0x00, // INTERFACEEND
48 0x5c, 0x00, 0x70, 0x00, // WRITEACCESS (8*)
49 0x04, 0x00, 0x00, 'C', 'a', 'l', 'c', 0x20, // "Calc"
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 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
61 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
62 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
63 0x42, 0x00, 0x02, 0x00, 0xb0, 0x04, // CODEPAGE
64 0x61, 0x01, 0x02, 0x00, 0x00, 0x00 // DSF (8+)
66 const sal_Size
ExcDummy8_00a::nMyLen
= sizeof(ExcDummy8_00a::pMyData
);
68 // TABID (8+): ExcTabid
70 const BYTE
ExcDummy8_00b::pMyData
[] = {
71 0x9c, 0x00, 0x02, 0x00, 0x0e, 0x00 // FNGROUPCOUNT
73 const sal_Size
ExcDummy8_00b::nMyLen
= sizeof(ExcDummy8_00b::pMyData
);
76 const BYTE
ExcDummy8_040::pMyData
[] = {
77 0xaf, 0x01, 0x02, 0x00, 0x00, 0x00, // PROT4REV (8+)
78 0xbc, 0x01, 0x02, 0x00, 0x00, 0x00, // PROT4REVPASS (8+)
79 // 0x3d, 0x00, 0x12, 0x00, 0xe0, 0x01, 0x5a, 0x00, 0xcf, // WINDOW1
80 // 0x3f, 0x4e, 0x2a, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00,
81 // 0x01, 0x00, 0x58, 0x02,
82 0x40, 0x00, 0x02, 0x00, 0x00, 0x00, // BACKUP
83 0x8d, 0x00, 0x02, 0x00, 0x00, 0x00 // HIDEOBJ
85 const sal_Size
ExcDummy8_040::nMyLen
= sizeof(ExcDummy8_040::pMyData
);
88 const BYTE
ExcDummy8_041::pMyData
[] = {
89 0xb7, 0x01, 0x02, 0x00, 0x00, 0x00, // REFRESHALL (8+)
90 0xda, 0x00, 0x02, 0x00, 0x00, 0x00 // BOOKBOOL
92 const sal_Size
ExcDummy8_041::nMyLen
= sizeof(ExcDummy8_041::pMyData
);
96 const BYTE
ExcDummy8_02::pMyData
[] = {
97 0x5f, 0x00, 0x02, 0x00, 0x01, 0x00 // SAVERECALC
99 const sal_Size
ExcDummy8_02::nMyLen
= sizeof(ExcDummy8_02::pMyData
);
102 // --- class ExcDummy8_xx --------------------------------------------
104 sal_Size
ExcDummy8_00a::GetLen() const
110 const BYTE
* ExcDummy8_00a::GetData() const
117 sal_Size
ExcDummy8_00b::GetLen() const
123 const BYTE
* ExcDummy8_00b::GetData() const
130 sal_Size
ExcDummy8_040::GetLen() const
136 const BYTE
* ExcDummy8_040::GetData() const
143 sal_Size
ExcDummy8_041::GetLen() const
149 const BYTE
* ExcDummy8_041::GetData() const
156 sal_Size
ExcDummy8_02::GetLen() const
162 const BYTE
* ExcDummy8_02::GetData() const