1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
29 #define _EXTENSIONS_DBP_DBPRESID_HRC_
31 #include "dbpilots.hrc"
33 //========================================================================
36 #define RID_DIALOG_START RID_DBP_START
37 #define RID_PAGE_START RID_DBP_START
38 #define RID_STRING_START RID_DBP_START
39 #define RID_ERRORBOX_START RID_DBP_START
41 //========================================================================
44 #define RID_STR_GROUPWIZ_DBFIELD (RID_STRING_START + 1 )
45 #define RID_STR_COMBOWIZ_DBFIELD (RID_STRING_START + 2 )
46 #define RID_STR_LISTWIZARD_TITLE (RID_STRING_START + 3 )
47 #define RID_STR_COMBOWIZARD_TITLE (RID_STRING_START + 4 )
48 #define RID_STR_COULDNOTOPENTABLE (RID_STRING_START + 5 )
49 #define RID_STR_DATEPOSTFIX (RID_STRING_START + 6 )
50 #define RID_STR_TIMEPOSTFIX (RID_STRING_START + 7 )
51 #define RID_STR_TYPE_QUERY (RID_STRING_START + 8 )
52 #define RID_STR_TYPE_TABLE (RID_STRING_START + 9 )
53 #define RID_STR_TYPE_COMMAND (RID_STRING_START + 10 )
55 // please adjust RID_STRING_END (below) when adding new strings
56 #define RID_STRING_END RID_STR_TIMEPOSTFIX
58 //========================================================================
61 #define RID_DLG_GROUPBOXWIZARD ( RID_DIALOG_START + 1 )
62 #define RID_DLG_LISTCOMBOWIZARD ( RID_DIALOG_START + 2 )
63 #define RID_DLG_GRIDWIZARD ( RID_DIALOG_START + 3 )
65 // please adjust RID_DIALOG_END (below) when adding new dialogs
66 #define RID_DIALOG_END RID_DLG_GRIDWIZARD
68 //========================================================================
71 #define RID_PAGE_TABLESELECTION ( RID_PAGE_START + 1 )
72 #define RID_PAGE_GROUPRADIOSELECTION ( RID_PAGE_START + 2 )
73 #define RID_PAGE_DEFAULTFIELDSELECTION ( RID_PAGE_START + 3 )
74 #define RID_PAGE_OPTIONVALUES ( RID_PAGE_START + 4 )
75 #define RID_PAGE_OPTION_DBFIELD ( RID_PAGE_START + 5 )
76 #define RID_PAGE_OPTIONS_FINAL ( RID_PAGE_START + 6 )
77 #define RID_PAGE_LCW_CONTENTSELECTION_TABLE ( RID_PAGE_START + 7 )
78 #define RID_PAGE_LCW_CONTENTSELECTION_FIELD ( RID_PAGE_START + 8 )
79 #define RID_PAGE_LCW_FIELDLINK ( RID_PAGE_START + 9 )
80 #define RID_PAGE_GW_FIELDSELECTION ( RID_PAGE_START + 10 )
81 #define RID_PAGE_FORM_DATASOURCE_STATUS ( RID_PAGE_START + 11 )
83 // please adjust RID_PAGE_END (below) when adding new tab pages
84 #define RID_PAGE_END RID_PAGE_GW_FIELDSELECTION
86 //========================================================================
89 #define RID_ERR_INVALID_FORM_CONNECTION ( RID_ERRORBOX_START + 1 )
91 // please adjust RID_ERRORBOX_END (below) when adding new error boxes
92 #define RID_ERRORBOX_END RID_ERR_INVALID_FORM_CONNECTION
95 //========================================================================
96 //========================================================================
99 #if RID_STRING_END > RID_DBP_END
100 #error "please adjust the resource id ranges!!"
102 #if RID_DIALOG_END > RID_DBP_END
103 #error "please adjust the resource id ranges!!"
105 #if RID_PAGE_END > RID_DBP_END
106 #error "please adjust the resource id ranges!!"
108 #if RID_ERRORBOX_END > RID_DBP_END
109 #error "please adjust the resource id ranges!!"
112 //========================================================================
115 //........................................................................
119 #define FL_DEFAULTSELECTION 2
120 #define FL_OPTIONVALUES 3
121 #define FL_DATABASEFIELD_EXPL 4
124 #define FL_FORMSETINGS 7
126 //........................................................................
129 #define FT_DATASOURCE 1
131 #define FT_RADIOLABELS 3
132 #define FT_RADIOBUTTONS 4
133 #define FT_DEFAULTSELECTION 5
134 #define FT_OPTIONVALUES_EXPL 6
135 #define FT_OPTIONVALUES 7
136 #define FT_DATABASEFIELD_EXPL 8
137 #define FT_DATABASEFIELD_QUEST 9
139 #define FT_THATSALL 11
140 #define FT_SELECTTABLE_LABEL 12
141 #define FT_TABLEFIELDS 13
142 #define FT_DISPLAYEDFIELD 14
143 #define FT_CONTENTFIELD_INFO 15
144 #define FT_VALUELISTFIELD 16
145 #define FT_TABLEFIELD 17
146 #define FT_EXPLANATION 18
147 #define FT_EXISTING_FIELDS 19
148 #define FT_SELECTED_FIELDS 20
149 #define FT_FIELDLINK_DESC 21
150 #define FT_FORMDATASOURCELABEL 22
151 #define FT_FORMDATASOURCE 23
152 #define FT_FORMTABLELABEL 24
153 #define FT_FORMTABLE 25
154 #define FT_FORMCONTENTTYPELABEL 26
155 #define FT_FORMCONTENTTYPE 27
157 //........................................................................
160 #define LB_DATASOURCE 1
162 #define LB_RADIOBUTTONS 3
163 #define LB_DEFSELECTIONFIELD 3
164 #define LB_STOREINFIELD 4
165 #define LB_SELECTTABLE 5
166 #define LB_SELECTFIELD 6
167 #define LB_EXISTING_FIELDS 7
168 #define LB_SELECTED_FIELDS 8
170 //........................................................................
173 #define ET_RADIOLABELS 1
174 #define ET_OPTIONVALUE 2
176 #define ET_DISPLAYEDFIELD 4
178 //........................................................................
181 #define PB_MOVETORIGHT 1
182 #define PB_MOVETOLEFT 2
183 #define PB_FIELDRIGHT 3
184 #define PB_ALLFIELDSRIGHT 4
185 #define PB_FIELDLEFT 5
186 #define PB_ALLFIELDSLEFT 6
187 #define PB_FORMDATASOURCE 7
189 //........................................................................
192 #define RB_DEFSELECTION_YES 1
193 #define RB_DEFSELECTION_NO 2
194 #define RB_STOREINFIELD_YES 3
195 #define RB_STOREINFIELD_NO 4
197 //........................................................................
200 #define CMB_VALUELISTFIELD 1
201 #define CMB_TABLEFIELD 2
203 //........................................................................
206 #define STR_FIELDINFO_LISTBOX 1
207 #define STR_FIELDINFO_COMBOBOX 2
209 //........................................................................
213 #define IMG_TABLE_HC 2
215 #define IMG_QUERY_HC 4
217 //========================================================================
220 #define WINDOW_SIZE_X 260
221 #define WINDOW_SIZE_Y 185
222 #define WINDOW_HALF_SIZE_X ( WINDOW_SIZE_X / 2 )
224 #define BUTTON_SIZE_X 50
225 #define BUTTON_SIZE_Y 14
227 #define ITEM_BUTTON_SIZE_X 20
228 #define ITEM_BUTTON_SIZE_Y 12
232 #endif // _EXTENSIONS_DBP_DBPRESID_HRC_