xref: /aoo41x/main/sc/source/ui/dbgui/dpgroupdlg.src (revision 58ae0c86)
1*82177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*82177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*82177cdbSAndrew Rist * distributed with this work for additional information
6*82177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance
9*82177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
10*82177cdbSAndrew Rist *
11*82177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*82177cdbSAndrew Rist *
13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*82177cdbSAndrew Rist * software distributed under the License is distributed on an
15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*82177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
17*82177cdbSAndrew Rist * specific language governing permissions and limitations
18*82177cdbSAndrew Rist * under the License.
19*82177cdbSAndrew Rist *
20*82177cdbSAndrew Rist *************************************************************/
21*82177cdbSAndrew Rist
22*82177cdbSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "dpgroupdlg.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweir// ----------------------------------------------------------------------------
27cdf0e10cSrcweir
28cdf0e10cSrcweirModalDialog RID_SCDLG_DPNUMGROUP
29cdf0e10cSrcweir{
30cdf0e10cSrcweir    Size = MAP_APPFONT ( 220 , 110 ) ;
31cdf0e10cSrcweir    HelpId = HID_SC_DPNUMGROUP ;
32cdf0e10cSrcweir    OutputSize = TRUE ;
33cdf0e10cSrcweir    SVLook = TRUE ;
34cdf0e10cSrcweir    Moveable = TRUE ;
35cdf0e10cSrcweir    Closeable = FALSE ;
36cdf0e10cSrcweir    Hide = TRUE ;
37cdf0e10cSrcweir    FixedLine FL_START
38cdf0e10cSrcweir    {
39cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3 ) ;
40cdf0e10cSrcweir        Size = MAP_APPFONT ( 152, 8 ) ;
41cdf0e10cSrcweir        Text [ en-US ] = "Start" ;
42cdf0e10cSrcweir    };
43cdf0e10cSrcweir    RadioButton RB_AUTOSTART
44cdf0e10cSrcweir    {
45cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPNUMGROUP:RB_AUTOSTART";
46cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
47cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
48cdf0e10cSrcweir        TabStop = TRUE ;
49cdf0e10cSrcweir        Text [ en-US ] = "~Automatically" ;
50cdf0e10cSrcweir    };
51cdf0e10cSrcweir    RadioButton RB_MANSTART
52cdf0e10cSrcweir    {
53cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPNUMGROUP:RB_MANSTART";
54cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 28 ) ;
55cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
56cdf0e10cSrcweir        TabStop = TRUE ;
57cdf0e10cSrcweir        Text [ en-US ] = "~Manually at" ;
58cdf0e10cSrcweir    };
59cdf0e10cSrcweir    Edit ED_START
60cdf0e10cSrcweir    {
61cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_DPNUMGROUP:ED_START";
62cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 26 ) ;
63cdf0e10cSrcweir        Size = MAP_APPFONT ( 58 , 12 ) ;
64cdf0e10cSrcweir        TabStop = TRUE ;
65cdf0e10cSrcweir        Border = TRUE ;
66cdf0e10cSrcweir    };
67cdf0e10cSrcweir    FixedLine FL_END
68cdf0e10cSrcweir    {
69cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 42 ) ;
70cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 8 ) ;
71cdf0e10cSrcweir        Text [ en-US ] = "End" ;
72cdf0e10cSrcweir    };
73cdf0e10cSrcweir    RadioButton RB_AUTOEND
74cdf0e10cSrcweir    {
75cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPNUMGROUP:RB_AUTOEND";
76cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 53 ) ;
77cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
78cdf0e10cSrcweir        TabStop = TRUE ;
79cdf0e10cSrcweir        Text [ en-US ] = "A~utomatically" ;
80cdf0e10cSrcweir    };
81cdf0e10cSrcweir    RadioButton RB_MANEND
82cdf0e10cSrcweir    {
83cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPNUMGROUP:RB_MANEND";
84cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 67 ) ;
85cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
86cdf0e10cSrcweir        TabStop = TRUE ;
87cdf0e10cSrcweir        Text [ en-US ] = "Ma~nually at" ;
88cdf0e10cSrcweir    };
89cdf0e10cSrcweir    Edit ED_END
90cdf0e10cSrcweir    {
91cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_DPNUMGROUP:ED_END";
92cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 65 ) ;
93cdf0e10cSrcweir        Size = MAP_APPFONT ( 58 , 12 ) ;
94cdf0e10cSrcweir        TabStop = TRUE ;
95cdf0e10cSrcweir        Border = TRUE ;
96cdf0e10cSrcweir    };
97cdf0e10cSrcweir    FixedLine FL_BY
98cdf0e10cSrcweir    {
99cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 81 ) ;
100cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 8 ) ;
101cdf0e10cSrcweir        Text [ en-US ] = "~Group by" ;
102cdf0e10cSrcweir    };
103cdf0e10cSrcweir    Edit ED_BY
104cdf0e10cSrcweir    {
105cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_DPNUMGROUP:ED_BY";
106cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 92 ) ;
107cdf0e10cSrcweir        Size = MAP_APPFONT ( 58 , 12 ) ;
108cdf0e10cSrcweir        TabStop = TRUE ;
109cdf0e10cSrcweir        Border = TRUE ;
110cdf0e10cSrcweir    };
111cdf0e10cSrcweir    OKButton BTN_OK
112cdf0e10cSrcweir    {
113cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 6 ) ;
114cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
115cdf0e10cSrcweir        TabStop = TRUE ;
116cdf0e10cSrcweir        DefButton = TRUE ;
117cdf0e10cSrcweir    };
118cdf0e10cSrcweir    CancelButton BTN_CANCEL
119cdf0e10cSrcweir    {
120cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 23 ) ;
121cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
122cdf0e10cSrcweir        TabStop = TRUE ;
123cdf0e10cSrcweir    };
124cdf0e10cSrcweir    HelpButton BTN_HELP
125cdf0e10cSrcweir    {
126cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 43 ) ;
127cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
128cdf0e10cSrcweir        TabStop = TRUE ;
129cdf0e10cSrcweir    };
130cdf0e10cSrcweir    Text [ en-US ] = "Grouping" ;
131cdf0e10cSrcweir} ;
132cdf0e10cSrcweir
133cdf0e10cSrcweir// ----------------------------------------------------------------------------
134cdf0e10cSrcweir
135cdf0e10cSrcweirModalDialog RID_SCDLG_DPDATEGROUP
136cdf0e10cSrcweir{
137cdf0e10cSrcweir    Size = MAP_APPFONT ( 220 , 180 ) ;
138cdf0e10cSrcweir    HelpId = HID_SC_DPDATEGROUP ;
139cdf0e10cSrcweir    OutputSize = TRUE ;
140cdf0e10cSrcweir    SVLook = TRUE ;
141cdf0e10cSrcweir    Moveable = TRUE ;
142cdf0e10cSrcweir    Closeable = FALSE ;
143cdf0e10cSrcweir    Hide = TRUE ;
144cdf0e10cSrcweir    FixedLine FL_START
145cdf0e10cSrcweir    {
146cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3 ) ;
147cdf0e10cSrcweir        Size = MAP_APPFONT ( 152, 8 ) ;
148cdf0e10cSrcweir        Text [ en-US ] = "Start" ;
149cdf0e10cSrcweir    };
150cdf0e10cSrcweir    RadioButton RB_AUTOSTART
151cdf0e10cSrcweir    {
152cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPDATEGROUP:RB_AUTOSTART";
153cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
154cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
155cdf0e10cSrcweir        TabStop = TRUE ;
156cdf0e10cSrcweir        Text [ en-US ] = "~Automatically" ;
157cdf0e10cSrcweir    };
158cdf0e10cSrcweir    RadioButton RB_MANSTART
159cdf0e10cSrcweir    {
160cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPDATEGROUP:RB_MANSTART";
161cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 28 ) ;
162cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
163cdf0e10cSrcweir        TabStop = TRUE ;
164cdf0e10cSrcweir        Text [ en-US ] = "~Manually at" ;
165cdf0e10cSrcweir    };
166cdf0e10cSrcweir    DateField ED_START
167cdf0e10cSrcweir    {
168cdf0e10cSrcweir        HelpID = "sc:DateField:RID_SCDLG_DPDATEGROUP:ED_START";
169cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 26 ) ;
170cdf0e10cSrcweir        Size = MAP_APPFONT ( 58 , 12 ) ;
171cdf0e10cSrcweir        TabStop = TRUE ;
172cdf0e10cSrcweir        Border = TRUE ;
173cdf0e10cSrcweir    };
174cdf0e10cSrcweir    FixedLine FL_END
175cdf0e10cSrcweir    {
176cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 42 ) ;
177cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 8 ) ;
178cdf0e10cSrcweir        Text [ en-US ] = "End" ;
179cdf0e10cSrcweir    };
180cdf0e10cSrcweir    RadioButton RB_AUTOEND
181cdf0e10cSrcweir    {
182cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPDATEGROUP:RB_AUTOEND";
183cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 53 ) ;
184cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
185cdf0e10cSrcweir        TabStop = TRUE ;
186cdf0e10cSrcweir        Text [ en-US ] = "A~utomatically" ;
187cdf0e10cSrcweir    };
188cdf0e10cSrcweir    RadioButton RB_MANEND
189cdf0e10cSrcweir    {
190cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPDATEGROUP:RB_MANEND";
191cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 67 ) ;
192cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
193cdf0e10cSrcweir        TabStop = TRUE ;
194cdf0e10cSrcweir        Text [ en-US ] = "Ma~nually at" ;
195cdf0e10cSrcweir    };
196cdf0e10cSrcweir    DateField ED_END
197cdf0e10cSrcweir    {
198cdf0e10cSrcweir        HelpID = "sc:DateField:RID_SCDLG_DPDATEGROUP:ED_END";
199cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 65 ) ;
200cdf0e10cSrcweir        Size = MAP_APPFONT ( 58 , 12 ) ;
201cdf0e10cSrcweir        TabStop = TRUE ;
202cdf0e10cSrcweir        Border = TRUE ;
203cdf0e10cSrcweir    };
204cdf0e10cSrcweir    FixedLine FL_BY
205cdf0e10cSrcweir    {
206cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 81 ) ;
207cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 8 ) ;
208cdf0e10cSrcweir        Text [ en-US ] = "Group by" ;
209cdf0e10cSrcweir    };
210cdf0e10cSrcweir    RadioButton RB_NUMDAYS
211cdf0e10cSrcweir    {
212cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPDATEGROUP:RB_NUMDAYS";
213cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 94 ) ;
214cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
215cdf0e10cSrcweir        TabStop = TRUE ;
216cdf0e10cSrcweir        Text [ en-US ] = "Number of ~days" ;
217cdf0e10cSrcweir    };
218cdf0e10cSrcweir    RadioButton RB_UNITS
219cdf0e10cSrcweir    {
220cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPDATEGROUP:RB_UNITS";
221cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 110 ) ;
222cdf0e10cSrcweir        Size = MAP_APPFONT ( 80 , 10 ) ;
223cdf0e10cSrcweir        TabStop = TRUE ;
224cdf0e10cSrcweir        Text [ en-US ] = "~Intervals" ;
225cdf0e10cSrcweir    };
226cdf0e10cSrcweir    NumericField ED_NUMDAYS
227cdf0e10cSrcweir    {
228cdf0e10cSrcweir        HelpID = "sc:NumericField:RID_SCDLG_DPDATEGROUP:ED_NUMDAYS";
229cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94, 92 ) ;
230cdf0e10cSrcweir        Size = MAP_APPFONT ( 35, 12 ) ;
231cdf0e10cSrcweir        TabStop = TRUE ;
232cdf0e10cSrcweir        Border = TRUE ;
233cdf0e10cSrcweir        Spin = TRUE ;
234cdf0e10cSrcweir        Repeat = TRUE ;
235cdf0e10cSrcweir        Minimum = 1 ;
236cdf0e10cSrcweir        Maximum = 32767 ;
237cdf0e10cSrcweir        SpinSize = 1 ;
238cdf0e10cSrcweir    };
239cdf0e10cSrcweir    Control LB_UNITS
240cdf0e10cSrcweir    {
241cdf0e10cSrcweir        Pos = MAP_APPFONT( 94, 110 );
242cdf0e10cSrcweir        Size = MAP_APPFONT( 58, 64 );
243cdf0e10cSrcweir        TabStop = TRUE;
244cdf0e10cSrcweir        Border = TRUE;
245cdf0e10cSrcweir    };
246cdf0e10cSrcweir    OKButton BTN_OK
247cdf0e10cSrcweir    {
248cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 6 ) ;
249cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
250cdf0e10cSrcweir        TabStop = TRUE ;
251cdf0e10cSrcweir        DefButton = TRUE ;
252cdf0e10cSrcweir    };
253cdf0e10cSrcweir    CancelButton BTN_CANCEL
254cdf0e10cSrcweir    {
255cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 23 ) ;
256cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
257cdf0e10cSrcweir        TabStop = TRUE ;
258cdf0e10cSrcweir    };
259cdf0e10cSrcweir    HelpButton BTN_HELP
260cdf0e10cSrcweir    {
261cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 43 ) ;
262cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
263cdf0e10cSrcweir        TabStop = TRUE ;
264cdf0e10cSrcweir    };
265cdf0e10cSrcweir    Text [ en-US ] = "Grouping" ;
266cdf0e10cSrcweir} ;
267cdf0e10cSrcweir
268cdf0e10cSrcweir// ----------------------------------------------------------------------------
269cdf0e10cSrcweir
270