1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dbpresid.hrc,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
32 #define _EXTENSIONS_DBP_DBPRESID_HRC_
34 #ifndef EXTENSIONS_INC_EXTENSIO_HRC
35 #include "extensio.hrc"
38 //========================================================================
41 #define RID_DIALOG_START RID_DBP_START
42 #define RID_PAGE_START RID_DBP_START
43 #define RID_STRING_START RID_DBP_START
44 #define RID_ERRORBOX_START RID_DBP_START
46 //========================================================================
49 #define RID_STR_GROUPWIZ_DBFIELD (RID_STRING_START + 1 )
50 #define RID_STR_COMBOWIZ_DBFIELD (RID_STRING_START + 2 )
51 #define RID_STR_LISTWIZARD_TITLE (RID_STRING_START + 3 )
52 #define RID_STR_COMBOWIZARD_TITLE (RID_STRING_START + 4 )
53 #define RID_STR_COULDNOTOPENTABLE (RID_STRING_START + 5 )
54 #define RID_STR_DATEPOSTFIX (RID_STRING_START + 6 )
55 #define RID_STR_TIMEPOSTFIX (RID_STRING_START + 7 )
56 #define RID_STR_TYPE_QUERY (RID_STRING_START + 8 )
57 #define RID_STR_TYPE_TABLE (RID_STRING_START + 9 )
58 #define RID_STR_TYPE_COMMAND (RID_STRING_START + 10 )
60 // please adjust RID_STRING_END (below) when adding new strings
61 #define RID_STRING_END RID_STR_TIMEPOSTFIX
63 //========================================================================
66 #define RID_DLG_GROUPBOXWIZARD ( RID_DIALOG_START + 1 )
67 #define RID_DLG_LISTCOMBOWIZARD ( RID_DIALOG_START + 2 )
68 #define RID_DLG_GRIDWIZARD ( RID_DIALOG_START + 3 )
70 // please adjust RID_DIALOG_END (below) when adding new dialogs
71 #define RID_DIALOG_END RID_DLG_GRIDWIZARD
73 //========================================================================
76 #define RID_PAGE_TABLESELECTION ( RID_PAGE_START + 1 )
77 #define RID_PAGE_GROUPRADIOSELECTION ( RID_PAGE_START + 2 )
78 #define RID_PAGE_DEFAULTFIELDSELECTION ( RID_PAGE_START + 3 )
79 #define RID_PAGE_OPTIONVALUES ( RID_PAGE_START + 4 )
80 #define RID_PAGE_OPTION_DBFIELD ( RID_PAGE_START + 5 )
81 #define RID_PAGE_OPTIONS_FINAL ( RID_PAGE_START + 6 )
82 #define RID_PAGE_LCW_CONTENTSELECTION_TABLE ( RID_PAGE_START + 7 )
83 #define RID_PAGE_LCW_CONTENTSELECTION_FIELD ( RID_PAGE_START + 8 )
84 #define RID_PAGE_LCW_FIELDLINK ( RID_PAGE_START + 9 )
85 #define RID_PAGE_GW_FIELDSELECTION ( RID_PAGE_START + 10 )
86 #define RID_PAGE_FORM_DATASOURCE_STATUS ( RID_PAGE_START + 11 )
88 // please adjust RID_PAGE_END (below) when adding new tab pages
89 #define RID_PAGE_END RID_PAGE_GW_FIELDSELECTION
91 //========================================================================
94 #define RID_ERR_INVALID_FORM_CONNECTION ( RID_ERRORBOX_START + 1 )
96 // please adjust RID_ERRORBOX_END (below) when adding new error boxes
97 #define RID_ERRORBOX_END RID_ERR_INVALID_FORM_CONNECTION
100 //========================================================================
101 //========================================================================
104 #if RID_STRING_END > RID_DBP_END
105 #error "please adjust the resource id ranges!!"
107 #if RID_DIALOG_END > RID_DBP_END
108 #error "please adjust the resource id ranges!!"
110 #if RID_PAGE_END > RID_DBP_END
111 #error "please adjust the resource id ranges!!"
113 #if RID_ERRORBOX_END > RID_DBP_END
114 #error "please adjust the resource id ranges!!"
117 //========================================================================
120 //........................................................................
124 #define FL_DEFAULTSELECTION 2
125 #define FL_OPTIONVALUES 3
126 #define FL_DATABASEFIELD_EXPL 4
129 #define FL_FORMSETINGS 7
131 //........................................................................
134 #define FT_DATASOURCE 1
136 #define FT_RADIOLABELS 3
137 #define FT_RADIOBUTTONS 4
138 #define FT_DEFAULTSELECTION 5
139 #define FT_OPTIONVALUES_EXPL 6
140 #define FT_OPTIONVALUES 7
141 #define FT_DATABASEFIELD_EXPL 8
142 #define FT_DATABASEFIELD_QUEST 9
144 #define FT_THATSALL 11
145 #define FT_SELECTTABLE_LABEL 12
146 #define FT_TABLEFIELDS 13
147 #define FT_DISPLAYEDFIELD 14
148 #define FT_CONTENTFIELD_INFO 15
149 #define FT_VALUELISTFIELD 16
150 #define FT_TABLEFIELD 17
151 #define FT_EXPLANATION 18
152 #define FT_EXISTING_FIELDS 19
153 #define FT_SELECTED_FIELDS 20
154 #define FT_FIELDLINK_DESC 21
155 #define FT_FORMDATASOURCELABEL 22
156 #define FT_FORMDATASOURCE 23
157 #define FT_FORMTABLELABEL 24
158 #define FT_FORMTABLE 25
159 #define FT_FORMCONTENTTYPELABEL 26
160 #define FT_FORMCONTENTTYPE 27
162 //........................................................................
165 #define LB_DATASOURCE 1
167 #define LB_RADIOBUTTONS 3
168 #define LB_DEFSELECTIONFIELD 3
169 #define LB_STOREINFIELD 4
170 #define LB_SELECTTABLE 5
171 #define LB_SELECTFIELD 6
172 #define LB_EXISTING_FIELDS 7
173 #define LB_SELECTED_FIELDS 8
175 //........................................................................
178 #define ET_RADIOLABELS 1
179 #define ET_OPTIONVALUE 2
181 #define ET_DISPLAYEDFIELD 4
183 //........................................................................
186 #define PB_MOVETORIGHT 1
187 #define PB_MOVETOLEFT 2
188 #define PB_FIELDRIGHT 3
189 #define PB_ALLFIELDSRIGHT 4
190 #define PB_FIELDLEFT 5
191 #define PB_ALLFIELDSLEFT 6
192 #define PB_FORMDATASOURCE 7
194 //........................................................................
197 #define RB_DEFSELECTION_YES 1
198 #define RB_DEFSELECTION_NO 2
199 #define RB_STOREINFIELD_YES 3
200 #define RB_STOREINFIELD_NO 4
202 //........................................................................
205 #define CMB_VALUELISTFIELD 1
206 #define CMB_TABLEFIELD 2
208 //........................................................................
211 #define STR_FIELDINFO_LISTBOX 1
212 #define STR_FIELDINFO_COMBOBOX 2
214 //........................................................................
218 #define IMG_TABLE_HC 2
220 #define IMG_QUERY_HC 4
222 //========================================================================
225 #define WINDOW_SIZE_X 260
226 #define WINDOW_SIZE_Y 185
227 #define WINDOW_HALF_SIZE_X ( WINDOW_SIZE_X / 2 )
229 #define BUTTON_SIZE_X 50
230 #define BUTTON_SIZE_Y 14
232 #define ITEM_BUTTON_SIZE_X 20
233 #define ITEM_BUTTON_SIZE_Y 12
237 #endif // _EXTENSIONS_DBP_DBPRESID_HRC_