Version 7.5.1.1, tag libreoffice-7.5.1.1
[LibreOffice.git] / sc / source / filter / inc / xltable.hxx
blobd5e210a4a45b31ae9799837abab05a89b4626ee0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #pragma once
22 #include <sal/types.h>
24 // Constants and Enumerations =================================================
26 // Specials for outlines ------------------------------------------------------
28 const sal_uInt8 EXC_OUTLINE_MAX = 7;
29 const sal_uInt8 EXC_OUTLINE_COUNT = EXC_OUTLINE_MAX + 1;
31 // (0x0000, 0x0200) DIMENSIONS ------------------------------------------------
32 const sal_uInt16 EXC_ID2_DIMENSIONS = 0x0000;
33 const sal_uInt16 EXC_ID3_DIMENSIONS = 0x0200;
35 // (0x0001, 0x0201) BLANK -----------------------------------------------------
36 const sal_uInt16 EXC_ID2_BLANK = 0x0001;
37 const sal_uInt16 EXC_ID3_BLANK = 0x0201;
39 // (0x0002) INTEGER -----------------------------------------------------------
40 const sal_uInt16 EXC_ID2_INTEGER = 0x0002;
42 // (0x0003, 0x0203) NUMBER ----------------------------------------------------
43 const sal_uInt16 EXC_ID2_NUMBER = 0x0003;
44 const sal_uInt16 EXC_ID3_NUMBER = 0x0203;
46 // (0x0004, 0x0204) LABEL -----------------------------------------------------
47 const sal_uInt16 EXC_ID2_LABEL = 0x0004;
48 const sal_uInt16 EXC_ID3_LABEL = 0x0204;
50 const sal_uInt8 EXC_LABEL_MAXLEN = 0xFF;
52 // (0x0005, 0x0205) BOOLERR ---------------------------------------------------
53 const sal_uInt16 EXC_ID2_BOOLERR = 0x0005;
54 const sal_uInt16 EXC_ID3_BOOLERR = 0x0205;
56 const sal_uInt8 EXC_BOOLERR_BOOL = 0x00;
57 const sal_uInt8 EXC_BOOLERR_ERROR = 0x01;
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;
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;
69 const sal_uInt8 EXC_FORMULA_RES_STRING = 0x00; /// Result is a string.
70 const sal_uInt8 EXC_FORMULA_RES_BOOL = 0x01; /// Result is Boolean value.
71 const sal_uInt8 EXC_FORMULA_RES_ERROR = 0x02; /// Result is error code.
72 const sal_uInt8 EXC_FORMULA_RES_EMPTY = 0x03; /// Result is empty cell (BIFF8 only).
74 // (0x0007, 0x0207) STRING ----------------------------------------------------
75 const sal_uInt16 EXC_ID2_STRING = 0x0007;
76 const sal_uInt16 EXC_ID3_STRING = 0x0207;
78 // (0x0008, 0x0208) ROW -------------------------------------------------------
79 const sal_uInt16 EXC_ID2_ROW = 0x0008;
80 const sal_uInt16 EXC_ID3_ROW = 0x0208;
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;
88 const sal_uInt16 EXC_ROW_XFMASK = 0x0FFF;
90 const sal_uInt16 EXC_ROW_DEFAULTHEIGHT = 255;
91 const sal_uInt16 EXC_ROW_FLAGDEFHEIGHT = 0x8000;
92 const sal_uInt16 EXC_ROW_HEIGHTMASK = 0x7FFF;
94 const sal_uInt16 EXC_ROW_ROWBLOCKSIZE = 32; /// Number of rows in a row block.
96 // (0x0020) COLUMNDEFAULT -----------------------------------------------------
97 const sal_uInt16 EXC_ID_COLUMNDEFAULT = 0x0020;
99 // (0x0021, 0x0221) ARRAY -----------------------------------------------------
100 const sal_uInt16 EXC_ID2_ARRAY = 0x0021;
101 const sal_uInt16 EXC_ID3_ARRAY = 0x0221;
103 const sal_uInt16 EXC_ARRAY_RECALC_ALWAYS = 0x0001;
104 const sal_uInt16 EXC_ARRAY_RECALC_ONLOAD = 0x0002;
105 const sal_uInt16 EXC_ARRAY_DEFAULTFLAGS = EXC_ARRAY_RECALC_ONLOAD;
107 // (0x0024) COLWIDTH ----------------------------------------------------------
108 const sal_uInt16 EXC_ID_COLWIDTH = 0x0024;
110 // (0x0025, 0x0225) DEFAULTROWHEIGHT ------------------------------------------
111 const sal_uInt16 EXC_ID2_DEFROWHEIGHT = 0x0025;
112 const sal_uInt16 EXC_ID3_DEFROWHEIGHT = 0x0225;
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;
120 const sal_uInt16 EXC_DEFROW_DEFAULTHEIGHT = 255;
122 // (0x0036, 0x0236) TABLEOP ---------------------------------------------------
123 const sal_uInt16 EXC_ID2_TABLEOP = 0x0036;
124 const sal_uInt16 EXC_ID3_TABLEOP = 0x0236;
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;
130 const sal_uInt16 EXC_TABLEOP_DEFAULTFLAGS = EXC_TABLEOP_RECALC_ONLOAD;
132 // (0x0037) TABLEOP2 ----------------------------------------------------------
133 const sal_uInt16 EXC_ID2_TABLEOP2 = 0x0037;
135 // (0x0055) DEFCOLWIDTH -------------------------------------------------------
136 const sal_uInt16 EXC_ID_DEFCOLWIDTH = 0x0055;
137 const sal_uInt16 EXC_DEFCOLWIDTH_DEF = 10;
139 // (0x007D) COLINFO -----------------------------------------------------------
140 const sal_uInt16 EXC_ID_COLINFO = 0x007D;
142 const sal_uInt16 EXC_COLINFO_HIDDEN = 0x0001;
143 const sal_uInt16 EXC_COLINFO_CUSTOMWIDTH = 0x0002;
144 const sal_uInt16 EXC_COLINFO_COLLAPSED = 0x1000;
146 // (0x0080) GUTS --------------------------------------------------------------
147 const sal_uInt16 EXC_ID_GUTS = 0x0080;
149 // (0x00BD) MULRK -------------------------------------------------------------
150 const sal_uInt16 EXC_ID_MULRK = 0x00BD;
152 // (0x00BE) MULBLANK ----------------------------------------------------------
153 const sal_uInt16 EXC_ID_MULBLANK = 0x00BE;
155 // (0x00D6) RSTRING -----------------------------------------------------------
156 const sal_uInt16 EXC_ID_RSTRING = 0x00D6;
158 // (0x00FD) LABELSST ----------------------------------------------------------
159 const sal_uInt16 EXC_ID_LABELSST = 0x00FD;
161 // (0x027E) RK ----------------------------------------------------------------
162 const sal_uInt16 EXC_ID_RK = 0x027E;
164 // (0x04BC) SHRFMLA -----------------------------------------------------------
165 const sal_uInt16 EXC_ID_SHRFMLA = 0x04BC;
167 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */