summaryrefslogtreecommitdiff
path: root/sc/inc/scitems.hxx
blob: 8eb0c87997a3563633f36f2fd889e59ebd82be5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#ifndef SC_ITEMS_HXX
#define SC_ITEMS_HXX

#include <svx/svxids.hrc>

//	EditEngine is not allowed to define it's own ITEMID's
#define _EEITEMID_HXX

//--------------------------
// Item-IDs for UI-MsgPool:
//--------------------------

//!	shall be moved to the below-1000 range!

#define MSGPOOL_START				1100
//--------------------------------------
#define SCITEM_STRING       		1100
#define SCITEM_SEARCHDATA			1101
#define SCITEM_SORTDATA				1102
#define SCITEM_QUERYDATA			1103
#define SCITEM_SUBTDATA     		1104
#define SCITEM_CONSOLIDATEDATA      1105
#define SCITEM_PIVOTDATA		    1106
#define SCITEM_SOLVEDATA            1107
#define SCITEM_USERLIST             1108
#define SCITEM_PRINTWARN            1109
//--------------------------------------
#define MSGPOOL_END                 1109

//-------------------------
// Item-IDs for attributes:
//-------------------------
#define ATTR_STARTINDEX			100		// begin of attributes

#define ATTR_PATTERN_START		100		// begin of cell-attribute-pattern

#define ATTR_FONT				100		// begin of cell-attributes
#define ATTR_FONT_HEIGHT 		101
#define ATTR_FONT_WEIGHT		102
#define	ATTR_FONT_POSTURE		103
#define	ATTR_FONT_UNDERLINE		104
#define	ATTR_FONT_OVERLINE		105
#define	ATTR_FONT_CROSSEDOUT	106
#define ATTR_FONT_CONTOUR		107
#define ATTR_FONT_SHADOWED		108
#define ATTR_FONT_COLOR			109
#define ATTR_FONT_LANGUAGE		110
#define ATTR_CJK_FONT			111
#define ATTR_CJK_FONT_HEIGHT 	112
#define ATTR_CJK_FONT_WEIGHT	113
#define	ATTR_CJK_FONT_POSTURE	114
#define ATTR_CJK_FONT_LANGUAGE	115
#define ATTR_CTL_FONT			116
#define ATTR_CTL_FONT_HEIGHT 	117
#define ATTR_CTL_FONT_WEIGHT	118
#define	ATTR_CTL_FONT_POSTURE	119
#define ATTR_CTL_FONT_LANGUAGE	120
#define ATTR_FONT_EMPHASISMARK	121
#define ATTR_USERDEF			122		// not saved in binary files
#define ATTR_FONT_WORDLINE		123
#define ATTR_FONT_RELIEF		124
#define ATTR_HYPHENATE			125
#define ATTR_SCRIPTSPACE		126
#define ATTR_HANGPUNCTUATION	127
#define ATTR_FORBIDDEN_RULES	128
#define	ATTR_HOR_JUSTIFY		129
#define ATTR_HOR_JUSTIFY_METHOD 130
#define ATTR_INDENT				131
#define	ATTR_VER_JUSTIFY		132
#define ATTR_VER_JUSTIFY_METHOD 133
#define ATTR_STACKED            134
#define ATTR_ROTATE_VALUE		135
#define ATTR_ROTATE_MODE		136
#define ATTR_VERTICAL_ASIAN		137
#define ATTR_WRITINGDIR			138
#define ATTR_LINEBREAK			139
#define ATTR_SHRINKTOFIT        140
#define ATTR_BORDER_TLBR        141
#define ATTR_BORDER_BLTR        142
#define ATTR_MARGIN             143
#define ATTR_MERGE              144
#define ATTR_MERGE_FLAG         145
#define ATTR_VALUE_FORMAT       146
#define ATTR_LANGUAGE_FORMAT    147
#define ATTR_BACKGROUND         148
#define ATTR_PROTECTION         149
#define ATTR_BORDER             150
#define ATTR_BORDER_INNER       151     // inside, because of template-EditDialog
#define ATTR_SHADOW             152
#define ATTR_VALIDDATA          153
#define ATTR_CONDITIONAL        154

#define ATTR_PATTERN_END        154     // end cell-attribute-pattern

#define ATTR_PATTERN            155
                                        // page attributes
#define ATTR_LRSPACE            156     // editor: PageDesc-TabPage
#define ATTR_ULSPACE            157
#define ATTR_PAGE               158
#define ATTR_PAGE_PAPERTRAY     159
#define ATTR_PAGE_PAPERBIN      160
#define ATTR_PAGE_SIZE          161
#define ATTR_PAGE_MAXSIZE       162
#define ATTR_PAGE_HORCENTER     163
#define ATTR_PAGE_VERCENTER     164

#define ATTR_PAGE_ON            165     // editor: header/footer-page
#define ATTR_PAGE_DYNAMIC       166
#define ATTR_PAGE_SHARED        167

#define ATTR_PAGE_NOTES         168     // editor: table
#define ATTR_PAGE_GRID          169
#define ATTR_PAGE_HEADERS       170
#define ATTR_PAGE_CHARTS        171
#define ATTR_PAGE_OBJECTS       172
#define ATTR_PAGE_DRAWINGS      173
#define ATTR_PAGE_TOPDOWN       174
#define ATTR_PAGE_SCALE         175
#define ATTR_PAGE_SCALETOPAGES  176
#define ATTR_PAGE_FIRSTPAGENO   177

#define ATTR_PAGE_PRINTAREA     178     // editor: print areas
#define ATTR_PAGE_REPEATROW     179
#define ATTR_PAGE_REPEATCOL     180
#define ATTR_PAGE_PRINTTABLES   181

#define ATTR_PAGE_HEADERLEFT    182     // contents of header/
#define ATTR_PAGE_FOOTERLEFT    183     // footer (left)
#define ATTR_PAGE_HEADERRIGHT   184     // contents of header/
#define ATTR_PAGE_FOOTERRIGHT   185     // footer (right)
#define ATTR_PAGE_HEADERSET     186     // the corresponding sets
#define ATTR_PAGE_FOOTERSET     187

#define ATTR_PAGE_FORMULAS      188
#define ATTR_PAGE_NULLVALS      189

#define ATTR_PAGE_SCALETO       190     // #i8868# scale printout to width/height

#define ATTR_ENDINDEX           ATTR_PAGE_SCALETO        // end of pool-range

//--------------------------------
// Dummy Slot-IDs for dialogs
//--------------------------------
#define SID_SCATTR_PAGE_NOTES			ATTR_PAGE_NOTES
#define SID_SCATTR_PAGE_GRID			ATTR_PAGE_GRID
#define SID_SCATTR_PAGE_HEADERS			ATTR_PAGE_HEADERS
#define SID_SCATTR_PAGE_CHARTS			ATTR_PAGE_CHARTS
#define SID_SCATTR_PAGE_OBJECTS			ATTR_PAGE_OBJECTS
#define SID_SCATTR_PAGE_DRAWINGS		ATTR_PAGE_DRAWINGS
#define SID_SCATTR_PAGE_TOPDOWN			ATTR_PAGE_TOPDOWN
#define SID_SCATTR_PAGE_SCALE			ATTR_PAGE_SCALE
#define SID_SCATTR_PAGE_SCALETOPAGES	ATTR_PAGE_SCALETOPAGES
#define SID_SCATTR_PAGE_FIRSTPAGENO		ATTR_PAGE_FIRSTPAGENO
#define SID_SCATTR_PAGE_PRINTAREA		ATTR_PAGE_PRINTAREA
#define SID_SCATTR_PAGE_REPEATROW		ATTR_PAGE_REPEATROW
#define SID_SCATTR_PAGE_REPEATCOL		ATTR_PAGE_REPEATCOL
#define SID_SCATTR_PAGE_PRINTTABLES		ATTR_PAGE_PRINTTABLES
#define SID_SCATTR_PAGE_HEADERLEFT		ATTR_PAGE_HEADERLEFT
#define SID_SCATTR_PAGE_FOOTERLEFT		ATTR_PAGE_FOOTERLEFT
#define SID_SCATTR_PAGE_HEADERRIGHT		ATTR_PAGE_HEADERRIGHT
#define SID_SCATTR_PAGE_FOOTERRIGHT		ATTR_PAGE_FOOTERRIGHT
#define	SID_SCATTR_PAGE_FORMULAS		ATTR_PAGE_FORMULAS
#define SID_SCATTR_PAGE_NULLVALS	 	ATTR_PAGE_NULLVALS
#define SID_SCATTR_PAGE_SCALETO         ATTR_PAGE_SCALETO

#endif


/* vim:set shiftwidth=4 softtabstop=4 expandtab: */