1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 #ifndef INCLUDED_SC_INC_SCITEMS_HXX
21 #define INCLUDED_SC_INC_SCITEMS_HXX
23 #include <svx/svxids.hrc>
25 // EditEngine is not allowed to define it's own ITEMID's
28 // Item-IDs for UI-MsgPool:
30 //! shall be moved to the below-1000 range!
32 #define MSGPOOL_START 1100
34 #define SCITEM_STRING 1100
35 #define SCITEM_SEARCHDATA 1101
36 #define SCITEM_SORTDATA 1102
37 #define SCITEM_QUERYDATA 1103
38 #define SCITEM_SUBTDATA 1104
39 #define SCITEM_CONSOLIDATEDATA 1105
40 #define SCITEM_PIVOTDATA 1106
41 #define SCITEM_SOLVEDATA 1107
42 #define SCITEM_USERLIST 1108
43 #define SCITEM_PRINTWARN 1109
45 #define MSGPOOL_END 1109
47 // Item-IDs for attributes:
49 #define ATTR_STARTINDEX 100 // begin of attributes
51 #define ATTR_PATTERN_START 100 // begin of cell-attribute-pattern
53 #define ATTR_FONT 100 // begin of cell-attributes
54 #define ATTR_FONT_HEIGHT 101
55 #define ATTR_FONT_WEIGHT 102
56 #define ATTR_FONT_POSTURE 103
57 #define ATTR_FONT_UNDERLINE 104
58 #define ATTR_FONT_OVERLINE 105
59 #define ATTR_FONT_CROSSEDOUT 106
60 #define ATTR_FONT_CONTOUR 107
61 #define ATTR_FONT_SHADOWED 108
62 #define ATTR_FONT_COLOR 109
63 #define ATTR_FONT_LANGUAGE 110
64 #define ATTR_CJK_FONT 111
65 #define ATTR_CJK_FONT_HEIGHT 112
66 #define ATTR_CJK_FONT_WEIGHT 113
67 #define ATTR_CJK_FONT_POSTURE 114
68 #define ATTR_CJK_FONT_LANGUAGE 115
69 #define ATTR_CTL_FONT 116
70 #define ATTR_CTL_FONT_HEIGHT 117
71 #define ATTR_CTL_FONT_WEIGHT 118
72 #define ATTR_CTL_FONT_POSTURE 119
73 #define ATTR_CTL_FONT_LANGUAGE 120
74 #define ATTR_FONT_EMPHASISMARK 121
75 #define ATTR_USERDEF 122 // not saved in binary files
76 #define ATTR_FONT_WORDLINE 123
77 #define ATTR_FONT_RELIEF 124
78 #define ATTR_HYPHENATE 125
79 #define ATTR_SCRIPTSPACE 126
80 #define ATTR_HANGPUNCTUATION 127
81 #define ATTR_FORBIDDEN_RULES 128
82 #define ATTR_HOR_JUSTIFY 129
83 #define ATTR_HOR_JUSTIFY_METHOD 130
84 #define ATTR_INDENT 131
85 #define ATTR_VER_JUSTIFY 132
86 #define ATTR_VER_JUSTIFY_METHOD 133
87 #define ATTR_STACKED 134
88 #define ATTR_ROTATE_VALUE 135
89 #define ATTR_ROTATE_MODE 136
90 #define ATTR_VERTICAL_ASIAN 137
91 #define ATTR_WRITINGDIR 138
92 #define ATTR_LINEBREAK 139
93 #define ATTR_SHRINKTOFIT 140
94 #define ATTR_BORDER_TLBR 141
95 #define ATTR_BORDER_BLTR 142
96 #define ATTR_MARGIN 143
97 #define ATTR_MERGE 144
98 #define ATTR_MERGE_FLAG 145
99 #define ATTR_VALUE_FORMAT 146
100 #define ATTR_LANGUAGE_FORMAT 147
101 #define ATTR_BACKGROUND 148
102 #define ATTR_PROTECTION 149
103 #define ATTR_BORDER 150
104 #define ATTR_BORDER_INNER 151 // inside, because of template-EditDialog
105 #define ATTR_SHADOW 152
106 #define ATTR_VALIDDATA 153
107 #define ATTR_CONDITIONAL 154
108 #define ATTR_HYPERLINK 155
110 #define ATTR_PATTERN_END 155 // end cell-attribute-pattern
112 #define ATTR_PATTERN 156
114 #define ATTR_LRSPACE 157 // editor: PageDesc-TabPage
115 #define ATTR_ULSPACE 158
116 #define ATTR_PAGE 159
117 #define ATTR_PAGE_PAPERTRAY 160
118 #define ATTR_PAGE_PAPERBIN 161
119 #define ATTR_PAGE_SIZE 162
120 #define ATTR_PAGE_MAXSIZE 163
121 #define ATTR_PAGE_HORCENTER 164
122 #define ATTR_PAGE_VERCENTER 165
124 #define ATTR_PAGE_ON 166 // editor: header/footer-page
125 #define ATTR_PAGE_DYNAMIC 167
126 #define ATTR_PAGE_SHARED 168
128 #define ATTR_PAGE_NOTES 169 // editor: table
129 #define ATTR_PAGE_GRID 170
130 #define ATTR_PAGE_HEADERS 171
131 #define ATTR_PAGE_CHARTS 172
132 #define ATTR_PAGE_OBJECTS 173
133 #define ATTR_PAGE_DRAWINGS 174
134 #define ATTR_PAGE_TOPDOWN 175
135 #define ATTR_PAGE_SCALE 176
136 #define ATTR_PAGE_SCALETOPAGES 177
137 #define ATTR_PAGE_FIRSTPAGENO 178
139 #define ATTR_PAGE_PRINTAREA 179 // editor: print areas
140 #define ATTR_PAGE_REPEATROW 180
141 #define ATTR_PAGE_REPEATCOL 181
142 #define ATTR_PAGE_PRINTTABLES 182
144 #define ATTR_PAGE_HEADERLEFT 183 // contents of header/
145 #define ATTR_PAGE_FOOTERLEFT 184 // footer (left)
146 #define ATTR_PAGE_HEADERRIGHT 185 // contents of header/
147 #define ATTR_PAGE_FOOTERRIGHT 186 // footer (right)
148 #define ATTR_PAGE_HEADERSET 187 // the corresponding sets
149 #define ATTR_PAGE_FOOTERSET 188
151 #define ATTR_PAGE_FORMULAS 189
152 #define ATTR_PAGE_NULLVALS 190
154 #define ATTR_PAGE_SCALETO 191 // #i8868# scale printout to width/height
156 #define ATTR_HIDDEN 192
158 #define ATTR_ENDINDEX ATTR_HIDDEN // end of pool-range
160 // Dummy Slot-IDs for dialogs
162 #define SID_SCATTR_PAGE_NOTES ATTR_PAGE_NOTES
163 #define SID_SCATTR_PAGE_GRID ATTR_PAGE_GRID
164 #define SID_SCATTR_PAGE_HEADERS ATTR_PAGE_HEADERS
165 #define SID_SCATTR_PAGE_CHARTS ATTR_PAGE_CHARTS
166 #define SID_SCATTR_PAGE_OBJECTS ATTR_PAGE_OBJECTS
167 #define SID_SCATTR_PAGE_DRAWINGS ATTR_PAGE_DRAWINGS
168 #define SID_SCATTR_PAGE_TOPDOWN ATTR_PAGE_TOPDOWN
169 #define SID_SCATTR_PAGE_SCALE ATTR_PAGE_SCALE
170 #define SID_SCATTR_PAGE_SCALETOPAGES ATTR_PAGE_SCALETOPAGES
171 #define SID_SCATTR_PAGE_FIRSTPAGENO ATTR_PAGE_FIRSTPAGENO
172 #define SID_SCATTR_PAGE_PRINTAREA ATTR_PAGE_PRINTAREA
173 #define SID_SCATTR_PAGE_REPEATROW ATTR_PAGE_REPEATROW
174 #define SID_SCATTR_PAGE_REPEATCOL ATTR_PAGE_REPEATCOL
175 #define SID_SCATTR_PAGE_PRINTTABLES ATTR_PAGE_PRINTTABLES
176 #define SID_SCATTR_PAGE_HEADERLEFT ATTR_PAGE_HEADERLEFT
177 #define SID_SCATTR_PAGE_FOOTERLEFT ATTR_PAGE_FOOTERLEFT
178 #define SID_SCATTR_PAGE_HEADERRIGHT ATTR_PAGE_HEADERRIGHT
179 #define SID_SCATTR_PAGE_FOOTERRIGHT ATTR_PAGE_FOOTERRIGHT
180 #define SID_SCATTR_PAGE_FORMULAS ATTR_PAGE_FORMULAS
181 #define SID_SCATTR_PAGE_NULLVALS ATTR_PAGE_NULLVALS
182 #define SID_SCATTR_PAGE_SCALETO ATTR_PAGE_SCALETO
186 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */