xref: /trunk/main/extensions/source/dbpilots/groupboxpages.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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#include "dbpresid.hrc"
30*cdf0e10cSrcweir#endif
31*cdf0e10cSrcweir
32*cdf0e10cSrcweirTabPage RID_PAGE_GROUPRADIOSELECTION
33*cdf0e10cSrcweir{
34*cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_GROUPRADIOSELECTION";
35*cdf0e10cSrcweir    SVLook = TRUE ;
36*cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
37*cdf0e10cSrcweir    Text [ en-US ] = "Data";
38*cdf0e10cSrcweir
39*cdf0e10cSrcweir    FixedLine FL_DATA
40*cdf0e10cSrcweir    {
41*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4 , 40  ) ;
42*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
43*cdf0e10cSrcweir    };
44*cdf0e10cSrcweir    FixedText FT_RADIOLABELS
45*cdf0e10cSrcweir    {
46*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 52  ) ;
47*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, 24 ) ;
48*cdf0e10cSrcweir        WordBreak = TRUE;
49*cdf0e10cSrcweir        Group = TRUE;
50*cdf0e10cSrcweir        Text [ en-US ] = "Which ~names do you want to give the option fields?";
51*cdf0e10cSrcweir    };
52*cdf0e10cSrcweir    Edit ET_RADIOLABELS
53*cdf0e10cSrcweir    {
54*cdf0e10cSrcweir        HelpID = "extensions:Edit:RID_PAGE_GROUPRADIOSELECTION:ET_RADIOLABELS";
55*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 79  ) ;
56*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, 12 ) ;
57*cdf0e10cSrcweir        SVLook = TRUE ;
58*cdf0e10cSrcweir        Border = TRUE ;
59*cdf0e10cSrcweir    };
60*cdf0e10cSrcweir    PushButton PB_MOVETORIGHT
61*cdf0e10cSrcweir    {
62*cdf0e10cSrcweir        HelpID = "extensions:PushButton:RID_PAGE_GROUPRADIOSELECTION:PB_MOVETORIGHT";
63*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 , 79  ) ;
64*cdf0e10cSrcweir        Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X , ITEM_BUTTON_SIZE_Y ) ;
65*cdf0e10cSrcweir        Text = "~>>";
66*cdf0e10cSrcweir    };
67*cdf0e10cSrcweir    PushButton PB_MOVETOLEFT
68*cdf0e10cSrcweir    {
69*cdf0e10cSrcweir        HelpID = "extensions:PushButton:RID_PAGE_GROUPRADIOSELECTION:PB_MOVETOLEFT";
70*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 , 79 + ITEM_BUTTON_SIZE_Y + 3 ) ;
71*cdf0e10cSrcweir        Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X , ITEM_BUTTON_SIZE_Y ) ;
72*cdf0e10cSrcweir        Text = "~<<";
73*cdf0e10cSrcweir    };
74*cdf0e10cSrcweir    FixedText FT_RADIOBUTTONS
75*cdf0e10cSrcweir    {
76*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + ITEM_BUTTON_SIZE_X / 2 + 6 , 52  ) ;
77*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 6 - 7, 8 ) ;
78*cdf0e10cSrcweir        Group = TRUE;
79*cdf0e10cSrcweir        Text [ en-US ] = "~Option fields";
80*cdf0e10cSrcweir    };
81*cdf0e10cSrcweir    ListBox LB_RADIOBUTTONS
82*cdf0e10cSrcweir    {
83*cdf0e10cSrcweir        HelpID = "extensions:ListBox:RID_PAGE_GROUPRADIOSELECTION:LB_RADIOBUTTONS";
84*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + ITEM_BUTTON_SIZE_X / 2 + 6 , 79  ) ;
85*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 6 - 7, WINDOW_SIZE_Y - 79 - 6 ) ;
86*cdf0e10cSrcweir        SVLook = TRUE ;
87*cdf0e10cSrcweir        Border = TRUE ;
88*cdf0e10cSrcweir        AutoHScroll = TRUE ;
89*cdf0e10cSrcweir        Sort = FALSE;
90*cdf0e10cSrcweir    };
91*cdf0e10cSrcweir};
92*cdf0e10cSrcweir
93*cdf0e10cSrcweirTabPage RID_PAGE_DEFAULTFIELDSELECTION
94*cdf0e10cSrcweir{
95*cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_DEFAULTFIELDSELECTION";
96*cdf0e10cSrcweir    SVLook = TRUE ;
97*cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
98*cdf0e10cSrcweir    Text [ en-US ] = "Default Field Selection";
99*cdf0e10cSrcweir
100*cdf0e10cSrcweir    FixedLine FL_DEFAULTSELECTION
101*cdf0e10cSrcweir    {
102*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4 , 3  ) ;
103*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
104*cdf0e10cSrcweir    };
105*cdf0e10cSrcweir    FixedText FT_DEFAULTSELECTION
106*cdf0e10cSrcweir    {
107*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 15  ) ;
108*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 24 ) ;
109*cdf0e10cSrcweir        WordBreak = TRUE;
110*cdf0e10cSrcweir
111*cdf0e10cSrcweir        Text [ en-US ] = "Should one option field be selected as a default?";
112*cdf0e10cSrcweir    };
113*cdf0e10cSrcweir    RadioButton RB_DEFSELECTION_YES
114*cdf0e10cSrcweir    {
115*cdf0e10cSrcweir        HelpID = "extensions:RadioButton:RID_PAGE_DEFAULTFIELDSELECTION:RB_DEFSELECTION_YES";
116*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 44  ) ;
117*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 10 ) ;
118*cdf0e10cSrcweir        Group = TRUE;
119*cdf0e10cSrcweir        TabStop = TRUE;
120*cdf0e10cSrcweir        Text [ en-US ] = "~Yes, the following:";
121*cdf0e10cSrcweir    };
122*cdf0e10cSrcweir    ListBox LB_DEFSELECTIONFIELD
123*cdf0e10cSrcweir    {
124*cdf0e10cSrcweir        HelpID = "extensions:ListBox:RID_PAGE_DEFAULTFIELDSELECTION:LB_DEFSELECTIONFIELD";
125*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 42  ) ;
126*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 14 ) ;
127*cdf0e10cSrcweir        TabStop = TRUE;
128*cdf0e10cSrcweir        SVLook = TRUE ;
129*cdf0e10cSrcweir        Border = TRUE ;
130*cdf0e10cSrcweir        DropDown = TRUE;
131*cdf0e10cSrcweir        AutoHScroll = TRUE ;
132*cdf0e10cSrcweir        Sort = FALSE;
133*cdf0e10cSrcweir    };
134*cdf0e10cSrcweir    RadioButton RB_DEFSELECTION_NO
135*cdf0e10cSrcweir    {
136*cdf0e10cSrcweir        HelpID = "extensions:RadioButton:RID_PAGE_DEFAULTFIELDSELECTION:RB_DEFSELECTION_NO";
137*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 59  ) ;
138*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
139*cdf0e10cSrcweir        TabStop = FALSE;
140*cdf0e10cSrcweir        Text [ en-US ] = "No, one particular field is not going to be selected.";
141*cdf0e10cSrcweir    };
142*cdf0e10cSrcweir};
143*cdf0e10cSrcweir
144*cdf0e10cSrcweirTabPage RID_PAGE_OPTIONVALUES
145*cdf0e10cSrcweir{
146*cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_OPTIONVALUES";
147*cdf0e10cSrcweir    SVLook = TRUE ;
148*cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
149*cdf0e10cSrcweir    Text [ en-US ] = "Field Values";
150*cdf0e10cSrcweir
151*cdf0e10cSrcweir    FixedLine FL_OPTIONVALUES
152*cdf0e10cSrcweir    {
153*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4 , 3  ) ;
154*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
155*cdf0e10cSrcweir    };
156*cdf0e10cSrcweir    FixedText FT_OPTIONVALUES_EXPL
157*cdf0e10cSrcweir    {
158*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 15  ) ;
159*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 24 ) ;
160*cdf0e10cSrcweir        WordBreak = TRUE;
161*cdf0e10cSrcweir        Text [ en-US ] = "When you select an option, the option group is given a specific value.";
162*cdf0e10cSrcweir    };
163*cdf0e10cSrcweir    FixedText FT_OPTIONVALUES
164*cdf0e10cSrcweir    {
165*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 42  ) ;
166*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 16 ) ;
167*cdf0e10cSrcweir        WordBreak = TRUE;
168*cdf0e10cSrcweir        Group = TRUE;
169*cdf0e10cSrcweir        Text [ en-US ] = "Which ~value do you want to assign to each option?";
170*cdf0e10cSrcweir    };
171*cdf0e10cSrcweir    Edit ET_OPTIONVALUE
172*cdf0e10cSrcweir    {
173*cdf0e10cSrcweir        HelpID = "extensions:Edit:RID_PAGE_OPTIONVALUES:ET_OPTIONVALUE";
174*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 61 ) ;
175*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 12 ) ;
176*cdf0e10cSrcweir        SVLook = TRUE ;
177*cdf0e10cSrcweir        Border = TRUE ;
178*cdf0e10cSrcweir        TabStop = TRUE;
179*cdf0e10cSrcweir    };
180*cdf0e10cSrcweir    FixedText FT_RADIOBUTTONS
181*cdf0e10cSrcweir    {
182*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15  ) ;
183*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14 , 8 ) ;
184*cdf0e10cSrcweir        Text [ en-US ] = "~Option fields";
185*cdf0e10cSrcweir    };
186*cdf0e10cSrcweir    ListBox LB_RADIOBUTTONS
187*cdf0e10cSrcweir    {
188*cdf0e10cSrcweir        HelpID = "extensions:ListBox:RID_PAGE_OPTIONVALUES:LB_RADIOBUTTONS";
189*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26  ) ;
190*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 32 ) ;
191*cdf0e10cSrcweir        SVLook = TRUE ;
192*cdf0e10cSrcweir        Border = TRUE ;
193*cdf0e10cSrcweir        AutoHScroll = TRUE ;
194*cdf0e10cSrcweir        DropDown = FALSE;
195*cdf0e10cSrcweir    };
196*cdf0e10cSrcweir};
197*cdf0e10cSrcweir
198*cdf0e10cSrcweirTabPage RID_PAGE_OPTIONS_FINAL
199*cdf0e10cSrcweir{
200*cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_OPTIONS_FINAL";
201*cdf0e10cSrcweir    SVLook = TRUE ;
202*cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
203*cdf0e10cSrcweir    Text [ en-US ] = "Create Option Group";
204*cdf0e10cSrcweir
205*cdf0e10cSrcweir    FixedLine FL_NAMEIT
206*cdf0e10cSrcweir    {
207*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4 , 3  ) ;
208*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
209*cdf0e10cSrcweir    };
210*cdf0e10cSrcweir    FixedText FT_NAMEIT
211*cdf0e10cSrcweir    {
212*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 15  ) ;
213*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
214*cdf0e10cSrcweir        WordBreak = TRUE;
215*cdf0e10cSrcweir        Text [ en-US ] = "Which ~caption is to be given to your option group?";
216*cdf0e10cSrcweir    };
217*cdf0e10cSrcweir    Edit ET_NAMEIT
218*cdf0e10cSrcweir    {
219*cdf0e10cSrcweir        HelpID = "extensions:Edit:RID_PAGE_OPTIONS_FINAL:ET_NAMEIT";
220*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , 34 ) ;
221*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 12 ) ;
222*cdf0e10cSrcweir        SVLook = TRUE ;
223*cdf0e10cSrcweir        Border = TRUE ;
224*cdf0e10cSrcweir    };
225*cdf0e10cSrcweir    FixedText FT_THATSALL
226*cdf0e10cSrcweir    {
227*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7 , WINDOW_SIZE_Y - 22  ) ;
228*cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
229*cdf0e10cSrcweir        WordBreak = TRUE;
230*cdf0e10cSrcweir        Center = TRUE;
231*cdf0e10cSrcweir        Text [ en-US ] = "These were all details needed to create the option group.";
232*cdf0e10cSrcweir    };
233*cdf0e10cSrcweir};
234*cdf0e10cSrcweir
235*cdf0e10cSrcweirString RID_STR_GROUPWIZ_DBFIELD
236*cdf0e10cSrcweir{
237*cdf0e10cSrcweir    Text [ en-US ] = "You can either save the value of the option group in a database field or use it for a later action.";
238*cdf0e10cSrcweir};
239*cdf0e10cSrcweir
240*cdf0e10cSrcweir
241