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 ************************************************************************/
31 #include <sal/types.h>
33 // Constants and Enumerations =================================================
35 const sal_uInt16 EXC_TAB_EXTERNAL
= 0xFFFE; /// Special sheet index for external links.
36 const sal_uInt16 EXC_TAB_DELETED
= 0xFFFF; /// Deleted sheet in a 3D reference.
38 // (0x0016) EXTERNCOUNT -------------------------------------------------------
40 const sal_uInt16 EXC_ID_EXTERNCOUNT
= 0x0016;
42 // (0x0017) EXTERNSHEET -------------------------------------------------------
44 const sal_uInt16 EXC_ID_EXTERNSHEET
= 0x0017;
46 const sal_Unicode EXC_EXTSH_URL
= '\x01';
47 const sal_Unicode EXC_EXTSH_OWNTAB
= '\x02';
48 const sal_Unicode EXC_EXTSH_TABNAME
= '\x03';
49 const sal_Unicode EXC_EXTSH_OWNDOC
= '\x04';
50 const sal_Unicode EXC_EXTSH_ADDIN
= '\x3A';
52 // (0x0023) EXTERNNAME --------------------------------------------------------
54 const sal_uInt16 EXC_ID_EXTERNNAME
= 0x0023;
56 const sal_uInt16 EXC_EXTN_BUILTIN
= 0x0001;
57 const sal_uInt16 EXC_EXTN_OLE
= 0x0010;
58 const sal_uInt16 EXC_EXTN_OLE_OR_DDE
= 0xFFFE;
60 const sal_uInt16 EXC_EXTN_EXPDDE_STDDOC
= 0x7FEA; /// for export
61 const sal_uInt16 EXC_EXTN_EXPDDE
= 0x7FE2; /// for export
63 // (0x0059, 0x005A) XCT, CRN --------------------------------------------------
65 const sal_uInt16 EXC_ID_XCT
= 0x0059;
66 const sal_uInt16 EXC_ID_CRN
= 0x005A;
68 // (0x013D) TABID -------------------------------------------------------------
70 const sal_uInt16 EXC_ID_TABID
= 0x013D;
72 // (0x01AE) SUPBOOK -----------------------------------------------------------
74 const sal_uInt16 EXC_ID_SUPBOOK
= 0x01AE;
76 const sal_uInt16 EXC_SUPB_SELF
= 0x0401;
77 const sal_uInt16 EXC_SUPB_ADDIN
= 0x3A01;
79 /** This enumeration specifies the type of a SUPBOOK record. */
82 EXC_SBTYPE_UNKNOWN
, /// unknown SUPBOOK record type.
83 EXC_SBTYPE_SELF
, /// SUPBOOK is used for internal references.
84 EXC_SBTYPE_EXTERN
, /// SUPBOOK is used for external references.
85 EXC_SBTYPE_ADDIN
, /// SUPBOOK contains add-in functions.
86 EXC_SBTYPE_SPECIAL
, /// SUPBOOK is used for DDE or OLE links.
87 EXC_SBTYPE_EUROTOOL
/// SUPBOOK is uesd for EUROCONVERT.
90 // ============================================================================