LibreOffice Module sc (master)  1
xlcontent.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 ==================================================================
25 
26 // (0x005B) FILESHARING -------------------------------------------------------
27 
28 const sal_uInt16 EXC_ID_FILESHARING = 0x005B;
29 
30 // (0x00E5) MERGEDCELLS -------------------------------------------------------
31 
32 const sal_uInt16 EXC_ID_MERGEDCELLS = 0x00E5;
33 const sal_uInt16 EXC_MERGEDCELLS_MAXCOUNT = 1027;
34 
35 // (0x002F) FILEPASS ----------------------------------------------------------
36 
37 const sal_uInt16 EXC_ID_FILEPASS = 0x002F;
38 
39 const sal_uInt16 EXC_FILEPASS_BIFF5 = 0x0000;
40 const sal_uInt16 EXC_FILEPASS_BIFF8 = 0x0001;
41 
42 // (0x00FC, 0x00FF) SST, EXTSST -----------------------------------------------
43 
44 const sal_uInt16 EXC_ID_SST = 0x00FC;
45 const sal_uInt16 EXC_ID_EXTSST = 0x00FF;
46 
47 // (0x015F) LABELRANGES -------------------------------------------------------
48 
49 const sal_uInt16 EXC_ID_LABELRANGES = 0x015F;
50 
51 // (0x01B0) CONDFMT, (0x01B1) CF ----------------------------------------------
52 
53 const sal_uInt16 EXC_ID_CONDFMT = 0x01B0;
54 const sal_uInt16 EXC_ID_CF = 0x01B1;
55 
59 
69 
70 const sal_uInt32 EXC_CF_BORDER_LEFT = 0x00000400;
71 const sal_uInt32 EXC_CF_BORDER_RIGHT = 0x00000800;
72 const sal_uInt32 EXC_CF_BORDER_TOP = 0x00001000;
73 const sal_uInt32 EXC_CF_BORDER_BOTTOM = 0x00002000;
74 const sal_uInt32 EXC_CF_BORDER_ALL = 0x00003C00;
75 const sal_uInt32 EXC_CF_AREA_PATTERN = 0x00010000;
76 const sal_uInt32 EXC_CF_AREA_FGCOLOR = 0x00020000;
77 const sal_uInt32 EXC_CF_AREA_BGCOLOR = 0x00040000;
78 const sal_uInt32 EXC_CF_AREA_ALL = 0x00070000;
79 const sal_uInt32 EXC_CF_ALLDEFAULT = 0x003FFFFF;
80 const sal_uInt32 EXC_CF_BLOCK_NUMFMT = 0x02000000;
81 const sal_uInt32 EXC_CF_BLOCK_FONT = 0x04000000;
82 const sal_uInt32 EXC_CF_BLOCK_ALIGNMENT = 0x08000000;
83 const sal_uInt32 EXC_CF_BLOCK_BORDER = 0x10000000;
84 const sal_uInt32 EXC_CF_BLOCK_AREA = 0x20000000;
85 const sal_uInt32 EXC_CF_BLOCK_PROTECTION = 0x40000000;
86 const sal_uInt32 EXC_CF_IFMT_USER = 0x1;
87 
88 const sal_uInt32 EXC_CF_FONT_STYLE = 0x00000002;
89 const sal_uInt32 EXC_CF_FONT_STRIKEOUT = 0x00000080;
90 const sal_uInt32 EXC_CF_FONT_ALLDEFAULT = 0x0000009A;
91 
92 const sal_uInt32 EXC_CF_FONT_UNDERL = 0x00000001;
93 const sal_uInt32 EXC_CF_FONT_ESCAPEM = 0x00000001;
94 
95 // (0x01B2) DVAL --------------------------------------------------------------
96 
97 const sal_uInt16 EXC_ID_DVAL = 0x01B2;
98 const sal_uInt32 EXC_DVAL_NOOBJ = 0xFFFFFFFF;
99 
100 // (0x01BE) DV ----------------------------------------------------------------
101 
102 const sal_uInt16 EXC_ID_DV = 0x01BE;
103 
104 // data validation flags
105 const sal_uInt32 EXC_DV_STRINGLIST = 0x00000080;
106 const sal_uInt32 EXC_DV_IGNOREBLANK = 0x00000100;
107 const sal_uInt32 EXC_DV_SUPPRESSDROPDOWN = 0x00000200;
108 const sal_uInt32 EXC_DV_SHOWPROMPT = 0x00040000;
109 const sal_uInt32 EXC_DV_SHOWERROR = 0x00080000;
110 
111 // data validation data mode
112 const sal_uInt32 EXC_DV_MODE_MASK = 0x0000000F;
113 const sal_uInt32 EXC_DV_MODE_ANY = 0x00000000;
114 const sal_uInt32 EXC_DV_MODE_WHOLE = 0x00000001;
115 const sal_uInt32 EXC_DV_MODE_DECIMAL = 0x00000002;
116 const sal_uInt32 EXC_DV_MODE_LIST = 0x00000003;
117 const sal_uInt32 EXC_DV_MODE_DATE = 0x00000004;
118 const sal_uInt32 EXC_DV_MODE_TIME = 0x00000005;
119 const sal_uInt32 EXC_DV_MODE_TEXTLEN = 0x00000006;
120 const sal_uInt32 EXC_DV_MODE_CUSTOM = 0x00000007;
121 
122 // data validation conditions
123 const sal_uInt32 EXC_DV_COND_MASK = 0x00F00000;
124 const sal_uInt32 EXC_DV_COND_BETWEEN = 0x00000000;
125 const sal_uInt32 EXC_DV_COND_NOTBETWEEN = 0x00100000;
126 const sal_uInt32 EXC_DV_COND_EQUAL = 0x00200000;
127 const sal_uInt32 EXC_DV_COND_NOTEQUAL = 0x00300000;
128 const sal_uInt32 EXC_DV_COND_GREATER = 0x00400000;
129 const sal_uInt32 EXC_DV_COND_LESS = 0x00500000;
130 const sal_uInt32 EXC_DV_COND_EQGREATER = 0x00600000;
131 const sal_uInt32 EXC_DV_COND_EQLESS = 0x00700000;
132 
133 // data validation error style
134 const sal_uInt32 EXC_DV_ERROR_MASK = 0x00000070;
135 const sal_uInt32 EXC_DV_ERROR_STOP = 0x00000000;
136 const sal_uInt32 EXC_DV_ERROR_WARNING = 0x00000010;
137 const sal_uInt32 EXC_DV_ERROR_INFO = 0x00000020;
138 
139 // (0x01B8) HLINK -------------------------------------------------------------
140 
141 const sal_uInt16 EXC_ID_HLINK = 0x01B8;
142 
143 const sal_uInt32 EXC_HLINK_BODY = 0x00000001;
144 const sal_uInt32 EXC_HLINK_ABS = 0x00000002;
145 const sal_uInt32 EXC_HLINK_DESCR = 0x00000014;
146 const sal_uInt32 EXC_HLINK_MARK = 0x00000008;
147 const sal_uInt32 EXC_HLINK_FRAME = 0x00000080;
148 const sal_uInt32 EXC_HLINK_UNC = 0x00000100;
149 
150 // web queries ================================================================
151 
152 #define EXC_WEBQRY_FILTER "calc_HTML_WebQuery"
153 
154 // (0x00CD) WQSTRING
155 const sal_uInt16 EXC_ID_WQSTRING = 0x00CD;
156 
157 // (0x00DC) PARAMQRY
158 const sal_uInt16 EXC_ID_PQRY = 0x00DC;
159 const sal_uInt16 EXC_PQRYTYPE_ODBC = 1;
160 const sal_uInt16 EXC_PQRYTYPE_WEBQUERY = 4;
161 const sal_uInt16 EXC_PQRY_ODBC = 0x0008;
162 const sal_uInt16 EXC_PQRY_WEBQUERY = 0x0040;
163 const sal_uInt16 EXC_PQRY_TABLES = 0x0100;
164 
165 // (0x01AD) QSI
166 const sal_uInt16 EXC_ID_QSI = 0x01AD;
167 const sal_uInt16 EXC_QSI_DEFAULTFLAGS = 0x0349;
168 
169 // (0x0802) unknown record
170 const sal_uInt16 EXC_ID_0802 = 0x0802;
171 
172 // (0x0803) WEBQRYSETTINGS
173 const sal_uInt16 EXC_ID_WQSETT = 0x0803;
174 const sal_uInt16 EXC_WQSETT_ALL = 0x0000;
175 const sal_uInt16 EXC_WQSETT_SPECTABLES = 0x0002;
176 const sal_uInt16 EXC_WQSETT_DEFAULTFLAGS = 0x0023;
177 const sal_uInt16 EXC_WQSETT_NOFORMAT = 0x0001;
178 const sal_uInt16 EXC_WQSETT_FORMATRTF = 0x0002;
179 const sal_uInt16 EXC_WQSETT_FORMATFULL = 0x0003;
180 
181 // (0x0804) WEBQRYTABLES
182 const sal_uInt16 EXC_ID_WQTABLES = 0x0804;
183 
184 const sal_uInt16 EXC_ID_EXTLST = 0x9988;
185 
186 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const sal_uInt16 EXC_ID_WQSETT
Definition: xlcontent.hxx:173
const sal_uInt32 EXC_DV_COND_NOTBETWEEN
Definition: xlcontent.hxx:125
const sal_uInt16 EXC_WQSETT_SPECTABLES
All tables or entire document.
Definition: xlcontent.hxx:175
const sal_uInt32 EXC_DV_MODE_DECIMAL
Definition: xlcontent.hxx:115
const sal_uInt32 EXC_DVAL_NOOBJ
Definition: xlcontent.hxx:98
const sal_uInt16 EXC_ID_CONDFMT
Definition: xlcontent.hxx:53
const sal_uInt16 EXC_ID_LABELRANGES
Definition: xlcontent.hxx:49
const sal_uInt8 EXC_CF_CMP_LESS
Definition: xlcontent.hxx:66
const sal_uInt32 EXC_DV_ERROR_STOP
Definition: xlcontent.hxx:135
const sal_uInt32 EXC_DV_COND_EQGREATER
Definition: xlcontent.hxx:130
const sal_uInt32 EXC_DV_COND_GREATER
Definition: xlcontent.hxx:128
const sal_uInt32 EXC_CF_BORDER_TOP
Right border line modified?
Definition: xlcontent.hxx:72
const sal_uInt16 EXC_ID_PQRY
Definition: xlcontent.hxx:158
const sal_uInt32 EXC_HLINK_BODY
Definition: xlcontent.hxx:143
const sal_uInt16 EXC_ID_EXTSST
Definition: xlcontent.hxx:45
const sal_uInt8 EXC_CF_TYPE_NONE
Definition: xlcontent.hxx:56
const sal_uInt32 EXC_CF_AREA_BGCOLOR
Foreground color modified?
Definition: xlcontent.hxx:77
const sal_uInt32 EXC_HLINK_ABS
Contains file link or URL.
Definition: xlcontent.hxx:144
const sal_uInt8 EXC_CF_CMP_EQUAL
Definition: xlcontent.hxx:63
const sal_uInt16 EXC_PQRY_ODBC
Source type: webquery.
Definition: xlcontent.hxx:161
const sal_uInt32 EXC_DV_MODE_TIME
Definition: xlcontent.hxx:118
const sal_uInt8 EXC_CF_CMP_BETWEEN
Definition: xlcontent.hxx:61
const sal_uInt32 EXC_CF_AREA_PATTERN
Any border line modified?
Definition: xlcontent.hxx:75
const sal_uInt32 EXC_DV_SHOWERROR
Definition: xlcontent.hxx:109
const sal_uInt32 EXC_DV_STRINGLIST
Definition: xlcontent.hxx:105
const sal_uInt32 EXC_DV_COND_NOTEQUAL
Definition: xlcontent.hxx:127
const sal_uInt8 EXC_CF_CMP_LESS_EQUAL
Definition: xlcontent.hxx:68
const sal_uInt32 EXC_DV_COND_LESS
Definition: xlcontent.hxx:129
const sal_uInt32 EXC_DV_COND_EQLESS
Definition: xlcontent.hxx:131
const sal_uInt32 EXC_CF_ALLDEFAULT
Any area attribute modified?
Definition: xlcontent.hxx:79
const sal_uInt8 EXC_CF_CMP_NONE
Definition: xlcontent.hxx:60
const sal_uInt32 EXC_DV_COND_BETWEEN
Definition: xlcontent.hxx:124
const sal_uInt16 EXC_PQRYTYPE_WEBQUERY
Source type: ODBC.
Definition: xlcontent.hxx:160
const sal_uInt16 EXC_ID_DV
Definition: xlcontent.hxx:102
const sal_uInt16 EXC_ID_FILEPASS
Definition: xlcontent.hxx:37
const sal_uInt32 EXC_DV_MODE_DATE
Definition: xlcontent.hxx:117
const sal_uInt32 EXC_DV_MODE_CUSTOM
Definition: xlcontent.hxx:120
const sal_uInt16 EXC_ID_MERGEDCELLS
Definition: xlcontent.hxx:32
const sal_uInt8 EXC_CF_TYPE_CELL
Definition: xlcontent.hxx:57
const sal_uInt16 EXC_ID_WQTABLES
Definition: xlcontent.hxx:182
const sal_uInt32 EXC_CF_AREA_FGCOLOR
Pattern modified?
Definition: xlcontent.hxx:76
const sal_uInt32 EXC_CF_BLOCK_AREA
Border block present?
Definition: xlcontent.hxx:84
const sal_uInt16 EXC_WQSETT_NOFORMAT
Flags for export.
Definition: xlcontent.hxx:177
const sal_uInt16 EXC_FILEPASS_BIFF5
Definition: xlcontent.hxx:39
const sal_uInt16 EXC_PQRY_WEBQUERY
ODBC connection.
Definition: xlcontent.hxx:162
const sal_uInt32 EXC_CF_AREA_ALL
Background color modified?
Definition: xlcontent.hxx:78
const sal_uInt32 EXC_CF_FONT_STRIKEOUT
Font posture or weight modified?
Definition: xlcontent.hxx:89
const sal_uInt16 EXC_ID_DVAL
Font escapement type modified?
Definition: xlcontent.hxx:97
const sal_uInt32 EXC_DV_MODE_LIST
Definition: xlcontent.hxx:116
const sal_uInt32 EXC_CF_BLOCK_BORDER
Alignment block present?
Definition: xlcontent.hxx:83
const sal_uInt32 EXC_CF_BLOCK_PROTECTION
Pattern block present?
Definition: xlcontent.hxx:85
const sal_uInt32 EXC_CF_FONT_STYLE
NumberFormat String or Id?
Definition: xlcontent.hxx:88
const sal_uInt32 EXC_CF_BORDER_LEFT
Definition: xlcontent.hxx:70
const sal_uInt8 EXC_CF_CMP_GREATER_EQUAL
Definition: xlcontent.hxx:67
const sal_uInt16 EXC_PQRY_TABLES
Web query.
Definition: xlcontent.hxx:163
const sal_uInt32 EXC_DV_ERROR_WARNING
Definition: xlcontent.hxx:136
const sal_uInt32 EXC_CF_BLOCK_NUMFMT
Default flags.
Definition: xlcontent.hxx:80
const sal_uInt32 EXC_DV_MODE_TEXTLEN
Definition: xlcontent.hxx:119
const sal_uInt32 EXC_CF_BLOCK_FONT
Font block present?
Definition: xlcontent.hxx:81
const sal_uInt32 EXC_CF_IFMT_USER
Protection block present?
Definition: xlcontent.hxx:86
const sal_uInt32 EXC_HLINK_MARK
Description.
Definition: xlcontent.hxx:146
const sal_uInt32 EXC_DV_IGNOREBLANK
Definition: xlcontent.hxx:106
const sal_uInt16 EXC_PQRYTYPE_ODBC
Definition: xlcontent.hxx:159
const sal_uInt8 EXC_CF_TYPE_FMLA
Definition: xlcontent.hxx:58
const sal_uInt32 EXC_CF_BORDER_BOTTOM
Top border line modified?
Definition: xlcontent.hxx:73
const sal_uInt32 EXC_DV_COND_MASK
Definition: xlcontent.hxx:123
const sal_uInt8 EXC_CF_CMP_GREATER
Definition: xlcontent.hxx:65
const sal_uInt16 EXC_FILEPASS_BIFF8
Definition: xlcontent.hxx:40
const sal_uInt32 EXC_CF_FONT_UNDERL
Default flags.
Definition: xlcontent.hxx:92
const sal_uInt32 EXC_CF_BORDER_ALL
Bottom border line modified?
Definition: xlcontent.hxx:74
const sal_uInt32 EXC_DV_SUPPRESSDROPDOWN
Definition: xlcontent.hxx:107
const sal_uInt16 EXC_QSI_DEFAULTFLAGS
Definition: xlcontent.hxx:167
const sal_uInt16 EXC_ID_SST
Definition: xlcontent.hxx:44
const sal_uInt32 EXC_CF_BORDER_RIGHT
Left border line modified?
Definition: xlcontent.hxx:71
const sal_uInt32 EXC_DV_COND_EQUAL
Definition: xlcontent.hxx:126
const sal_uInt32 EXC_HLINK_FRAME
Text mark.
Definition: xlcontent.hxx:147
const sal_uInt32 EXC_DV_ERROR_MASK
Definition: xlcontent.hxx:134
unsigned char sal_uInt8
const sal_uInt16 EXC_WQSETT_FORMATFULL
Definition: xlcontent.hxx:179
const sal_uInt16 EXC_ID_FILESHARING
Definition: xlcontent.hxx:28
const sal_uInt16 EXC_ID_QSI
All tables.
Definition: xlcontent.hxx:166
const sal_uInt16 EXC_WQSETT_FORMATRTF
Definition: xlcontent.hxx:178
const sal_uInt16 EXC_MERGEDCELLS_MAXCOUNT
Definition: xlcontent.hxx:33
const sal_uInt8 EXC_CF_CMP_NOT_BETWEEN
Definition: xlcontent.hxx:62
const sal_uInt16 EXC_ID_HLINK
Definition: xlcontent.hxx:141
const sal_uInt16 EXC_WQSETT_ALL
Definition: xlcontent.hxx:174
const sal_uInt8 EXC_CF_CMP_NOT_EQUAL
Definition: xlcontent.hxx:64
const sal_uInt32 EXC_CF_FONT_ALLDEFAULT
Font cancellation modified?
Definition: xlcontent.hxx:90
const sal_uInt16 EXC_ID_WQSTRING
Definition: xlcontent.hxx:155
const sal_uInt32 EXC_DV_MODE_MASK
Definition: xlcontent.hxx:112
const sal_uInt16 EXC_ID_CF
Definition: xlcontent.hxx:54
const sal_uInt32 EXC_DV_MODE_ANY
Definition: xlcontent.hxx:113
const sal_uInt32 EXC_HLINK_DESCR
Absolute path.
Definition: xlcontent.hxx:145
const sal_uInt32 EXC_HLINK_UNC
Target frame.
Definition: xlcontent.hxx:148
const sal_uInt32 EXC_DV_ERROR_INFO
Definition: xlcontent.hxx:137
const sal_uInt16 EXC_ID_0802
Flags for export.
Definition: xlcontent.hxx:170
const sal_uInt32 EXC_CF_BLOCK_ALIGNMENT
Font block present?
Definition: xlcontent.hxx:82
const sal_uInt32 EXC_DV_MODE_WHOLE
Definition: xlcontent.hxx:114
const sal_uInt16 EXC_ID_EXTLST
Definition: xlcontent.hxx:184
const sal_uInt32 EXC_DV_SHOWPROMPT
Definition: xlcontent.hxx:108
const sal_uInt16 EXC_WQSETT_DEFAULTFLAGS
Specific tables.
Definition: xlcontent.hxx:176
const sal_uInt32 EXC_CF_FONT_ESCAPEM
Font underline type modified?
Definition: xlcontent.hxx:93