1*80fe9c7bSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*80fe9c7bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*80fe9c7bSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*80fe9c7bSAndrew Rist * distributed with this work for additional information
6*80fe9c7bSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*80fe9c7bSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*80fe9c7bSAndrew Rist * "License"); you may not use this file except in compliance
9*80fe9c7bSAndrew Rist * with the License.  You may obtain a copy of the License at
10*80fe9c7bSAndrew Rist *
11*80fe9c7bSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*80fe9c7bSAndrew Rist *
13*80fe9c7bSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*80fe9c7bSAndrew Rist * software distributed under the License is distributed on an
15*80fe9c7bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*80fe9c7bSAndrew Rist * KIND, either express or implied.  See the License for the
17*80fe9c7bSAndrew Rist * specific language governing permissions and limitations
18*80fe9c7bSAndrew Rist * under the License.
19*80fe9c7bSAndrew Rist *
20*80fe9c7bSAndrew Rist *************************************************************/
21*80fe9c7bSAndrew Rist
22*80fe9c7bSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
25cdf0e10cSrcweir#include "dbpresid.hrc"
26cdf0e10cSrcweir#endif
27cdf0e10cSrcweir
28cdf0e10cSrcweirTabPage RID_PAGE_GROUPRADIOSELECTION
29cdf0e10cSrcweir{
30cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_GROUPRADIOSELECTION";
31cdf0e10cSrcweir	SVLook = TRUE ;
32cdf0e10cSrcweir	Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
33cdf0e10cSrcweir	Text [ en-US ] = "Data";
34cdf0e10cSrcweir
35cdf0e10cSrcweir	FixedLine FL_DATA
36cdf0e10cSrcweir	{
37cdf0e10cSrcweir		Pos = MAP_APPFONT ( 4 , 40  ) ;
38cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
39cdf0e10cSrcweir	};
40cdf0e10cSrcweir	FixedText FT_RADIOLABELS
41cdf0e10cSrcweir	{
42cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 52  ) ;
43cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, 24 ) ;
44cdf0e10cSrcweir		WordBreak = TRUE;
45cdf0e10cSrcweir		Group = TRUE;
46cdf0e10cSrcweir		Text [ en-US ] = "Which ~names do you want to give the option fields?";
47cdf0e10cSrcweir	};
48cdf0e10cSrcweir	Edit ET_RADIOLABELS
49cdf0e10cSrcweir	{
50cdf0e10cSrcweir	    HelpID = "extensions:Edit:RID_PAGE_GROUPRADIOSELECTION:ET_RADIOLABELS";
51cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 79  ) ;
52cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, 12 ) ;
53cdf0e10cSrcweir		SVLook = TRUE ;
54cdf0e10cSrcweir		Border = TRUE ;
55cdf0e10cSrcweir	};
56cdf0e10cSrcweir	PushButton PB_MOVETORIGHT
57cdf0e10cSrcweir	{
58cdf0e10cSrcweir	    HelpID = "extensions:PushButton:RID_PAGE_GROUPRADIOSELECTION:PB_MOVETORIGHT";
59cdf0e10cSrcweir		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 , 79  ) ;
60cdf0e10cSrcweir		Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X , ITEM_BUTTON_SIZE_Y ) ;
61cdf0e10cSrcweir		Text = "~>>";
62cdf0e10cSrcweir	};
63cdf0e10cSrcweir	PushButton PB_MOVETOLEFT
64cdf0e10cSrcweir	{
65cdf0e10cSrcweir	    HelpID = "extensions:PushButton:RID_PAGE_GROUPRADIOSELECTION:PB_MOVETOLEFT";
66cdf0e10cSrcweir		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 , 79 + ITEM_BUTTON_SIZE_Y + 3 ) ;
67cdf0e10cSrcweir		Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X , ITEM_BUTTON_SIZE_Y ) ;
68cdf0e10cSrcweir		Text = "~<<";
69cdf0e10cSrcweir	};
70cdf0e10cSrcweir	FixedText FT_RADIOBUTTONS
71cdf0e10cSrcweir	{
72cdf0e10cSrcweir		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + ITEM_BUTTON_SIZE_X / 2 + 6 , 52  ) ;
73cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 6 - 7, 8 ) ;
74cdf0e10cSrcweir		Group = TRUE;
75cdf0e10cSrcweir		Text [ en-US ] = "~Option fields";
76cdf0e10cSrcweir	};
77cdf0e10cSrcweir	ListBox LB_RADIOBUTTONS
78cdf0e10cSrcweir	{
79cdf0e10cSrcweir	    HelpID = "extensions:ListBox:RID_PAGE_GROUPRADIOSELECTION:LB_RADIOBUTTONS";
80cdf0e10cSrcweir		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + ITEM_BUTTON_SIZE_X / 2 + 6 , 79  ) ;
81cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 6 - 7, WINDOW_SIZE_Y - 79 - 6 ) ;
82cdf0e10cSrcweir		SVLook = TRUE ;
83cdf0e10cSrcweir		Border = TRUE ;
84cdf0e10cSrcweir		AutoHScroll = TRUE ;
85cdf0e10cSrcweir		Sort = FALSE;
86cdf0e10cSrcweir	};
87cdf0e10cSrcweir};
88cdf0e10cSrcweir
89cdf0e10cSrcweirTabPage RID_PAGE_DEFAULTFIELDSELECTION
90cdf0e10cSrcweir{
91cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_DEFAULTFIELDSELECTION";
92cdf0e10cSrcweir	SVLook = TRUE ;
93cdf0e10cSrcweir	Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
94cdf0e10cSrcweir	Text [ en-US ] = "Default Field Selection";
95cdf0e10cSrcweir
96cdf0e10cSrcweir	FixedLine FL_DEFAULTSELECTION
97cdf0e10cSrcweir	{
98cdf0e10cSrcweir		Pos = MAP_APPFONT ( 4 , 3  ) ;
99cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
100cdf0e10cSrcweir	};
101cdf0e10cSrcweir	FixedText FT_DEFAULTSELECTION
102cdf0e10cSrcweir	{
103cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 15  ) ;
104cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 24 ) ;
105cdf0e10cSrcweir		WordBreak = TRUE;
106cdf0e10cSrcweir
107cdf0e10cSrcweir		Text [ en-US ] = "Should one option field be selected as a default?";
108cdf0e10cSrcweir	};
109cdf0e10cSrcweir	RadioButton RB_DEFSELECTION_YES
110cdf0e10cSrcweir	{
111cdf0e10cSrcweir	    HelpID = "extensions:RadioButton:RID_PAGE_DEFAULTFIELDSELECTION:RB_DEFSELECTION_YES";
112cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 44  ) ;
113cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 10 ) ;
114cdf0e10cSrcweir		Group = TRUE;
115cdf0e10cSrcweir		TabStop = TRUE;
116cdf0e10cSrcweir		Text [ en-US ] = "~Yes, the following:";
117cdf0e10cSrcweir	};
118cdf0e10cSrcweir	ListBox LB_DEFSELECTIONFIELD
119cdf0e10cSrcweir	{
120cdf0e10cSrcweir	    HelpID = "extensions:ListBox:RID_PAGE_DEFAULTFIELDSELECTION:LB_DEFSELECTIONFIELD";
121cdf0e10cSrcweir		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 42  ) ;
122cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 14 ) ;
123cdf0e10cSrcweir		TabStop = TRUE;
124cdf0e10cSrcweir		SVLook = TRUE ;
125cdf0e10cSrcweir		Border = TRUE ;
126cdf0e10cSrcweir		DropDown = TRUE;
127cdf0e10cSrcweir		AutoHScroll = TRUE ;
128cdf0e10cSrcweir		Sort = FALSE;
129cdf0e10cSrcweir	};
130cdf0e10cSrcweir	RadioButton RB_DEFSELECTION_NO
131cdf0e10cSrcweir	{
132cdf0e10cSrcweir	    HelpID = "extensions:RadioButton:RID_PAGE_DEFAULTFIELDSELECTION:RB_DEFSELECTION_NO";
133cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 59  ) ;
134cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
135cdf0e10cSrcweir		TabStop = FALSE;
136cdf0e10cSrcweir		Text [ en-US ] = "No, one particular field is not going to be selected.";
137cdf0e10cSrcweir	};
138cdf0e10cSrcweir};
139cdf0e10cSrcweir
140cdf0e10cSrcweirTabPage RID_PAGE_OPTIONVALUES
141cdf0e10cSrcweir{
142cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_OPTIONVALUES";
143cdf0e10cSrcweir	SVLook = TRUE ;
144cdf0e10cSrcweir	Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
145cdf0e10cSrcweir	Text [ en-US ] = "Field Values";
146cdf0e10cSrcweir
147cdf0e10cSrcweir	FixedLine FL_OPTIONVALUES
148cdf0e10cSrcweir	{
149cdf0e10cSrcweir		Pos = MAP_APPFONT ( 4 , 3  ) ;
150cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
151cdf0e10cSrcweir	};
152cdf0e10cSrcweir	FixedText FT_OPTIONVALUES_EXPL
153cdf0e10cSrcweir	{
154cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 15  ) ;
155cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 24 ) ;
156cdf0e10cSrcweir		WordBreak = TRUE;
157cdf0e10cSrcweir		Text [ en-US ] = "When you select an option, the option group is given a specific value.";
158cdf0e10cSrcweir	};
159cdf0e10cSrcweir	FixedText FT_OPTIONVALUES
160cdf0e10cSrcweir	{
161cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 42  ) ;
162cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 16 ) ;
163cdf0e10cSrcweir		WordBreak = TRUE;
164cdf0e10cSrcweir		Group = TRUE;
165cdf0e10cSrcweir		Text [ en-US ] = "Which ~value do you want to assign to each option?";
166cdf0e10cSrcweir	};
167cdf0e10cSrcweir	Edit ET_OPTIONVALUE
168cdf0e10cSrcweir	{
169cdf0e10cSrcweir	    HelpID = "extensions:Edit:RID_PAGE_OPTIONVALUES:ET_OPTIONVALUE";
170cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 61 ) ;
171cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 12 ) ;
172cdf0e10cSrcweir		SVLook = TRUE ;
173cdf0e10cSrcweir		Border = TRUE ;
174cdf0e10cSrcweir		TabStop = TRUE;
175cdf0e10cSrcweir	};
176cdf0e10cSrcweir	FixedText FT_RADIOBUTTONS
177cdf0e10cSrcweir	{
178cdf0e10cSrcweir		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15  ) ;
179cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14 , 8 ) ;
180cdf0e10cSrcweir		Text [ en-US ] = "~Option fields";
181cdf0e10cSrcweir	};
182cdf0e10cSrcweir	ListBox LB_RADIOBUTTONS
183cdf0e10cSrcweir	{
184cdf0e10cSrcweir	    HelpID = "extensions:ListBox:RID_PAGE_OPTIONVALUES:LB_RADIOBUTTONS";
185cdf0e10cSrcweir		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26  ) ;
186cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 32 ) ;
187cdf0e10cSrcweir		SVLook = TRUE ;
188cdf0e10cSrcweir		Border = TRUE ;
189cdf0e10cSrcweir		AutoHScroll = TRUE ;
190cdf0e10cSrcweir		DropDown = FALSE;
191cdf0e10cSrcweir	};
192cdf0e10cSrcweir};
193cdf0e10cSrcweir
194cdf0e10cSrcweirTabPage RID_PAGE_OPTIONS_FINAL
195cdf0e10cSrcweir{
196cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_OPTIONS_FINAL";
197cdf0e10cSrcweir	SVLook = TRUE ;
198cdf0e10cSrcweir	Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
199cdf0e10cSrcweir	Text [ en-US ] = "Create Option Group";
200cdf0e10cSrcweir
201cdf0e10cSrcweir	FixedLine FL_NAMEIT
202cdf0e10cSrcweir	{
203cdf0e10cSrcweir		Pos = MAP_APPFONT ( 4 , 3  ) ;
204cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
205cdf0e10cSrcweir	};
206cdf0e10cSrcweir	FixedText FT_NAMEIT
207cdf0e10cSrcweir	{
208cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 15  ) ;
209cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
210cdf0e10cSrcweir		WordBreak = TRUE;
211cdf0e10cSrcweir		Text [ en-US ] = "Which ~caption is to be given to your option group?";
212cdf0e10cSrcweir	};
213cdf0e10cSrcweir	Edit ET_NAMEIT
214cdf0e10cSrcweir	{
215cdf0e10cSrcweir	    HelpID = "extensions:Edit:RID_PAGE_OPTIONS_FINAL:ET_NAMEIT";
216cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , 34 ) ;
217cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 12 ) ;
218cdf0e10cSrcweir		SVLook = TRUE ;
219cdf0e10cSrcweir		Border = TRUE ;
220cdf0e10cSrcweir	};
221cdf0e10cSrcweir	FixedText FT_THATSALL
222cdf0e10cSrcweir	{
223cdf0e10cSrcweir		Pos = MAP_APPFONT ( 7 , WINDOW_SIZE_Y - 22  ) ;
224cdf0e10cSrcweir		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
225cdf0e10cSrcweir		WordBreak = TRUE;
226cdf0e10cSrcweir		Center = TRUE;
227cdf0e10cSrcweir		Text [ en-US ] = "These were all details needed to create the option group.";
228cdf0e10cSrcweir	};
229cdf0e10cSrcweir};
230cdf0e10cSrcweir
231cdf0e10cSrcweirString RID_STR_GROUPWIZ_DBFIELD
232cdf0e10cSrcweir{
233cdf0e10cSrcweir	Text [ en-US ] = "You can either save the value of the option group in a database field or use it for a later action.";
234cdf0e10cSrcweir};
235cdf0e10cSrcweir
236cdf0e10cSrcweir
237