summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/dbpresid.hrc
blob: d7c2e58d95bb41dae5343e0e7ab34001ee345022 (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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
/*************************************************************************
 *
 *  $RCSfile: dbpresid.hrc,v $
 *
 *  $Revision: 1.7 $
 *
 *  last change: $Author: fs $ $Date: 2001-05-30 16:46:03 $
 *
 *  The Contents of this file are made available subject to the terms of
 *  either of the following licenses
 *
 *         - GNU Lesser General Public License Version 2.1
 *         - Sun Industry Standards Source License Version 1.1
 *
 *  Sun Microsystems Inc., October, 2000
 *
 *  GNU Lesser General Public License Version 2.1
 *  =============================================
 *  Copyright 2000 by Sun Microsystems, Inc.
 *  901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License version 2.1, as published by the Free Software Foundation.
 *
 *  This library 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 for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *  MA  02111-1307  USA
 *
 *
 *  Sun Industry Standards Source License Version 1.1
 *  =================================================
 *  The contents of this file are subject to the Sun Industry Standards
 *  Source License Version 1.1 (the "License"); You may not use this file
 *  except in compliance with the License. You may obtain a copy of the
 *  License at http://www.openoffice.org/license.html.
 *
 *  Software provided under this License is provided on an "AS IS" basis,
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 *  See the License for the specific provisions governing your rights and
 *  obligations concerning the Software.
 *
 *  The Initial Developer of the Original Code is: Sun Microsystems, Inc..
 *
 *  Copyright: 2000 by Sun Microsystems, Inc.
 *
 *  All Rights Reserved.
 *
 *  Contributor(s): _______________________________________
 *
 *
 ************************************************************************/

#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
#define _EXTENSIONS_DBP_DBPRESID_HRC_

#ifndef __EXTENSIONS_INC_EXTENSIO_HRC__
#include "extensio.hrc"
#endif

//========================================================================
// basics

#define RID_DIALOG_START                RID_DBP_START
#define RID_PAGE_START                  RID_DBP_START
#define RID_STRING_START                RID_DBP_START
#define RID_ERRORBOX_START              RID_DBP_START

//========================================================================
// strings

#define RID_STR_GROUPWIZ_DBFIELD        (RID_STRING_START +  1 )
#define RID_STR_COMBOWIZ_DBFIELD        (RID_STRING_START +  2 )
#define RID_STR_LISTWIZARD_TITLE        (RID_STRING_START +  3 )
#define RID_STR_COMBOWIZARD_TITLE       (RID_STRING_START +  4 )
#define RID_STR_COULDNOTOPENTABLE       (RID_STRING_START +  5 )
#define RID_STR_DATEPOSTFIX             (RID_STRING_START +  6 )
#define RID_STR_TIMEPOSTFIX             (RID_STRING_START +  7 )
#define RID_STR_TYPE_QUERY              (RID_STRING_START +  8 )
#define RID_STR_TYPE_TABLE              (RID_STRING_START +  9 )
#define RID_STR_TYPE_COMMAND            (RID_STRING_START + 10 )

// please adjust RID_STRING_END (below) when adding new strings
#define RID_STRING_END                  RID_STR_TIMEPOSTFIX

//========================================================================
// dialogs

#define RID_DLG_GROUPBOXWIZARD          ( RID_DIALOG_START +  1 )
#define RID_DLG_LISTCOMBOWIZARD         ( RID_DIALOG_START +  2 )
#define RID_DLG_GRIDWIZARD              ( RID_DIALOG_START +  3 )

// please adjust RID_DIALOG_END (below) when adding new dialogs
#define RID_DIALOG_END                  RID_DLG_GRIDWIZARD

//========================================================================
// tab pages

#define RID_PAGE_TABLESELECTION             ( RID_PAGE_START +  1 )
#define RID_PAGE_GROUPRADIOSELECTION        ( RID_PAGE_START +  2 )
#define RID_PAGE_DEFAULTFIELDSELECTION      ( RID_PAGE_START +  3 )
#define RID_PAGE_OPTIONVALUES               ( RID_PAGE_START +  4 )
#define RID_PAGE_OPTION_DBFIELD             ( RID_PAGE_START +  5 )
#define RID_PAGE_OPTIONS_FINAL              ( RID_PAGE_START +  6 )
#define RID_PAGE_LCW_CONTENTSELECTION_TABLE ( RID_PAGE_START +  7 )
#define RID_PAGE_LCW_CONTENTSELECTION_FIELD ( RID_PAGE_START +  8 )
#define RID_PAGE_LCW_FIELDLINK              ( RID_PAGE_START +  9 )
#define RID_PAGE_GW_FIELDSELECTION          ( RID_PAGE_START + 10 )
#define RID_PAGE_FORM_DATASOURCE_STATUS     ( RID_PAGE_START + 11 )

// please adjust RID_PAGE_END (below) when adding new tab pages
#define RID_PAGE_END                        RID_PAGE_GW_FIELDSELECTION

//========================================================================
// ErrorBox

#define RID_ERR_INVALID_FORM_CONNECTION     ( RID_ERRORBOX_START +  1 )

// please adjust RID_ERRORBOX_END (below) when adding new error boxes
#define RID_ERRORBOX_END                    RID_ERR_INVALID_FORM_CONNECTION


//========================================================================
//========================================================================
//= range checks

#if RID_STRING_END > RID_DBP_END
    #error "please adjust the resource id ranges!!"
#endif
#if RID_DIALOG_END > RID_DBP_END
    #error "please adjust the resource id ranges!!"
#endif
#if RID_PAGE_END > RID_DBP_END
    #error "please adjust the resource id ranges!!"
#endif
#if RID_ERRORBOX_END > RID_DBP_END
    #error "please adjust the resource id ranges!!"
#endif

//========================================================================
// local ids

//........................................................................
// FixedLine

#define FL_DATA                     1
#define FL_DEFAULTSELECTION         2
#define FL_OPTIONVALUES             3
#define FL_DATABASEFIELD_EXPL       4
#define FL_NAMEIT                   5
#define FL_FRAME                    6
#define FL_FORMSETINGS              7

//........................................................................
// FixedText

#define FT_DATASOURCE                1
#define FT_TABLE                     2
#define FT_RADIOLABELS               3
#define FT_RADIOBUTTONS              4
#define FT_DEFAULTSELECTION          5
#define FT_OPTIONVALUES_EXPL         6
#define FT_OPTIONVALUES              7
#define FT_DATABASEFIELD_EXPL        8
#define FT_DATABASEFIELD_QUEST       9
#define FT_NAMEIT                   10
#define FT_THATSALL                 11
#define FT_SELECTTABLE_LABEL        12
#define FT_TABLEFIELDS              13
#define FT_DISPLAYEDFIELD           14
#define FT_CONTENTFIELD_INFO        15
#define FT_VALUELISTFIELD           16
#define FT_TABLEFIELD               17
#define FT_EXPLANATION              18
#define FT_EXISTING_FIELDS          19
#define FT_SELECTED_FIELDS          20
#define FT_FIELDLINK_DESC           21
#define FT_FORMDATASOURCELABEL      22
#define FT_FORMDATASOURCE           23
#define FT_FORMTABLELABEL           24
#define FT_FORMTABLE                25
#define FT_FORMCONTENTTYPELABEL     26
#define FT_FORMCONTENTTYPE          27

//........................................................................
// ListBox

#define LB_DATASOURCE               1
#define LB_TABLE                    2
#define LB_RADIOBUTTONS             3
#define LB_DEFSELECTIONFIELD        3
#define LB_STOREINFIELD             4
#define LB_SELECTTABLE              5
#define LB_SELECTFIELD              6
#define LB_EXISTING_FIELDS          7
#define LB_SELECTED_FIELDS          8

//........................................................................
// Edit

#define ET_RADIOLABELS              1
#define ET_OPTIONVALUE              2
#define ET_NAMEIT                   3
#define ET_DISPLAYEDFIELD           4

//........................................................................
// PushButton

#define PB_MOVETORIGHT              1
#define PB_MOVETOLEFT               2
#define PB_FIELDRIGHT               3
#define PB_ALLFIELDSRIGHT           4
#define PB_FIELDLEFT                5
#define PB_ALLFIELDSLEFT            6

//........................................................................
// RadioButton

#define RB_DEFSELECTION_YES         1
#define RB_DEFSELECTION_NO          2
#define RB_STOREINFIELD_YES         3
#define RB_STOREINFIELD_NO          4

//........................................................................
// ComboBox

#define CMB_VALUELISTFIELD          1
#define CMB_TABLEFIELD              2

//........................................................................
// String

#define STR_FIELDINFO_LISTBOX       1
#define STR_FIELDINFO_COMBOBOX      2

//========================================================================
// defines

#define WINDOW_SIZE_X       260
#define WINDOW_SIZE_Y       185
#define WINDOW_HALF_SIZE_X  ( WINDOW_SIZE_X / 2 )

#define BUTTON_SIZE_X       50
#define BUTTON_SIZE_Y       14

#define ITEM_BUTTON_SIZE_X  20
#define ITEM_BUTTON_SIZE_Y  12



#endif // _EXTENSIONS_DBP_DBPRESID_HRC_

/*************************************************************************
 * history:
 *  $Log: not supported by cvs2svn $
 *  Revision 1.6  2001/03/30 13:15:43  fs
 *  added a description to the laste page of the list box wizard
 *
 *  Revision 1.5  2001/03/21 16:09:15  fs
 *  #85215# use a resource id range which is unique within the whole module
 *
 *  Revision 1.4  2001/03/05 14:53:13  fs
 *  finished the grid control wizard
 *
 *  Revision 1.3  2001/02/28 09:18:30  fs
 *  finalized the list/combo wizard
 *
 *  Revision 1.2  2001/02/23 15:19:08  fs
 *  some changes / centralizations - added the list-/combobox wizard
 *
 *  Revision 1.1  2001/02/21 09:22:51  fs
 *  initial checkin - form control auto pilots
 *
 *
 *  Revision 1.0 14.02.01 10:48:02  fs
 ************************************************************************/