xref: /aoo42x/main/sc/source/ui/dbgui/pvfundlg.src (revision 82177cdb)
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 "pvfundlg.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweirStringArray SCSTR_DPFUNCLISTBOX
27cdf0e10cSrcweir{
28cdf0e10cSrcweir    ItemList [ en-US ] =
29cdf0e10cSrcweir    {
30cdf0e10cSrcweir        < "Sum" ; Default ; > ;
31cdf0e10cSrcweir        < "Count" ; Default ; > ;
32cdf0e10cSrcweir        < "Average" ; Default ; > ;
33cdf0e10cSrcweir        < "Max" ; Default ; > ;
34cdf0e10cSrcweir        < "Min" ; Default ; > ;
35cdf0e10cSrcweir        < "Product" ; Default ; > ;
36cdf0e10cSrcweir        < "Count (Numbers only)" ; Default ; > ;
37cdf0e10cSrcweir        < "StDev (Sample)" ; Default ; > ;
38cdf0e10cSrcweir        < "StDevP (Population)" ; Default ; > ;
39cdf0e10cSrcweir        < "Var (Sample)" ; Default ; > ;
40cdf0e10cSrcweir        < "VarP (Population)" ; Default ; > ;
41cdf0e10cSrcweir    };
42cdf0e10cSrcweir};
43cdf0e10cSrcweir
44cdf0e10cSrcweir// ----------------------------------------------------------------------------
45cdf0e10cSrcweir
46cdf0e10cSrcweirModalDialog RID_SCDLG_DPDATAFIELD
47cdf0e10cSrcweir{
48cdf0e10cSrcweir    OutputSize = TRUE ;
49cdf0e10cSrcweir    HelpId = HID_SC_DPDATAFIELD ;
50cdf0e10cSrcweir    SVLook = TRUE ;
51cdf0e10cSrcweir    Size = MAP_APPFONT ( 220 , 99 ) ;
52cdf0e10cSrcweir    Moveable = TRUE ;
53cdf0e10cSrcweir    Closeable = FALSE ;
54cdf0e10cSrcweir    Hide = TRUE ;
55cdf0e10cSrcweir    FixedLine FL_FUNC
56cdf0e10cSrcweir    {
57cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
58cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 8 ) ;
59cdf0e10cSrcweir        Text [ en-US ] = "~Function" ;
60cdf0e10cSrcweir    };
61cdf0e10cSrcweir    MultiListBox LB_FUNC
62cdf0e10cSrcweir    {
63cdf0e10cSrcweir        HelpID = "sc:MultiListBox:RID_SCDLG_DPDATAFIELD:LB_FUNC";
64cdf0e10cSrcweir        Border = TRUE ;
65cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
66cdf0e10cSrcweir        Size = MAP_APPFONT ( 140 , 65 ) ;
67cdf0e10cSrcweir        TabStop = TRUE ;
68cdf0e10cSrcweir        AutoHScroll = TRUE ;
69cdf0e10cSrcweir        SimpleMode = TRUE ;
70cdf0e10cSrcweir    };
71cdf0e10cSrcweir    FixedText FT_NAMELABEL
72cdf0e10cSrcweir    {
73cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 85 ) ;
74cdf0e10cSrcweir        Size = MAP_APPFONT ( 25 , 8 ) ;
75cdf0e10cSrcweir        Text [ en-US ] = "Name:" ;
76cdf0e10cSrcweir    };
77cdf0e10cSrcweir    FixedText FT_NAME
78cdf0e10cSrcweir    {
79cdf0e10cSrcweir        Pos = MAP_APPFONT ( 32 , 85 ) ;
80cdf0e10cSrcweir        Size = MAP_APPFONT ( 126 , 8 ) ;
81cdf0e10cSrcweir    };
82cdf0e10cSrcweir    FixedLine FL_DISPLAY
83cdf0e10cSrcweir    {
84cdf0e10cSrcweir        Pos = MAP_APPFONT( 6, 99 );
85cdf0e10cSrcweir        Size = MAP_APPFONT( 152, 8 );
86cdf0e10cSrcweir        Text [ en-US ] = "Displayed value";
87cdf0e10cSrcweir    };
88cdf0e10cSrcweir    FixedText FT_TYPE
89cdf0e10cSrcweir    {
90cdf0e10cSrcweir        Pos = MAP_APPFONT( 12, 112 );
91cdf0e10cSrcweir        Size = MAP_APPFONT( 60, 8 );
92cdf0e10cSrcweir        Text [ en-US ] = "~Type";
93cdf0e10cSrcweir    };
94cdf0e10cSrcweir    ListBox LB_TYPE
95cdf0e10cSrcweir    {
96cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPDATAFIELD:LB_TYPE";
97cdf0e10cSrcweir        Pos = MAP_APPFONT( 75, 110 );
98cdf0e10cSrcweir        Size = MAP_APPFONT( 77, 120 );
99cdf0e10cSrcweir        TabStop = TRUE;
100cdf0e10cSrcweir        Border = TRUE;
101cdf0e10cSrcweir        DropDown = TRUE;
102cdf0e10cSrcweir        StringList [ en-US ] =
103cdf0e10cSrcweir        {
104cdf0e10cSrcweir            < "Normal"; Default; >;
105cdf0e10cSrcweir            < "Difference from"; Default; >;
106cdf0e10cSrcweir            < "% of"; Default; >;
107cdf0e10cSrcweir            < "% difference from"; Default; >;
108cdf0e10cSrcweir            < "Running total in"; Default; >;
109cdf0e10cSrcweir            < "% of row"; Default; >;
110cdf0e10cSrcweir            < "% of column"; Default; >;
111cdf0e10cSrcweir            < "% of total"; Default; >;
112cdf0e10cSrcweir            < "Index"; Default; >;
113cdf0e10cSrcweir        };
114cdf0e10cSrcweir    };
115cdf0e10cSrcweir    FixedText FT_BASEFIELD
116cdf0e10cSrcweir    {
117cdf0e10cSrcweir        Pos = MAP_APPFONT( 12, 128 );
118cdf0e10cSrcweir        Size = MAP_APPFONT( 60, 8 );
119cdf0e10cSrcweir        Text [ en-US ] = "~Base field";
120cdf0e10cSrcweir    };
121cdf0e10cSrcweir    ListBox LB_BASEFIELD
122cdf0e10cSrcweir    {
123cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPDATAFIELD:LB_BASEFIELD";
124cdf0e10cSrcweir        Pos = MAP_APPFONT( 75, 126 );
125cdf0e10cSrcweir        Size = MAP_APPFONT( 77, 120 );
126cdf0e10cSrcweir        TabStop = TRUE;
127cdf0e10cSrcweir        Border = TRUE;
128cdf0e10cSrcweir        DropDown = TRUE;
129cdf0e10cSrcweir    };
130cdf0e10cSrcweir    FixedText FT_BASEITEM
131cdf0e10cSrcweir    {
132cdf0e10cSrcweir        Pos = MAP_APPFONT( 12, 144 );
133cdf0e10cSrcweir        Size = MAP_APPFONT( 60, 8 );
134cdf0e10cSrcweir        Text [ en-US ] = "Ba~se item";
135cdf0e10cSrcweir    };
136cdf0e10cSrcweir    ListBox LB_BASEITEM
137cdf0e10cSrcweir    {
138cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPDATAFIELD:LB_BASEITEM";
139cdf0e10cSrcweir        Pos = MAP_APPFONT( 75, 142 );
140cdf0e10cSrcweir        Size = MAP_APPFONT( 77, 120 );
141cdf0e10cSrcweir        TabStop = TRUE;
142cdf0e10cSrcweir        Border = TRUE;
143cdf0e10cSrcweir        DropDown = TRUE;
144cdf0e10cSrcweir        StringList [ en-US ] =
145cdf0e10cSrcweir        {
146cdf0e10cSrcweir            < "- previous item -"; Default; >;
147cdf0e10cSrcweir            < "- next item -"; Default; >;
148cdf0e10cSrcweir        };
149cdf0e10cSrcweir    };
150cdf0e10cSrcweir    OKButton BTN_OK
151cdf0e10cSrcweir    {
152cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 6 ) ;
153cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
154cdf0e10cSrcweir        TabStop = TRUE ;
155cdf0e10cSrcweir        DefButton = TRUE ;
156cdf0e10cSrcweir    };
157cdf0e10cSrcweir    CancelButton BTN_CANCEL
158cdf0e10cSrcweir    {
159cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 23 ) ;
160cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
161cdf0e10cSrcweir        TabStop = TRUE ;
162cdf0e10cSrcweir    };
163cdf0e10cSrcweir    HelpButton BTN_HELP
164cdf0e10cSrcweir    {
165cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 43 ) ;
166cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
167cdf0e10cSrcweir        TabStop = TRUE ;
168cdf0e10cSrcweir    };
169cdf0e10cSrcweir    MoreButton BTN_MORE
170cdf0e10cSrcweir    {
171cdf0e10cSrcweir        HelpID = "sc:MoreButton:RID_SCDLG_DPDATAFIELD:BTN_MORE";
172cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 79 ) ;
173cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
174cdf0e10cSrcweir        TabStop = TRUE ;
175cdf0e10cSrcweir        MapUnit = MAP_APPFONT ;
176cdf0e10cSrcweir        Delta = 61 ;
177cdf0e10cSrcweir    };
178cdf0e10cSrcweir    Text [ en-US ] = "Data Field" ;
179cdf0e10cSrcweir};
180cdf0e10cSrcweir
181cdf0e10cSrcweir// ----------------------------------------------------------------------------
182cdf0e10cSrcweir
183cdf0e10cSrcweirModalDialog RID_SCDLG_PIVOTSUBT
184cdf0e10cSrcweir{
185cdf0e10cSrcweir	OutputSize = TRUE ;
186cdf0e10cSrcweir	HelpId = HID_SC_PIVOTSUBT ;
187cdf0e10cSrcweir	SVLook = TRUE ;
188cdf0e10cSrcweir    Size = MAP_APPFONT ( 220 , 155 ) ;
189cdf0e10cSrcweir	Text [ en-US ] = "Data Field" ;
190cdf0e10cSrcweir	Moveable = TRUE ;
191cdf0e10cSrcweir	Closeable = FALSE ;
192cdf0e10cSrcweir	Hide = TRUE ;
193cdf0e10cSrcweir    RadioButton RB_NONE
194cdf0e10cSrcweir	{
195cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_PIVOTSUBT:RB_NONE";
196cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 14 ) ;
197cdf0e10cSrcweir        Size = MAP_APPFONT ( 140 , 10 ) ;
198cdf0e10cSrcweir		Text [ en-US ] = "~None" ;
199cdf0e10cSrcweir		TabStop = TRUE ;
200cdf0e10cSrcweir	};
201cdf0e10cSrcweir    RadioButton RB_AUTO
202cdf0e10cSrcweir	{
203cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_PIVOTSUBT:RB_AUTO";
204cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 28 ) ;
205cdf0e10cSrcweir        Size = MAP_APPFONT ( 140 , 10 ) ;
206cdf0e10cSrcweir		Text [ en-US ] = "~Automatic" ;
207cdf0e10cSrcweir		TabStop = TRUE ;
208cdf0e10cSrcweir	};
209cdf0e10cSrcweir    RadioButton RB_USER
210cdf0e10cSrcweir	{
211cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_PIVOTSUBT:RB_USER";
212cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 42 ) ;
213cdf0e10cSrcweir        Size = MAP_APPFONT ( 140 , 10 ) ;
214cdf0e10cSrcweir		Text [ en-US ] = "~User-defined" ;
215cdf0e10cSrcweir		TabStop = TRUE ;
216cdf0e10cSrcweir	};
217cdf0e10cSrcweir	MultiListBox LB_FUNC
218cdf0e10cSrcweir	{
219cdf0e10cSrcweir	    HelpID = "sc:MultiListBox:RID_SCDLG_PIVOTSUBT:LB_FUNC";
220cdf0e10cSrcweir		Border = TRUE ;
221cdf0e10cSrcweir		Pos = MAP_APPFONT ( 12 , 56 ) ;
222cdf0e10cSrcweir        Size = MAP_APPFONT ( 140 , 65 ) ;
223cdf0e10cSrcweir		TabStop = TRUE ;
224cdf0e10cSrcweir		AutoHScroll = TRUE ;
225cdf0e10cSrcweir		SimpleMode = TRUE ;
226cdf0e10cSrcweir	};
227cdf0e10cSrcweir    FixedLine FL_FUNC
228cdf0e10cSrcweir	{
229cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3 ) ;
230cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 8 ) ;
231cdf0e10cSrcweir        Text [ en-US ] = "Subtotals" ;
232cdf0e10cSrcweir	};
233cdf0e10cSrcweir	CheckBox CB_SHOWALL
234cdf0e10cSrcweir	{
235cdf0e10cSrcweir	    HelpID = "sc:CheckBox:RID_SCDLG_PIVOTSUBT:CB_SHOWALL";
236cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 127 ) ;
237cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 10 ) ;
238cdf0e10cSrcweir        Text [ en-US ] = "Show it~ems without data";
239cdf0e10cSrcweir		TabStop = TRUE ;
240cdf0e10cSrcweir	};
241cdf0e10cSrcweir	FixedText FT_NAMELABEL
242cdf0e10cSrcweir	{
243cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 141 ) ;
244cdf0e10cSrcweir        Size = MAP_APPFONT ( 25 , 8 ) ;
245cdf0e10cSrcweir		Text [ en-US ] = "Name:" ;
246cdf0e10cSrcweir	};
247cdf0e10cSrcweir	FixedText FT_NAME
248cdf0e10cSrcweir	{
249cdf0e10cSrcweir        Pos = MAP_APPFONT ( 32 , 141 ) ;
250cdf0e10cSrcweir        Size = MAP_APPFONT ( 126 , 8 ) ;
251cdf0e10cSrcweir	};
252cdf0e10cSrcweir	OKButton BTN_OK
253cdf0e10cSrcweir	{
254cdf0e10cSrcweir		Pos = MAP_APPFONT ( 164 , 6 ) ;
255cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
256cdf0e10cSrcweir		TabStop = TRUE ;
257cdf0e10cSrcweir		DefButton = TRUE ;
258cdf0e10cSrcweir	};
259cdf0e10cSrcweir	CancelButton BTN_CANCEL
260cdf0e10cSrcweir	{
261cdf0e10cSrcweir		Pos = MAP_APPFONT ( 164 , 23 ) ;
262cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
263cdf0e10cSrcweir		TabStop = TRUE ;
264cdf0e10cSrcweir	};
265cdf0e10cSrcweir	HelpButton BTN_HELP
266cdf0e10cSrcweir	{
267cdf0e10cSrcweir		Pos = MAP_APPFONT ( 164 , 43 ) ;
268cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
269cdf0e10cSrcweir		TabStop = TRUE ;
270cdf0e10cSrcweir	};
271cdf0e10cSrcweir    PushButton BTN_OPTIONS
272cdf0e10cSrcweir    {
273cdf0e10cSrcweir        HelpID = "sc:PushButton:RID_SCDLG_PIVOTSUBT:BTN_OPTIONS";
274cdf0e10cSrcweir        Pos = MAP_APPFONT ( 164 , 135 ) ;
275cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
276cdf0e10cSrcweir        TabStop = TRUE ;
277cdf0e10cSrcweir        Text [ en-US ] = "~Options...";
278cdf0e10cSrcweir    };
279cdf0e10cSrcweir};
280cdf0e10cSrcweir
281cdf0e10cSrcweir// ----------------------------------------------------------------------------
282cdf0e10cSrcweir
283cdf0e10cSrcweirModalDialog RID_SCDLG_DPSUBTOTAL_OPT
284cdf0e10cSrcweir{
285cdf0e10cSrcweir    OutputSize = TRUE;
286cdf0e10cSrcweir    HelpId = HID_SC_DPSUBT_OPT;
287cdf0e10cSrcweir    SVLook = TRUE;
288cdf0e10cSrcweir    Size = MAP_APPFONT( 266, 240 );
289cdf0e10cSrcweir    Moveable = TRUE;
290cdf0e10cSrcweir    Closeable = FALSE;
291cdf0e10cSrcweir    Hide = TRUE;
292cdf0e10cSrcweir    FixedLine FL_SORT_BY
293cdf0e10cSrcweir    {
294cdf0e10cSrcweir        Pos = MAP_APPFONT( 6, 3 );
295cdf0e10cSrcweir        Size = MAP_APPFONT( 198, 8 );
296cdf0e10cSrcweir        Text [ en-US ] = "Sort ~by";
297cdf0e10cSrcweir    };
298cdf0e10cSrcweir    ListBox LB_SORT_BY
299cdf0e10cSrcweir    {
300cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_SORT_BY";
301cdf0e10cSrcweir        Pos = MAP_APPFONT( 12, 26 );
302cdf0e10cSrcweir        Size = MAP_APPFONT( 96, 120 );
303cdf0e10cSrcweir        TabStop = TRUE;
304cdf0e10cSrcweir        Border = TRUE;
305cdf0e10cSrcweir        DropDown = TRUE;
306cdf0e10cSrcweir    };
307cdf0e10cSrcweir    RadioButton RB_SORT_ASC
308cdf0e10cSrcweir    {
309cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPSUBTOTAL_OPT:RB_SORT_ASC";
310cdf0e10cSrcweir        Pos = MAP_APPFONT( 114, 14 );
311cdf0e10cSrcweir        Size = MAP_APPFONT( 84, 10 );
312cdf0e10cSrcweir        TabStop = TRUE;
313cdf0e10cSrcweir        Text [ en-US ] = "~Ascending";
314cdf0e10cSrcweir    };
315cdf0e10cSrcweir    RadioButton RB_SORT_DESC
316cdf0e10cSrcweir    {
317cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPSUBTOTAL_OPT:RB_SORT_DESC";
318cdf0e10cSrcweir        Pos = MAP_APPFONT( 114, 28 );
319cdf0e10cSrcweir        Size = MAP_APPFONT( 84, 10 );
320cdf0e10cSrcweir        TabStop = TRUE;
321cdf0e10cSrcweir        Text [ en-US ] = "~Descending";
322cdf0e10cSrcweir    };
323cdf0e10cSrcweir    RadioButton RB_SORT_MAN
324cdf0e10cSrcweir    {
325cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_DPSUBTOTAL_OPT:RB_SORT_MAN";
326cdf0e10cSrcweir        Pos = MAP_APPFONT( 114, 42 );
327cdf0e10cSrcweir        Size = MAP_APPFONT( 84, 10 );
328cdf0e10cSrcweir        TabStop = TRUE;
329cdf0e10cSrcweir        Text [ en-US ] = "~Manual";
330cdf0e10cSrcweir    };
331cdf0e10cSrcweir    FixedLine FL_LAYOUT
332cdf0e10cSrcweir    {
333cdf0e10cSrcweir        Pos = MAP_APPFONT( 6, 56 );
334cdf0e10cSrcweir        Size = MAP_APPFONT( 198, 8 );
335cdf0e10cSrcweir        Text [ en-US ] = "Display options";
336cdf0e10cSrcweir    };
337cdf0e10cSrcweir    FixedText FT_LAYOUT
338cdf0e10cSrcweir    {
339cdf0e10cSrcweir        Pos = MAP_APPFONT( 12, 69 );
340cdf0e10cSrcweir        Size = MAP_APPFONT( 70, 8 );
341cdf0e10cSrcweir        Text [ en-US ] = "~Layout";
342cdf0e10cSrcweir    };
343cdf0e10cSrcweir    ListBox LB_LAYOUT
344cdf0e10cSrcweir    {
345cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_LAYOUT";
346cdf0e10cSrcweir        Pos = MAP_APPFONT( 84, 67 );
347cdf0e10cSrcweir        Size = MAP_APPFONT( 114, 120 );
348cdf0e10cSrcweir        TabStop = TRUE;
349cdf0e10cSrcweir        Border = TRUE;
350cdf0e10cSrcweir        DropDown = TRUE;
351cdf0e10cSrcweir        StringList [ en-US ] =
352cdf0e10cSrcweir        {
353cdf0e10cSrcweir            < "Tabular layout"; Default; >;
354cdf0e10cSrcweir            < "Outline layout with subtotals at the top"; Default; >;
355cdf0e10cSrcweir            < "Outline layout with subtotals at the bottom"; Default; >;
356cdf0e10cSrcweir        };
357cdf0e10cSrcweir    };
358cdf0e10cSrcweir    CheckBox CB_LAYOUT_EMPTY
359cdf0e10cSrcweir    {
360cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCDLG_DPSUBTOTAL_OPT:CB_LAYOUT_EMPTY";
361cdf0e10cSrcweir        Pos = MAP_APPFONT( 12, 85 );
362cdf0e10cSrcweir        Size = MAP_APPFONT( 186, 10 );
363cdf0e10cSrcweir        TabStop = TRUE;
364cdf0e10cSrcweir        Text [ en-US ] = "~Empty line after each item";
365cdf0e10cSrcweir    };
366cdf0e10cSrcweir    FixedLine FL_AUTOSHOW
367cdf0e10cSrcweir    {
368cdf0e10cSrcweir        Pos = MAP_APPFONT( 6, 99 );
369cdf0e10cSrcweir        Size = MAP_APPFONT( 198, 8 );
370cdf0e10cSrcweir        Text [ en-US ] = "Show automatically";
371cdf0e10cSrcweir    };
372cdf0e10cSrcweir    CheckBox CB_SHOW
373cdf0e10cSrcweir    {
374cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCDLG_DPSUBTOTAL_OPT:CB_SHOW";
375cdf0e10cSrcweir        Pos = MAP_APPFONT( 12, 112 );
376cdf0e10cSrcweir        Size = MAP_APPFONT( 70, 10 );
377cdf0e10cSrcweir        TabStop = TRUE;
378cdf0e10cSrcweir        Text[ en-US ] = "~Show";
379cdf0e10cSrcweir    };
380cdf0e10cSrcweir    NumericField NF_SHOW
381cdf0e10cSrcweir    {
382cdf0e10cSrcweir        HelpID = "sc:NumericField:RID_SCDLG_DPSUBTOTAL_OPT:NF_SHOW";
383cdf0e10cSrcweir        Pos = MAP_APPFONT( 84, 110 );
384cdf0e10cSrcweir        Size = MAP_APPFONT( 30, 12 );
385cdf0e10cSrcweir        TabStop = TRUE;
386cdf0e10cSrcweir        Border = TRUE;
387cdf0e10cSrcweir        Repeat = TRUE;
388cdf0e10cSrcweir        Spin = TRUE;
389cdf0e10cSrcweir        Minimum = 1;
390cdf0e10cSrcweir        Maximum = 999;
391cdf0e10cSrcweir        SpinSize = 1;
392cdf0e10cSrcweir        StrictFormat = TRUE;
393cdf0e10cSrcweir    };
394cdf0e10cSrcweir    FixedText FT_SHOW
395cdf0e10cSrcweir    {
396cdf0e10cSrcweir        Pos = MAP_APPFONT( 118, 112 );
397cdf0e10cSrcweir        Size = MAP_APPFONT( 80, 8 );
398cdf0e10cSrcweir        Text [ en-US ] = "items";
399cdf0e10cSrcweir    };
400cdf0e10cSrcweir    FixedText FT_SHOW_FROM
401cdf0e10cSrcweir    {
402cdf0e10cSrcweir        Pos = MAP_APPFONT( 22, 128 );
403cdf0e10cSrcweir        Size = MAP_APPFONT( 60, 8 );
404cdf0e10cSrcweir        Text [ en-US ] = "~From";
405cdf0e10cSrcweir    };
406cdf0e10cSrcweir    ListBox LB_SHOW_FROM
407cdf0e10cSrcweir    {
408cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_SHOW_FROM";
409cdf0e10cSrcweir        Pos = MAP_APPFONT( 84, 126 );
410cdf0e10cSrcweir        Size = MAP_APPFONT( 114, 50 );
411cdf0e10cSrcweir        TabStop = TRUE;
412cdf0e10cSrcweir        Border = TRUE;
413cdf0e10cSrcweir        DropDown = TRUE;
414cdf0e10cSrcweir        StringList [ en-US ] =
415cdf0e10cSrcweir        {
416cdf0e10cSrcweir            < "Top"; Default; >;
417cdf0e10cSrcweir            < "Bottom"; Default; >;
418cdf0e10cSrcweir        };
419cdf0e10cSrcweir    };
420cdf0e10cSrcweir    FixedText FT_SHOW_USING
421cdf0e10cSrcweir    {
422cdf0e10cSrcweir        Pos = MAP_APPFONT( 22, 144 );
423cdf0e10cSrcweir        Size = MAP_APPFONT( 60, 8 );
424cdf0e10cSrcweir        Text [ en-US ] = "~Using field";
425cdf0e10cSrcweir    };
426cdf0e10cSrcweir    ListBox LB_SHOW_USING
427cdf0e10cSrcweir    {
428cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_SHOW_USING";
429cdf0e10cSrcweir        Pos = MAP_APPFONT( 84, 142 );
430cdf0e10cSrcweir        Size = MAP_APPFONT( 114, 120 );
431cdf0e10cSrcweir        TabStop = TRUE;
432cdf0e10cSrcweir        Border = TRUE;
433cdf0e10cSrcweir        DropDown = TRUE;
434cdf0e10cSrcweir    };
435cdf0e10cSrcweir    FixedLine FL_HIDE
436cdf0e10cSrcweir    {
437cdf0e10cSrcweir        Pos = MAP_APPFONT( 6, 160 );
438cdf0e10cSrcweir        Size = MAP_APPFONT( 198, 8 );
439cdf0e10cSrcweir        Text [ en-US ] = "Hide i~tems";
440cdf0e10cSrcweir    };
441cdf0e10cSrcweir    Control CT_HIDE
442cdf0e10cSrcweir    {
443cdf0e10cSrcweir        Pos = MAP_APPFONT( 12, 171 );
444cdf0e10cSrcweir        Size = MAP_APPFONT( 186, 45 );
445cdf0e10cSrcweir        TabStop = TRUE;
446cdf0e10cSrcweir        Border = TRUE;
447cdf0e10cSrcweir    };
448cdf0e10cSrcweir    FixedText FT_HIERARCHY
449cdf0e10cSrcweir    {
450cdf0e10cSrcweir        Pos = MAP_APPFONT( 6, 224 );
451cdf0e10cSrcweir        Size = MAP_APPFONT( 76, 8 );
452cdf0e10cSrcweir        Text [ en-US ] = "Hierarch~y";
453cdf0e10cSrcweir    };
454cdf0e10cSrcweir    ListBox LB_HIERARCHY
455cdf0e10cSrcweir    {
456cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPSUBTOTAL_OPT:LB_HIERARCHY";
457cdf0e10cSrcweir        Pos = MAP_APPFONT( 84, 222 );
458cdf0e10cSrcweir        Size = MAP_APPFONT( 114, 120 );
459cdf0e10cSrcweir        TabStop = TRUE;
460cdf0e10cSrcweir        Border = TRUE;
461cdf0e10cSrcweir        DropDown = TRUE;
462cdf0e10cSrcweir    };
463cdf0e10cSrcweir    OKButton BTN_OK
464cdf0e10cSrcweir    {
465cdf0e10cSrcweir        Pos = MAP_APPFONT( 210, 6 );
466cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
467cdf0e10cSrcweir        TabStop = TRUE;
468cdf0e10cSrcweir        DefButton = TRUE;
469cdf0e10cSrcweir    };
470cdf0e10cSrcweir    CancelButton BTN_CANCEL
471cdf0e10cSrcweir    {
472cdf0e10cSrcweir        Pos = MAP_APPFONT( 210, 23 );
473cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
474cdf0e10cSrcweir        TabStop = TRUE;
475cdf0e10cSrcweir    };
476cdf0e10cSrcweir    HelpButton BTN_HELP
477cdf0e10cSrcweir    {
478cdf0e10cSrcweir        Pos = MAP_APPFONT( 210, 43 );
479cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
480cdf0e10cSrcweir        TabStop = TRUE;
481cdf0e10cSrcweir    };
482cdf0e10cSrcweir    Text [ en-US ] = "Data Field Options";
483cdf0e10cSrcweir};
484cdf0e10cSrcweir
485cdf0e10cSrcweir// ----------------------------------------------------------------------------
486cdf0e10cSrcweir
487cdf0e10cSrcweirModalDialog RID_SCDLG_DPSHOWDETAIL
488cdf0e10cSrcweir{
489cdf0e10cSrcweir    OutputSize = TRUE;
490cdf0e10cSrcweir    HelpId = HID_SC_DPSHOWDETAIL;
491cdf0e10cSrcweir    SVLook = TRUE;
492cdf0e10cSrcweir    Size = MAP_APPFONT( 200, 116 );
493cdf0e10cSrcweir    Moveable = TRUE;
494cdf0e10cSrcweir    Closeable = FALSE;
495cdf0e10cSrcweir    FixedText FT_DIMS
496cdf0e10cSrcweir    {
497cdf0e10cSrcweir        Pos = MAP_APPFONT( 6, 3 );
498cdf0e10cSrcweir        Size = MAP_APPFONT( 132, 24 );
499cdf0e10cSrcweir        WordBreak = TRUE;
500cdf0e10cSrcweir        Text [ en-US ] = "~Choose the field containing the detail you want to show";
501cdf0e10cSrcweir    };
502cdf0e10cSrcweir    ListBox LB_DIMS
503cdf0e10cSrcweir    {
504cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_DPSHOWDETAIL:LB_DIMS";
505cdf0e10cSrcweir        Pos = MAP_APPFONT( 6, 30 );
506cdf0e10cSrcweir        Size = MAP_APPFONT( 132, 80 );
507cdf0e10cSrcweir        TabStop = TRUE;
508cdf0e10cSrcweir        Border = TRUE;
509cdf0e10cSrcweir        DropDown = FALSE;
510cdf0e10cSrcweir    };
511cdf0e10cSrcweir    OKButton BTN_OK
512cdf0e10cSrcweir    {
513cdf0e10cSrcweir        Pos = MAP_APPFONT( 144, 6 );
514cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
515cdf0e10cSrcweir        TabStop = TRUE;
516cdf0e10cSrcweir        DefButton = TRUE;
517cdf0e10cSrcweir    };
518cdf0e10cSrcweir    CancelButton BTN_CANCEL
519cdf0e10cSrcweir    {
520cdf0e10cSrcweir        Pos = MAP_APPFONT( 144, 23 );
521cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
522cdf0e10cSrcweir        TabStop = TRUE;
523cdf0e10cSrcweir    };
524cdf0e10cSrcweir    HelpButton BTN_HELP
525cdf0e10cSrcweir    {
526cdf0e10cSrcweir        Pos = MAP_APPFONT( 144, 43 );
527cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
528cdf0e10cSrcweir        TabStop = TRUE;
529cdf0e10cSrcweir    };
530cdf0e10cSrcweir    Text [ en-US ] = "Show Detail";
531cdf0e10cSrcweir};
532cdf0e10cSrcweir
533cdf0e10cSrcweir// ----------------------------------------------------------------------------
534cdf0e10cSrcweir
535