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