LibreOffice Module sc (master)  1
xltable.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLTABLE_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_INC_XLTABLE_HXX
22 
23 #include <sal/types.h>
24 
25 // Constants and Enumerations =================================================
26 
27 // Specials for outlines ------------------------------------------------------
28 
31 
32 // (0x0000, 0x0200) DIMENSIONS ------------------------------------------------
33 const sal_uInt16 EXC_ID2_DIMENSIONS = 0x0000;
34 const sal_uInt16 EXC_ID3_DIMENSIONS = 0x0200;
35 
36 // (0x0001, 0x0201) BLANK -----------------------------------------------------
37 const sal_uInt16 EXC_ID2_BLANK = 0x0001;
38 const sal_uInt16 EXC_ID3_BLANK = 0x0201;
39 
40 // (0x0002) INTEGER -----------------------------------------------------------
41 const sal_uInt16 EXC_ID2_INTEGER = 0x0002;
42 
43 // (0x0003, 0x0203) NUMBER ----------------------------------------------------
44 const sal_uInt16 EXC_ID2_NUMBER = 0x0003;
45 const sal_uInt16 EXC_ID3_NUMBER = 0x0203;
46 
47 // (0x0004, 0x0204) LABEL -----------------------------------------------------
48 const sal_uInt16 EXC_ID2_LABEL = 0x0004;
49 const sal_uInt16 EXC_ID3_LABEL = 0x0204;
50 
52 
53 // (0x0005, 0x0205) BOOLERR ---------------------------------------------------
54 const sal_uInt16 EXC_ID2_BOOLERR = 0x0005;
55 const sal_uInt16 EXC_ID3_BOOLERR = 0x0205;
56 
59 
60 // (0x0006, 0x0206, 0x0406) FORMULA -------------------------------------------
61 const sal_uInt16 EXC_ID2_FORMULA = 0x0006;
62 const sal_uInt16 EXC_ID3_FORMULA = 0x0206;
63 const sal_uInt16 EXC_ID4_FORMULA = 0x0406;
64 
65 const sal_uInt16 EXC_FORMULA_RECALC_ALWAYS = 0x0001;
66 const sal_uInt16 EXC_FORMULA_RECALC_ONLOAD = 0x0002;
67 const sal_uInt16 EXC_FORMULA_SHARED = 0x0008;
68 const sal_uInt16 EXC_FORMULA_DEFAULTFLAGS = 0x0000;
69 
74 
75 // (0x0007, 0x0207) STRING ----------------------------------------------------
76 const sal_uInt16 EXC_ID2_STRING = 0x0007;
77 const sal_uInt16 EXC_ID3_STRING = 0x0207;
78 
79 // (0x0008, 0x0208) ROW -------------------------------------------------------
80 const sal_uInt16 EXC_ID2_ROW = 0x0008;
81 const sal_uInt16 EXC_ID3_ROW = 0x0208;
82 
83 const sal_uInt16 EXC_ROW_COLLAPSED = 0x0010;
84 const sal_uInt16 EXC_ROW_HIDDEN = 0x0020;
85 const sal_uInt16 EXC_ROW_UNSYNCED = 0x0040;
86 const sal_uInt16 EXC_ROW_USEDEFXF = 0x0080;
87 const sal_uInt16 EXC_ROW_DEFAULTFLAGS = 0x0100;
88 
89 const sal_uInt16 EXC_ROW_XFMASK = 0x0FFF;
90 
91 const sal_uInt16 EXC_ROW_DEFAULTHEIGHT = 255;
92 const sal_uInt16 EXC_ROW_FLAGDEFHEIGHT = 0x8000;
93 const sal_uInt16 EXC_ROW_HEIGHTMASK = 0x7FFF;
94 
95 const sal_uInt16 EXC_ROW_ROWBLOCKSIZE = 32;
96 
97 // (0x0020) COLUMNDEFAULT -----------------------------------------------------
98 const sal_uInt16 EXC_ID_COLUMNDEFAULT = 0x0020;
99 
100 // (0x0021, 0x0221) ARRAY -----------------------------------------------------
101 const sal_uInt16 EXC_ID2_ARRAY = 0x0021;
102 const sal_uInt16 EXC_ID3_ARRAY = 0x0221;
103 
104 const sal_uInt16 EXC_ARRAY_RECALC_ALWAYS = 0x0001;
105 const sal_uInt16 EXC_ARRAY_RECALC_ONLOAD = 0x0002;
107 
108 // (0x0024) COLWIDTH ----------------------------------------------------------
109 const sal_uInt16 EXC_ID_COLWIDTH = 0x0024;
110 
111 // (0x0025, 0x0225) DEFAULTROWHEIGHT ------------------------------------------
112 const sal_uInt16 EXC_ID2_DEFROWHEIGHT = 0x0025;
113 const sal_uInt16 EXC_ID3_DEFROWHEIGHT = 0x0225;
114 
115 const sal_uInt16 EXC_DEFROW_UNSYNCED = 0x0001;
116 const sal_uInt16 EXC_DEFROW_HIDDEN = 0x0002;
117 const sal_uInt16 EXC_DEFROW_SPACEABOVE = 0x0004;
118 const sal_uInt16 EXC_DEFROW_SPACEBELOW = 0x0008;
119 const sal_uInt16 EXC_DEFROW_DEFAULTFLAGS = 0x0000;
120 
121 const sal_uInt16 EXC_DEFROW_DEFAULTHEIGHT = 255;
122 
123 // (0x0036, 0x0236) TABLEOP ---------------------------------------------------
124 const sal_uInt16 EXC_ID2_TABLEOP = 0x0036;
125 const sal_uInt16 EXC_ID3_TABLEOP = 0x0236;
126 
127 const sal_uInt16 EXC_TABLEOP_RECALC_ALWAYS = 0x0001;
128 const sal_uInt16 EXC_TABLEOP_RECALC_ONLOAD = 0x0002;
129 const sal_uInt16 EXC_TABLEOP_ROW = 0x0004;
130 const sal_uInt16 EXC_TABLEOP_BOTH = 0x0008;
132 
133 // (0x0037) TABLEOP2 ----------------------------------------------------------
134 const sal_uInt16 EXC_ID2_TABLEOP2 = 0x0037;
135 
136 // (0x0055) DEFCOLWIDTH -------------------------------------------------------
137 const sal_uInt16 EXC_ID_DEFCOLWIDTH = 0x0055;
138 const sal_uInt16 EXC_DEFCOLWIDTH_DEF = 10;
139 
140 // (0x007D) COLINFO -----------------------------------------------------------
141 const sal_uInt16 EXC_ID_COLINFO = 0x007D;
142 
143 const sal_uInt16 EXC_COLINFO_HIDDEN = 0x0001;
144 const sal_uInt16 EXC_COLINFO_CUSTOMWIDTH = 0x0002;
145 const sal_uInt16 EXC_COLINFO_COLLAPSED = 0x1000;
146 
147 // (0x0080) GUTS --------------------------------------------------------------
148 const sal_uInt16 EXC_ID_GUTS = 0x0080;
149 
150 // (0x00BD) MULRK -------------------------------------------------------------
151 const sal_uInt16 EXC_ID_MULRK = 0x00BD;
152 
153 // (0x00BE) MULBLANK ----------------------------------------------------------
154 const sal_uInt16 EXC_ID_MULBLANK = 0x00BE;
155 
156 // (0x00D6) RSTRING -----------------------------------------------------------
157 const sal_uInt16 EXC_ID_RSTRING = 0x00D6;
158 
159 // (0x00FD) LABELSST ----------------------------------------------------------
160 const sal_uInt16 EXC_ID_LABELSST = 0x00FD;
161 
162 // (0x027E) RK ----------------------------------------------------------------
163 const sal_uInt16 EXC_ID_RK = 0x027E;
164 
165 // (0x04BC) SHRFMLA -----------------------------------------------------------
166 const sal_uInt16 EXC_ID_SHRFMLA = 0x04BC;
167 
168 #endif
169 
170 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const sal_uInt8 EXC_BOOLERR_ERROR
Definition: xltable.hxx:58
const sal_uInt16 EXC_TABLEOP_BOTH
Definition: xltable.hxx:130
const sal_uInt16 EXC_ID3_FORMULA
Definition: xltable.hxx:62
const sal_uInt16 EXC_ID2_DIMENSIONS
Definition: xltable.hxx:33
const sal_uInt16 EXC_ID3_STRING
Definition: xltable.hxx:77
const sal_uInt16 EXC_ID2_LABEL
Definition: xltable.hxx:48
const sal_uInt16 EXC_FORMULA_SHARED
Definition: xltable.hxx:67
const sal_uInt16 EXC_ID2_TABLEOP
Definition: xltable.hxx:124
const sal_uInt16 EXC_ARRAY_RECALC_ONLOAD
Definition: xltable.hxx:105
const sal_uInt16 EXC_ID2_FORMULA
Definition: xltable.hxx:61
const sal_uInt16 EXC_ID_COLUMNDEFAULT
Number of rows in a row block.
Definition: xltable.hxx:98
const sal_uInt16 EXC_ROW_USEDEFXF
Definition: xltable.hxx:86
const sal_uInt16 EXC_ID2_ROW
Definition: xltable.hxx:80
const sal_uInt16 EXC_DEFROW_UNSYNCED
Definition: xltable.hxx:115
const sal_uInt8 EXC_FORMULA_RES_EMPTY
Result is error code.
Definition: xltable.hxx:73
const sal_uInt16 EXC_ID3_BOOLERR
Definition: xltable.hxx:55
const sal_uInt16 EXC_ID2_DEFROWHEIGHT
Definition: xltable.hxx:112
const sal_uInt16 EXC_ROW_FLAGDEFHEIGHT
Definition: xltable.hxx:92
const sal_uInt16 EXC_DEFROW_DEFAULTHEIGHT
Definition: xltable.hxx:121
const sal_uInt16 EXC_FORMULA_DEFAULTFLAGS
Definition: xltable.hxx:68
const sal_uInt16 EXC_ID2_INTEGER
Definition: xltable.hxx:41
const sal_uInt16 EXC_ID3_DIMENSIONS
Definition: xltable.hxx:34
const sal_uInt16 EXC_ROW_DEFAULTHEIGHT
Definition: xltable.hxx:91
const sal_uInt8 EXC_OUTLINE_MAX
Definition: xltable.hxx:29
const sal_uInt8 EXC_FORMULA_RES_STRING
Definition: xltable.hxx:70
const sal_uInt16 EXC_ROW_ROWBLOCKSIZE
Definition: xltable.hxx:95
const sal_uInt8 EXC_BOOLERR_BOOL
Definition: xltable.hxx:57
const sal_uInt16 EXC_ID3_DEFROWHEIGHT
Definition: xltable.hxx:113
const sal_uInt16 EXC_ID3_BLANK
Definition: xltable.hxx:38
const sal_uInt16 EXC_ID3_NUMBER
Definition: xltable.hxx:45
const sal_uInt16 EXC_ID_COLWIDTH
Definition: xltable.hxx:109
const sal_uInt16 EXC_DEFCOLWIDTH_DEF
Definition: xltable.hxx:138
const sal_uInt16 EXC_ID_LABELSST
Definition: xltable.hxx:160
const sal_uInt16 EXC_ROW_DEFAULTFLAGS
Definition: xltable.hxx:87
const sal_uInt16 EXC_ID_COLINFO
Definition: xltable.hxx:141
const sal_uInt16 EXC_ID_DEFCOLWIDTH
Definition: xltable.hxx:137
const sal_uInt16 EXC_ROW_HEIGHTMASK
Definition: xltable.hxx:93
const sal_uInt16 EXC_DEFROW_SPACEBELOW
Definition: xltable.hxx:118
const sal_uInt16 EXC_ARRAY_RECALC_ALWAYS
Definition: xltable.hxx:104
const sal_uInt16 EXC_ROW_COLLAPSED
Definition: xltable.hxx:83
const sal_uInt16 EXC_ID4_FORMULA
Definition: xltable.hxx:63
const sal_uInt16 EXC_ROW_HIDDEN
Definition: xltable.hxx:84
const sal_uInt16 EXC_DEFROW_HIDDEN
Definition: xltable.hxx:116
const sal_uInt16 EXC_ID_MULRK
Definition: xltable.hxx:151
const sal_uInt16 EXC_FORMULA_RECALC_ALWAYS
Definition: xltable.hxx:65
const sal_uInt16 EXC_DEFROW_SPACEABOVE
Definition: xltable.hxx:117
const sal_uInt16 EXC_TABLEOP_RECALC_ONLOAD
Definition: xltable.hxx:128
const sal_uInt16 EXC_ID_GUTS
Definition: xltable.hxx:148
const sal_uInt16 EXC_TABLEOP_RECALC_ALWAYS
Definition: xltable.hxx:127
const sal_uInt16 EXC_FORMULA_RECALC_ONLOAD
Definition: xltable.hxx:66
const sal_uInt16 EXC_TABLEOP_ROW
Definition: xltable.hxx:129
const sal_uInt16 EXC_ID2_BLANK
Definition: xltable.hxx:37
const sal_uInt16 EXC_ID_RSTRING
Definition: xltable.hxx:157
const sal_uInt8 EXC_FORMULA_RES_BOOL
Result is a string.
Definition: xltable.hxx:71
unsigned char sal_uInt8
const sal_uInt16 EXC_ID2_TABLEOP2
Definition: xltable.hxx:134
const sal_uInt16 EXC_ID2_BOOLERR
Definition: xltable.hxx:54
const sal_uInt16 EXC_ID_MULBLANK
Definition: xltable.hxx:154
const sal_uInt8 EXC_OUTLINE_COUNT
Definition: xltable.hxx:30
const sal_uInt16 EXC_ID_RK
Definition: xltable.hxx:163
const sal_uInt16 EXC_COLINFO_HIDDEN
Definition: xltable.hxx:143
const sal_uInt16 EXC_TABLEOP_DEFAULTFLAGS
Definition: xltable.hxx:131
const sal_uInt8 EXC_LABEL_MAXLEN
Definition: xltable.hxx:51
const sal_uInt16 EXC_ROW_XFMASK
Definition: xltable.hxx:89
const sal_uInt16 EXC_ID3_TABLEOP
Definition: xltable.hxx:125
const sal_uInt16 EXC_ID3_ARRAY
Definition: xltable.hxx:102
const sal_uInt8 EXC_FORMULA_RES_ERROR
Result is Boolean value.
Definition: xltable.hxx:72
const sal_uInt16 EXC_ID3_ROW
Definition: xltable.hxx:81
const sal_uInt16 EXC_ROW_UNSYNCED
Definition: xltable.hxx:85
const sal_uInt16 EXC_ID_SHRFMLA
Definition: xltable.hxx:166
const sal_uInt16 EXC_ARRAY_DEFAULTFLAGS
Definition: xltable.hxx:106
const sal_uInt16 EXC_COLINFO_COLLAPSED
Definition: xltable.hxx:145
const sal_uInt16 EXC_ID2_ARRAY
Definition: xltable.hxx:101
const sal_uInt16 EXC_ID2_STRING
Result is empty cell (BIFF8 only).
Definition: xltable.hxx:76
const sal_uInt16 EXC_COLINFO_CUSTOMWIDTH
Definition: xltable.hxx:144
const sal_uInt16 EXC_ID3_LABEL
Definition: xltable.hxx:49
const sal_uInt16 EXC_ID2_NUMBER
Definition: xltable.hxx:44
const sal_uInt16 EXC_DEFROW_DEFAULTFLAGS
Definition: xltable.hxx:119