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 #pragma once
21 
22 #include <sal/types.h>
23 
24 // Constants and Enumerations =================================================
25 
26 // Specials for outlines ------------------------------------------------------
27 
30 
31 // (0x0000, 0x0200) DIMENSIONS ------------------------------------------------
32 const sal_uInt16 EXC_ID2_DIMENSIONS = 0x0000;
33 const sal_uInt16 EXC_ID3_DIMENSIONS = 0x0200;
34 
35 // (0x0001, 0x0201) BLANK -----------------------------------------------------
36 const sal_uInt16 EXC_ID2_BLANK = 0x0001;
37 const sal_uInt16 EXC_ID3_BLANK = 0x0201;
38 
39 // (0x0002) INTEGER -----------------------------------------------------------
40 const sal_uInt16 EXC_ID2_INTEGER = 0x0002;
41 
42 // (0x0003, 0x0203) NUMBER ----------------------------------------------------
43 const sal_uInt16 EXC_ID2_NUMBER = 0x0003;
44 const sal_uInt16 EXC_ID3_NUMBER = 0x0203;
45 
46 // (0x0004, 0x0204) LABEL -----------------------------------------------------
47 const sal_uInt16 EXC_ID2_LABEL = 0x0004;
48 const sal_uInt16 EXC_ID3_LABEL = 0x0204;
49 
51 
52 // (0x0005, 0x0205) BOOLERR ---------------------------------------------------
53 const sal_uInt16 EXC_ID2_BOOLERR = 0x0005;
54 const sal_uInt16 EXC_ID3_BOOLERR = 0x0205;
55 
58 
59 // (0x0006, 0x0206, 0x0406) FORMULA -------------------------------------------
60 const sal_uInt16 EXC_ID2_FORMULA = 0x0006;
61 const sal_uInt16 EXC_ID3_FORMULA = 0x0206;
62 const sal_uInt16 EXC_ID4_FORMULA = 0x0406;
63 
64 const sal_uInt16 EXC_FORMULA_RECALC_ALWAYS = 0x0001;
65 const sal_uInt16 EXC_FORMULA_RECALC_ONLOAD = 0x0002;
66 const sal_uInt16 EXC_FORMULA_SHARED = 0x0008;
67 const sal_uInt16 EXC_FORMULA_DEFAULTFLAGS = 0x0000;
68 
73 
74 // (0x0007, 0x0207) STRING ----------------------------------------------------
75 const sal_uInt16 EXC_ID2_STRING = 0x0007;
76 const sal_uInt16 EXC_ID3_STRING = 0x0207;
77 
78 // (0x0008, 0x0208) ROW -------------------------------------------------------
79 const sal_uInt16 EXC_ID2_ROW = 0x0008;
80 const sal_uInt16 EXC_ID3_ROW = 0x0208;
81 
82 const sal_uInt16 EXC_ROW_COLLAPSED = 0x0010;
83 const sal_uInt16 EXC_ROW_HIDDEN = 0x0020;
84 const sal_uInt16 EXC_ROW_UNSYNCED = 0x0040;
85 const sal_uInt16 EXC_ROW_USEDEFXF = 0x0080;
86 const sal_uInt16 EXC_ROW_DEFAULTFLAGS = 0x0100;
87 
88 const sal_uInt16 EXC_ROW_XFMASK = 0x0FFF;
89 
90 const sal_uInt16 EXC_ROW_DEFAULTHEIGHT = 255;
91 const sal_uInt16 EXC_ROW_FLAGDEFHEIGHT = 0x8000;
92 const sal_uInt16 EXC_ROW_HEIGHTMASK = 0x7FFF;
93 
94 const sal_uInt16 EXC_ROW_ROWBLOCKSIZE = 32;
95 
96 // (0x0020) COLUMNDEFAULT -----------------------------------------------------
97 const sal_uInt16 EXC_ID_COLUMNDEFAULT = 0x0020;
98 
99 // (0x0021, 0x0221) ARRAY -----------------------------------------------------
100 const sal_uInt16 EXC_ID2_ARRAY = 0x0021;
101 const sal_uInt16 EXC_ID3_ARRAY = 0x0221;
102 
103 const sal_uInt16 EXC_ARRAY_RECALC_ALWAYS = 0x0001;
104 const sal_uInt16 EXC_ARRAY_RECALC_ONLOAD = 0x0002;
106 
107 // (0x0024) COLWIDTH ----------------------------------------------------------
108 const sal_uInt16 EXC_ID_COLWIDTH = 0x0024;
109 
110 // (0x0025, 0x0225) DEFAULTROWHEIGHT ------------------------------------------
111 const sal_uInt16 EXC_ID2_DEFROWHEIGHT = 0x0025;
112 const sal_uInt16 EXC_ID3_DEFROWHEIGHT = 0x0225;
113 
114 const sal_uInt16 EXC_DEFROW_UNSYNCED = 0x0001;
115 const sal_uInt16 EXC_DEFROW_HIDDEN = 0x0002;
116 const sal_uInt16 EXC_DEFROW_SPACEABOVE = 0x0004;
117 const sal_uInt16 EXC_DEFROW_SPACEBELOW = 0x0008;
118 const sal_uInt16 EXC_DEFROW_DEFAULTFLAGS = 0x0000;
119 
120 const sal_uInt16 EXC_DEFROW_DEFAULTHEIGHT = 255;
121 
122 // (0x0036, 0x0236) TABLEOP ---------------------------------------------------
123 const sal_uInt16 EXC_ID2_TABLEOP = 0x0036;
124 const sal_uInt16 EXC_ID3_TABLEOP = 0x0236;
125 
126 const sal_uInt16 EXC_TABLEOP_RECALC_ALWAYS = 0x0001;
127 const sal_uInt16 EXC_TABLEOP_RECALC_ONLOAD = 0x0002;
128 const sal_uInt16 EXC_TABLEOP_ROW = 0x0004;
129 const sal_uInt16 EXC_TABLEOP_BOTH = 0x0008;
131 
132 // (0x0037) TABLEOP2 ----------------------------------------------------------
133 const sal_uInt16 EXC_ID2_TABLEOP2 = 0x0037;
134 
135 // (0x0055) DEFCOLWIDTH -------------------------------------------------------
136 const sal_uInt16 EXC_ID_DEFCOLWIDTH = 0x0055;
137 const sal_uInt16 EXC_DEFCOLWIDTH_DEF = 10;
138 
139 // (0x007D) COLINFO -----------------------------------------------------------
140 const sal_uInt16 EXC_ID_COLINFO = 0x007D;
141 
142 const sal_uInt16 EXC_COLINFO_HIDDEN = 0x0001;
143 const sal_uInt16 EXC_COLINFO_CUSTOMWIDTH = 0x0002;
144 const sal_uInt16 EXC_COLINFO_COLLAPSED = 0x1000;
145 
146 // (0x0080) GUTS --------------------------------------------------------------
147 const sal_uInt16 EXC_ID_GUTS = 0x0080;
148 
149 // (0x00BD) MULRK -------------------------------------------------------------
150 const sal_uInt16 EXC_ID_MULRK = 0x00BD;
151 
152 // (0x00BE) MULBLANK ----------------------------------------------------------
153 const sal_uInt16 EXC_ID_MULBLANK = 0x00BE;
154 
155 // (0x00D6) RSTRING -----------------------------------------------------------
156 const sal_uInt16 EXC_ID_RSTRING = 0x00D6;
157 
158 // (0x00FD) LABELSST ----------------------------------------------------------
159 const sal_uInt16 EXC_ID_LABELSST = 0x00FD;
160 
161 // (0x027E) RK ----------------------------------------------------------------
162 const sal_uInt16 EXC_ID_RK = 0x027E;
163 
164 // (0x04BC) SHRFMLA -----------------------------------------------------------
165 const sal_uInt16 EXC_ID_SHRFMLA = 0x04BC;
166 
167 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const sal_uInt8 EXC_BOOLERR_ERROR
Definition: xltable.hxx:57
const sal_uInt16 EXC_TABLEOP_BOTH
Definition: xltable.hxx:129
const sal_uInt16 EXC_ID3_FORMULA
Definition: xltable.hxx:61
const sal_uInt16 EXC_ID2_DIMENSIONS
Definition: xltable.hxx:32
const sal_uInt16 EXC_ID3_STRING
Definition: xltable.hxx:76
const sal_uInt16 EXC_ID2_LABEL
Definition: xltable.hxx:47
const sal_uInt16 EXC_FORMULA_SHARED
Definition: xltable.hxx:66
const sal_uInt16 EXC_ID2_TABLEOP
Definition: xltable.hxx:123
const sal_uInt16 EXC_ARRAY_RECALC_ONLOAD
Definition: xltable.hxx:104
const sal_uInt16 EXC_ID2_FORMULA
Definition: xltable.hxx:60
const sal_uInt16 EXC_ID_COLUMNDEFAULT
Number of rows in a row block.
Definition: xltable.hxx:97
const sal_uInt16 EXC_ROW_USEDEFXF
Definition: xltable.hxx:85
const sal_uInt16 EXC_ID2_ROW
Definition: xltable.hxx:79
const sal_uInt16 EXC_DEFROW_UNSYNCED
Definition: xltable.hxx:114
const sal_uInt8 EXC_FORMULA_RES_EMPTY
Result is error code.
Definition: xltable.hxx:72
const sal_uInt16 EXC_ID3_BOOLERR
Definition: xltable.hxx:54
const sal_uInt16 EXC_ID2_DEFROWHEIGHT
Definition: xltable.hxx:111
const sal_uInt16 EXC_ROW_FLAGDEFHEIGHT
Definition: xltable.hxx:91
const sal_uInt16 EXC_DEFROW_DEFAULTHEIGHT
Definition: xltable.hxx:120
const sal_uInt16 EXC_FORMULA_DEFAULTFLAGS
Definition: xltable.hxx:67
const sal_uInt16 EXC_ID2_INTEGER
Definition: xltable.hxx:40
const sal_uInt16 EXC_ID3_DIMENSIONS
Definition: xltable.hxx:33
const sal_uInt16 EXC_ROW_DEFAULTHEIGHT
Definition: xltable.hxx:90
const sal_uInt8 EXC_OUTLINE_MAX
Definition: xltable.hxx:28
const sal_uInt8 EXC_FORMULA_RES_STRING
Definition: xltable.hxx:69
const sal_uInt16 EXC_ROW_ROWBLOCKSIZE
Definition: xltable.hxx:94
const sal_uInt8 EXC_BOOLERR_BOOL
Definition: xltable.hxx:56
const sal_uInt16 EXC_ID3_DEFROWHEIGHT
Definition: xltable.hxx:112
const sal_uInt16 EXC_ID3_BLANK
Definition: xltable.hxx:37
const sal_uInt16 EXC_ID3_NUMBER
Definition: xltable.hxx:44
const sal_uInt16 EXC_ID_COLWIDTH
Definition: xltable.hxx:108
const sal_uInt16 EXC_DEFCOLWIDTH_DEF
Definition: xltable.hxx:137
const sal_uInt16 EXC_ID_LABELSST
Definition: xltable.hxx:159
const sal_uInt16 EXC_ROW_DEFAULTFLAGS
Definition: xltable.hxx:86
const sal_uInt16 EXC_ID_COLINFO
Definition: xltable.hxx:140
const sal_uInt16 EXC_ID_DEFCOLWIDTH
Definition: xltable.hxx:136
const sal_uInt16 EXC_ROW_HEIGHTMASK
Definition: xltable.hxx:92
const sal_uInt16 EXC_DEFROW_SPACEBELOW
Definition: xltable.hxx:117
const sal_uInt16 EXC_ARRAY_RECALC_ALWAYS
Definition: xltable.hxx:103
const sal_uInt16 EXC_ROW_COLLAPSED
Definition: xltable.hxx:82
const sal_uInt16 EXC_ID4_FORMULA
Definition: xltable.hxx:62
const sal_uInt16 EXC_ROW_HIDDEN
Definition: xltable.hxx:83
const sal_uInt16 EXC_DEFROW_HIDDEN
Definition: xltable.hxx:115
const sal_uInt16 EXC_ID_MULRK
Definition: xltable.hxx:150
const sal_uInt16 EXC_FORMULA_RECALC_ALWAYS
Definition: xltable.hxx:64
const sal_uInt16 EXC_DEFROW_SPACEABOVE
Definition: xltable.hxx:116
const sal_uInt16 EXC_TABLEOP_RECALC_ONLOAD
Definition: xltable.hxx:127
const sal_uInt16 EXC_ID_GUTS
Definition: xltable.hxx:147
const sal_uInt16 EXC_TABLEOP_RECALC_ALWAYS
Definition: xltable.hxx:126
const sal_uInt16 EXC_FORMULA_RECALC_ONLOAD
Definition: xltable.hxx:65
const sal_uInt16 EXC_TABLEOP_ROW
Definition: xltable.hxx:128
const sal_uInt16 EXC_ID2_BLANK
Definition: xltable.hxx:36
const sal_uInt16 EXC_ID_RSTRING
Definition: xltable.hxx:156
const sal_uInt8 EXC_FORMULA_RES_BOOL
Result is a string.
Definition: xltable.hxx:70
unsigned char sal_uInt8
const sal_uInt16 EXC_ID2_TABLEOP2
Definition: xltable.hxx:133
const sal_uInt16 EXC_ID2_BOOLERR
Definition: xltable.hxx:53
const sal_uInt16 EXC_ID_MULBLANK
Definition: xltable.hxx:153
const sal_uInt8 EXC_OUTLINE_COUNT
Definition: xltable.hxx:29
const sal_uInt16 EXC_ID_RK
Definition: xltable.hxx:162
const sal_uInt16 EXC_COLINFO_HIDDEN
Definition: xltable.hxx:142
const sal_uInt16 EXC_TABLEOP_DEFAULTFLAGS
Definition: xltable.hxx:130
const sal_uInt8 EXC_LABEL_MAXLEN
Definition: xltable.hxx:50
const sal_uInt16 EXC_ROW_XFMASK
Definition: xltable.hxx:88
const sal_uInt16 EXC_ID3_TABLEOP
Definition: xltable.hxx:124
const sal_uInt16 EXC_ID3_ARRAY
Definition: xltable.hxx:101
const sal_uInt8 EXC_FORMULA_RES_ERROR
Result is Boolean value.
Definition: xltable.hxx:71
const sal_uInt16 EXC_ID3_ROW
Definition: xltable.hxx:80
const sal_uInt16 EXC_ROW_UNSYNCED
Definition: xltable.hxx:84
const sal_uInt16 EXC_ID_SHRFMLA
Definition: xltable.hxx:165
const sal_uInt16 EXC_ARRAY_DEFAULTFLAGS
Definition: xltable.hxx:105
const sal_uInt16 EXC_COLINFO_COLLAPSED
Definition: xltable.hxx:144
const sal_uInt16 EXC_ID2_ARRAY
Definition: xltable.hxx:100
const sal_uInt16 EXC_ID2_STRING
Result is empty cell (BIFF8 only).
Definition: xltable.hxx:75
const sal_uInt16 EXC_COLINFO_CUSTOMWIDTH
Definition: xltable.hxx:143
const sal_uInt16 EXC_ID3_LABEL
Definition: xltable.hxx:48
const sal_uInt16 EXC_ID2_NUMBER
Definition: xltable.hxx:43
const sal_uInt16 EXC_DEFROW_DEFAULTFLAGS
Definition: xltable.hxx:118