1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
29*cdf0e10cSrcweir#define _EXTENSIONS_DBP_DBPRESID_HRC_
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir#include "dbpilots.hrc"
32*cdf0e10cSrcweir#include "extensio.hrc"
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir//========================================================================
35*cdf0e10cSrcweir// basics
36*cdf0e10cSrcweir
37*cdf0e10cSrcweir#define RID_DIALOG_START				RID_DBP_START
38*cdf0e10cSrcweir#define RID_PAGE_START					RID_DBP_START
39*cdf0e10cSrcweir#define RID_STRING_START				RID_DBP_START
40*cdf0e10cSrcweir#define RID_ERRORBOX_START				RID_DBP_START
41*cdf0e10cSrcweir
42*cdf0e10cSrcweir//========================================================================
43*cdf0e10cSrcweir// strings
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir#define RID_STR_GROUPWIZ_DBFIELD		(RID_STRING_START +  1 )
46*cdf0e10cSrcweir#define RID_STR_COMBOWIZ_DBFIELD		(RID_STRING_START +  2 )
47*cdf0e10cSrcweir#define RID_STR_LISTWIZARD_TITLE		(RID_STRING_START +  3 )
48*cdf0e10cSrcweir#define RID_STR_COMBOWIZARD_TITLE		(RID_STRING_START +  4 )
49*cdf0e10cSrcweir#define RID_STR_COULDNOTOPENTABLE		(RID_STRING_START +  5 )
50*cdf0e10cSrcweir#define RID_STR_DATEPOSTFIX				(RID_STRING_START +  6 )
51*cdf0e10cSrcweir#define RID_STR_TIMEPOSTFIX				(RID_STRING_START +  7 )
52*cdf0e10cSrcweir#define RID_STR_TYPE_QUERY				(RID_STRING_START +  8 )
53*cdf0e10cSrcweir#define RID_STR_TYPE_TABLE				(RID_STRING_START +  9 )
54*cdf0e10cSrcweir#define RID_STR_TYPE_COMMAND			(RID_STRING_START + 10 )
55*cdf0e10cSrcweir
56*cdf0e10cSrcweir// please adjust RID_STRING_END (below) when adding new strings
57*cdf0e10cSrcweir#define RID_STRING_END					RID_STR_TIMEPOSTFIX
58*cdf0e10cSrcweir
59*cdf0e10cSrcweir//========================================================================
60*cdf0e10cSrcweir// dialogs
61*cdf0e10cSrcweir
62*cdf0e10cSrcweir#define RID_DLG_GROUPBOXWIZARD			( RID_DIALOG_START +  1 )
63*cdf0e10cSrcweir#define RID_DLG_LISTCOMBOWIZARD			( RID_DIALOG_START +  2 )
64*cdf0e10cSrcweir#define RID_DLG_GRIDWIZARD				( RID_DIALOG_START +  3 )
65*cdf0e10cSrcweir
66*cdf0e10cSrcweir// please adjust RID_DIALOG_END (below) when adding new dialogs
67*cdf0e10cSrcweir#define RID_DIALOG_END					RID_DLG_GRIDWIZARD
68*cdf0e10cSrcweir
69*cdf0e10cSrcweir//========================================================================
70*cdf0e10cSrcweir// tab pages
71*cdf0e10cSrcweir
72*cdf0e10cSrcweir#define RID_PAGE_TABLESELECTION				( RID_PAGE_START +  1 )
73*cdf0e10cSrcweir#define RID_PAGE_GROUPRADIOSELECTION		( RID_PAGE_START +  2 )
74*cdf0e10cSrcweir#define RID_PAGE_DEFAULTFIELDSELECTION		( RID_PAGE_START +  3 )
75*cdf0e10cSrcweir#define RID_PAGE_OPTIONVALUES				( RID_PAGE_START +  4 )
76*cdf0e10cSrcweir#define RID_PAGE_OPTION_DBFIELD				( RID_PAGE_START +  5 )
77*cdf0e10cSrcweir#define RID_PAGE_OPTIONS_FINAL				( RID_PAGE_START +  6 )
78*cdf0e10cSrcweir#define RID_PAGE_LCW_CONTENTSELECTION_TABLE	( RID_PAGE_START +  7 )
79*cdf0e10cSrcweir#define RID_PAGE_LCW_CONTENTSELECTION_FIELD	( RID_PAGE_START +  8 )
80*cdf0e10cSrcweir#define RID_PAGE_LCW_FIELDLINK				( RID_PAGE_START +  9 )
81*cdf0e10cSrcweir#define RID_PAGE_GW_FIELDSELECTION			( RID_PAGE_START + 10 )
82*cdf0e10cSrcweir#define RID_PAGE_FORM_DATASOURCE_STATUS		( RID_PAGE_START + 11 )
83*cdf0e10cSrcweir
84*cdf0e10cSrcweir// please adjust RID_PAGE_END (below) when adding new tab pages
85*cdf0e10cSrcweir#define RID_PAGE_END						RID_PAGE_GW_FIELDSELECTION
86*cdf0e10cSrcweir
87*cdf0e10cSrcweir//========================================================================
88*cdf0e10cSrcweir// ErrorBox
89*cdf0e10cSrcweir
90*cdf0e10cSrcweir#define RID_ERR_INVALID_FORM_CONNECTION		( RID_ERRORBOX_START +  1 )
91*cdf0e10cSrcweir
92*cdf0e10cSrcweir// please adjust RID_ERRORBOX_END (below) when adding new error boxes
93*cdf0e10cSrcweir#define RID_ERRORBOX_END					RID_ERR_INVALID_FORM_CONNECTION
94*cdf0e10cSrcweir
95*cdf0e10cSrcweir
96*cdf0e10cSrcweir//========================================================================
97*cdf0e10cSrcweir//========================================================================
98*cdf0e10cSrcweir//= range checks
99*cdf0e10cSrcweir
100*cdf0e10cSrcweir#if RID_STRING_END > RID_DBP_END
101*cdf0e10cSrcweir	#error "please adjust the resource id ranges!!"
102*cdf0e10cSrcweir#endif
103*cdf0e10cSrcweir#if RID_DIALOG_END > RID_DBP_END
104*cdf0e10cSrcweir	#error "please adjust the resource id ranges!!"
105*cdf0e10cSrcweir#endif
106*cdf0e10cSrcweir#if RID_PAGE_END > RID_DBP_END
107*cdf0e10cSrcweir	#error "please adjust the resource id ranges!!"
108*cdf0e10cSrcweir#endif
109*cdf0e10cSrcweir#if RID_ERRORBOX_END > RID_DBP_END
110*cdf0e10cSrcweir	#error "please adjust the resource id ranges!!"
111*cdf0e10cSrcweir#endif
112*cdf0e10cSrcweir
113*cdf0e10cSrcweir//========================================================================
114*cdf0e10cSrcweir// local ids
115*cdf0e10cSrcweir
116*cdf0e10cSrcweir//........................................................................
117*cdf0e10cSrcweir// FixedLine
118*cdf0e10cSrcweir
119*cdf0e10cSrcweir#define FL_DATA						1
120*cdf0e10cSrcweir#define FL_DEFAULTSELECTION			2
121*cdf0e10cSrcweir#define FL_OPTIONVALUES				3
122*cdf0e10cSrcweir#define FL_DATABASEFIELD_EXPL		4
123*cdf0e10cSrcweir#define FL_NAMEIT					5
124*cdf0e10cSrcweir#define FL_FRAME					6
125*cdf0e10cSrcweir#define FL_FORMSETINGS				7
126*cdf0e10cSrcweir
127*cdf0e10cSrcweir//........................................................................
128*cdf0e10cSrcweir// FixedText
129*cdf0e10cSrcweir
130*cdf0e10cSrcweir#define FT_DATASOURCE				 1
131*cdf0e10cSrcweir#define FT_TABLE					 2
132*cdf0e10cSrcweir#define	FT_RADIOLABELS				 3
133*cdf0e10cSrcweir#define FT_RADIOBUTTONS				 4
134*cdf0e10cSrcweir#define FT_DEFAULTSELECTION			 5
135*cdf0e10cSrcweir#define FT_OPTIONVALUES_EXPL		 6
136*cdf0e10cSrcweir#define FT_OPTIONVALUES				 7
137*cdf0e10cSrcweir#define FT_DATABASEFIELD_EXPL		 8
138*cdf0e10cSrcweir#define FT_DATABASEFIELD_QUEST		 9
139*cdf0e10cSrcweir#define FT_NAMEIT					10
140*cdf0e10cSrcweir#define FT_THATSALL					11
141*cdf0e10cSrcweir#define FT_SELECTTABLE_LABEL		12
142*cdf0e10cSrcweir#define FT_TABLEFIELDS				13
143*cdf0e10cSrcweir#define FT_DISPLAYEDFIELD			14
144*cdf0e10cSrcweir#define FT_CONTENTFIELD_INFO		15
145*cdf0e10cSrcweir#define FT_VALUELISTFIELD			16
146*cdf0e10cSrcweir#define FT_TABLEFIELD				17
147*cdf0e10cSrcweir#define FT_EXPLANATION				18
148*cdf0e10cSrcweir#define FT_EXISTING_FIELDS			19
149*cdf0e10cSrcweir#define FT_SELECTED_FIELDS			20
150*cdf0e10cSrcweir#define FT_FIELDLINK_DESC			21
151*cdf0e10cSrcweir#define FT_FORMDATASOURCELABEL		22
152*cdf0e10cSrcweir#define FT_FORMDATASOURCE			23
153*cdf0e10cSrcweir#define FT_FORMTABLELABEL			24
154*cdf0e10cSrcweir#define FT_FORMTABLE				25
155*cdf0e10cSrcweir#define FT_FORMCONTENTTYPELABEL		26
156*cdf0e10cSrcweir#define FT_FORMCONTENTTYPE			27
157*cdf0e10cSrcweir
158*cdf0e10cSrcweir//........................................................................
159*cdf0e10cSrcweir// ListBox
160*cdf0e10cSrcweir
161*cdf0e10cSrcweir#define LB_DATASOURCE				1
162*cdf0e10cSrcweir#define LB_TABLE					2
163*cdf0e10cSrcweir#define LB_RADIOBUTTONS				3
164*cdf0e10cSrcweir#define LB_DEFSELECTIONFIELD		3
165*cdf0e10cSrcweir#define LB_STOREINFIELD				4
166*cdf0e10cSrcweir#define LB_SELECTTABLE				5
167*cdf0e10cSrcweir#define LB_SELECTFIELD				6
168*cdf0e10cSrcweir#define LB_EXISTING_FIELDS			7
169*cdf0e10cSrcweir#define LB_SELECTED_FIELDS			8
170*cdf0e10cSrcweir
171*cdf0e10cSrcweir//........................................................................
172*cdf0e10cSrcweir// Edit
173*cdf0e10cSrcweir
174*cdf0e10cSrcweir#define ET_RADIOLABELS				1
175*cdf0e10cSrcweir#define ET_OPTIONVALUE				2
176*cdf0e10cSrcweir#define ET_NAMEIT					3
177*cdf0e10cSrcweir#define ET_DISPLAYEDFIELD			4
178*cdf0e10cSrcweir
179*cdf0e10cSrcweir//........................................................................
180*cdf0e10cSrcweir// PushButton
181*cdf0e10cSrcweir
182*cdf0e10cSrcweir#define PB_MOVETORIGHT				1
183*cdf0e10cSrcweir#define PB_MOVETOLEFT				2
184*cdf0e10cSrcweir#define PB_FIELDRIGHT				3
185*cdf0e10cSrcweir#define PB_ALLFIELDSRIGHT			4
186*cdf0e10cSrcweir#define PB_FIELDLEFT				5
187*cdf0e10cSrcweir#define PB_ALLFIELDSLEFT			6
188*cdf0e10cSrcweir#define PB_FORMDATASOURCE			7
189*cdf0e10cSrcweir
190*cdf0e10cSrcweir//........................................................................
191*cdf0e10cSrcweir// RadioButton
192*cdf0e10cSrcweir
193*cdf0e10cSrcweir#define RB_DEFSELECTION_YES			1
194*cdf0e10cSrcweir#define RB_DEFSELECTION_NO			2
195*cdf0e10cSrcweir#define RB_STOREINFIELD_YES			3
196*cdf0e10cSrcweir#define RB_STOREINFIELD_NO			4
197*cdf0e10cSrcweir
198*cdf0e10cSrcweir//........................................................................
199*cdf0e10cSrcweir// ComboBox
200*cdf0e10cSrcweir
201*cdf0e10cSrcweir#define CMB_VALUELISTFIELD			1
202*cdf0e10cSrcweir#define CMB_TABLEFIELD				2
203*cdf0e10cSrcweir
204*cdf0e10cSrcweir//........................................................................
205*cdf0e10cSrcweir// String
206*cdf0e10cSrcweir
207*cdf0e10cSrcweir#define STR_FIELDINFO_LISTBOX		1
208*cdf0e10cSrcweir#define STR_FIELDINFO_COMBOBOX		2
209*cdf0e10cSrcweir
210*cdf0e10cSrcweir//........................................................................
211*cdf0e10cSrcweir// Image
212*cdf0e10cSrcweir
213*cdf0e10cSrcweir#define IMG_TABLE                   1
214*cdf0e10cSrcweir#define IMG_TABLE_HC                2
215*cdf0e10cSrcweir#define IMG_QUERY                   3
216*cdf0e10cSrcweir#define IMG_QUERY_HC                4
217*cdf0e10cSrcweir
218*cdf0e10cSrcweir//========================================================================
219*cdf0e10cSrcweir// defines
220*cdf0e10cSrcweir
221*cdf0e10cSrcweir#define WINDOW_SIZE_X		260
222*cdf0e10cSrcweir#define WINDOW_SIZE_Y		185
223*cdf0e10cSrcweir#define WINDOW_HALF_SIZE_X	( WINDOW_SIZE_X / 2 )
224*cdf0e10cSrcweir
225*cdf0e10cSrcweir#define BUTTON_SIZE_X		50
226*cdf0e10cSrcweir#define BUTTON_SIZE_Y		14
227*cdf0e10cSrcweir
228*cdf0e10cSrcweir#define ITEM_BUTTON_SIZE_X	20
229*cdf0e10cSrcweir#define ITEM_BUTTON_SIZE_Y	12
230*cdf0e10cSrcweir
231*cdf0e10cSrcweir
232*cdf0e10cSrcweir
233*cdf0e10cSrcweir#endif // _EXTENSIONS_DBP_DBPRESID_HRC_
234*cdf0e10cSrcweir
235