Update ooo320-m1
[ooovba.git] / sc / source / filter / inc / xllink.hxx
blobf12e84f5448937d313971cea1f522559a323e874
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xllink.hxx,v $
10 * $Revision: 1.8 $
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 #ifndef SC_XLLINK_HXX
32 #define SC_XLLINK_HXX
34 #include <sal/types.h>
36 // Constants and Enumerations =================================================
38 const sal_uInt16 EXC_TAB_EXTERNAL = 0xFFFE; /// Special sheet index for external links.
39 const sal_uInt16 EXC_TAB_DELETED = 0xFFFF; /// Deleted sheet in a 3D reference.
41 // (0x0016) EXTERNCOUNT -------------------------------------------------------
43 const sal_uInt16 EXC_ID_EXTERNCOUNT = 0x0016;
45 // (0x0017) EXTERNSHEET -------------------------------------------------------
47 const sal_uInt16 EXC_ID_EXTERNSHEET = 0x0017;
49 const sal_Unicode EXC_EXTSH_URL = '\x01';
50 const sal_Unicode EXC_EXTSH_OWNTAB = '\x02';
51 const sal_Unicode EXC_EXTSH_TABNAME = '\x03';
52 const sal_Unicode EXC_EXTSH_OWNDOC = '\x04';
53 const sal_Unicode EXC_EXTSH_ADDIN = '\x3A';
55 // (0x0023) EXTERNNAME --------------------------------------------------------
57 const sal_uInt16 EXC_ID_EXTERNNAME = 0x0023;
59 const sal_uInt16 EXC_EXTN_BUILTIN = 0x0001;
60 const sal_uInt16 EXC_EXTN_OLE = 0x0010;
61 const sal_uInt16 EXC_EXTN_OLE_OR_DDE = 0xFFFE;
63 const sal_uInt16 EXC_EXTN_EXPDDE_STDDOC = 0x7FEA; /// for export
64 const sal_uInt16 EXC_EXTN_EXPDDE = 0x7FE2; /// for export
66 // (0x0059, 0x005A) XCT, CRN --------------------------------------------------
68 const sal_uInt16 EXC_ID_XCT = 0x0059;
69 const sal_uInt16 EXC_ID_CRN = 0x005A;
71 // (0x013D) TABID -------------------------------------------------------------
73 const sal_uInt16 EXC_ID_TABID = 0x013D;
75 // (0x01AE) SUPBOOK -----------------------------------------------------------
77 const sal_uInt16 EXC_ID_SUPBOOK = 0x01AE;
79 const sal_uInt16 EXC_SUPB_SELF = 0x0401;
80 const sal_uInt16 EXC_SUPB_ADDIN = 0x3A01;
82 /** This enumeration specifies the type of a SUPBOOK record. */
83 enum XclSupbookType
85 EXC_SBTYPE_UNKNOWN, /// unknown SUPBOOK record type.
86 EXC_SBTYPE_SELF, /// SUPBOOK is used for internal references.
87 EXC_SBTYPE_EXTERN, /// SUPBOOK is used for external references.
88 EXC_SBTYPE_ADDIN, /// SUPBOOK contains add-in functions.
89 EXC_SBTYPE_SPECIAL, /// SUPBOOK is used for DDE or OLE links.
90 EXC_SBTYPE_EUROTOOL /// SUPBOOK is uesd for EUROCONVERT.
93 // ============================================================================
95 #endif