xref: /aoo41x/main/sc/source/filter/inc/xllink.hxx (revision 38d50f7b)
1*38d50f7bSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*38d50f7bSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*38d50f7bSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*38d50f7bSAndrew Rist  * distributed with this work for additional information
6*38d50f7bSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*38d50f7bSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*38d50f7bSAndrew Rist  * "License"); you may not use this file except in compliance
9*38d50f7bSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*38d50f7bSAndrew Rist  *
11*38d50f7bSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*38d50f7bSAndrew Rist  *
13*38d50f7bSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*38d50f7bSAndrew Rist  * software distributed under the License is distributed on an
15*38d50f7bSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*38d50f7bSAndrew Rist  * KIND, either express or implied.  See the License for the
17*38d50f7bSAndrew Rist  * specific language governing permissions and limitations
18*38d50f7bSAndrew Rist  * under the License.
19*38d50f7bSAndrew Rist  *
20*38d50f7bSAndrew Rist  *************************************************************/
21*38d50f7bSAndrew Rist 
22*38d50f7bSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef SC_XLLINK_HXX
25cdf0e10cSrcweir #define SC_XLLINK_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <sal/types.h>
28cdf0e10cSrcweir 
29cdf0e10cSrcweir // Constants and Enumerations =================================================
30cdf0e10cSrcweir 
31cdf0e10cSrcweir const sal_uInt16 EXC_TAB_EXTERNAL           = 0xFFFE;     /// Special sheet index for external links.
32cdf0e10cSrcweir const sal_uInt16 EXC_TAB_DELETED            = 0xFFFF;     /// Deleted sheet in a 3D reference.
33cdf0e10cSrcweir 
34cdf0e10cSrcweir // (0x0016) EXTERNCOUNT -------------------------------------------------------
35cdf0e10cSrcweir 
36cdf0e10cSrcweir const sal_uInt16 EXC_ID_EXTERNCOUNT         = 0x0016;
37cdf0e10cSrcweir 
38cdf0e10cSrcweir // (0x0017) EXTERNSHEET -------------------------------------------------------
39cdf0e10cSrcweir 
40cdf0e10cSrcweir const sal_uInt16 EXC_ID_EXTERNSHEET         = 0x0017;
41cdf0e10cSrcweir 
42cdf0e10cSrcweir const sal_Unicode EXC_EXTSH_URL             = '\x01';
43cdf0e10cSrcweir const sal_Unicode EXC_EXTSH_OWNTAB          = '\x02';
44cdf0e10cSrcweir const sal_Unicode EXC_EXTSH_TABNAME         = '\x03';
45cdf0e10cSrcweir const sal_Unicode EXC_EXTSH_OWNDOC          = '\x04';
46cdf0e10cSrcweir const sal_Unicode EXC_EXTSH_ADDIN           = '\x3A';
47cdf0e10cSrcweir 
48cdf0e10cSrcweir // (0x0023) EXTERNNAME --------------------------------------------------------
49cdf0e10cSrcweir 
50cdf0e10cSrcweir const sal_uInt16 EXC_ID_EXTERNNAME          = 0x0023;
51cdf0e10cSrcweir 
52cdf0e10cSrcweir const sal_uInt16 EXC_EXTN_BUILTIN           = 0x0001;
53cdf0e10cSrcweir const sal_uInt16 EXC_EXTN_OLE               = 0x0010;
54cdf0e10cSrcweir const sal_uInt16 EXC_EXTN_OLE_OR_DDE        = 0xFFFE;
55cdf0e10cSrcweir 
56cdf0e10cSrcweir const sal_uInt16 EXC_EXTN_EXPDDE_STDDOC     = 0x7FEA;  /// for export
57cdf0e10cSrcweir const sal_uInt16 EXC_EXTN_EXPDDE            = 0x7FE2;  /// for export
58cdf0e10cSrcweir 
59cdf0e10cSrcweir // (0x0059, 0x005A) XCT, CRN --------------------------------------------------
60cdf0e10cSrcweir 
61cdf0e10cSrcweir const sal_uInt16 EXC_ID_XCT                 = 0x0059;
62cdf0e10cSrcweir const sal_uInt16 EXC_ID_CRN                 = 0x005A;
63cdf0e10cSrcweir 
64cdf0e10cSrcweir // (0x013D) TABID -------------------------------------------------------------
65cdf0e10cSrcweir 
66cdf0e10cSrcweir const sal_uInt16 EXC_ID_TABID               = 0x013D;
67cdf0e10cSrcweir 
68cdf0e10cSrcweir // (0x01AE) SUPBOOK -----------------------------------------------------------
69cdf0e10cSrcweir 
70cdf0e10cSrcweir const sal_uInt16 EXC_ID_SUPBOOK             = 0x01AE;
71cdf0e10cSrcweir 
72cdf0e10cSrcweir const sal_uInt16 EXC_SUPB_SELF              = 0x0401;
73cdf0e10cSrcweir const sal_uInt16 EXC_SUPB_ADDIN             = 0x3A01;
74cdf0e10cSrcweir 
75cdf0e10cSrcweir /** This enumeration specifies the type of a SUPBOOK record. */
76cdf0e10cSrcweir enum XclSupbookType
77cdf0e10cSrcweir {
78cdf0e10cSrcweir     EXC_SBTYPE_UNKNOWN,     /// unknown SUPBOOK record type.
79cdf0e10cSrcweir     EXC_SBTYPE_SELF,        /// SUPBOOK is used for internal references.
80cdf0e10cSrcweir     EXC_SBTYPE_EXTERN,      /// SUPBOOK is used for external references.
81cdf0e10cSrcweir     EXC_SBTYPE_ADDIN,       /// SUPBOOK contains add-in functions.
82cdf0e10cSrcweir     EXC_SBTYPE_SPECIAL,     /// SUPBOOK is used for DDE or OLE links.
83cdf0e10cSrcweir     EXC_SBTYPE_EUROTOOL     /// SUPBOOK is uesd for EUROCONVERT.
84cdf0e10cSrcweir };
85cdf0e10cSrcweir 
86cdf0e10cSrcweir // ============================================================================
87cdf0e10cSrcweir 
88cdf0e10cSrcweir #endif
89cdf0e10cSrcweir 
90