xref: /AOO41X/main/reportdesign/source/ui/dlg/GroupsSorting.src (revision dc9009912e13d9f4f499ebbfede8dd140d0c240f)
1*dc900991SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*dc900991SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*dc900991SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*dc900991SAndrew Rist * distributed with this work for additional information
6*dc900991SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*dc900991SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*dc900991SAndrew Rist * "License"); you may not use this file except in compliance
9*dc900991SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*dc900991SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*dc900991SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*dc900991SAndrew Rist * software distributed under the License is distributed on an
15*dc900991SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*dc900991SAndrew Rist * KIND, either express or implied.  See the License for the
17*dc900991SAndrew Rist * specific language governing permissions and limitations
18*dc900991SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*dc900991SAndrew Rist *************************************************************/
21*dc900991SAndrew Rist
22*dc900991SAndrew Rist
23cdf0e10cSrcweir#include "GroupsSorting.hrc"
24cdf0e10cSrcweir#include "RptResId.hrc"
25cdf0e10cSrcweir#include "helpids.hrc"
26cdf0e10cSrcweir#ifndef _GLOBLMN_HRC
27cdf0e10cSrcweir#include <svx/globlmn.hrc>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef _SBASLTID_HRC
30cdf0e10cSrcweir#include <svx/svxids.hrc>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir
33cdf0e10cSrcweir
34cdf0e10cSrcweirFloatingWindow RID_GROUPS_SORTING
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	OutputSize = TRUE ;
37cdf0e10cSrcweir	SVLook = TRUE ;
38cdf0e10cSrcweir    Size = MAP_APPFONT ( PAGE_WIDTH , PAGE_HEIGHT ) ;
39cdf0e10cSrcweir	Text [ en-US ] = "Sorting and Grouping" ;
40cdf0e10cSrcweir	HelpId = HID_RPT_GROUPSSORTING_DLG;
41cdf0e10cSrcweir	Moveable = TRUE ;
42cdf0e10cSrcweir	Closeable = TRUE ;
43cdf0e10cSrcweir	Sizeable = TRUE;
44cdf0e10cSrcweir
45cdf0e10cSrcweir	FixedLine FL_SEPARATOR2
46cdf0e10cSrcweir	{
47cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS ) ;
48cdf0e10cSrcweir		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
49cdf0e10cSrcweir		Text [ en-US ] = "Groups";
50cdf0e10cSrcweir	};
51cdf0e10cSrcweir
52cdf0e10cSrcweir	Control WND_CONTROL
53cdf0e10cSrcweir	{
54cdf0e10cSrcweir		Pos = MAP_APPFONT( UNRELATED_CONTROLS, 2*UNRELATED_CONTROLS );
55cdf0e10cSrcweir		Size = MAP_APPFONT( PAGE_WIDTH - 2*UNRELATED_CONTROLS, BROWSER_HEIGHT );
56cdf0e10cSrcweir		HelpId = HID_RPT_GROUPSBRW ;
57cdf0e10cSrcweir		Border = TRUE;
58cdf0e10cSrcweir		TabStop = TRUE;
59cdf0e10cSrcweir	};
60cdf0e10cSrcweir
61cdf0e10cSrcweir	FixedText FT_MOVELABEL
62cdf0e10cSrcweir	{
63cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 3*UNRELATED_CONTROLS + BROWSER_HEIGHT ) ;
64cdf0e10cSrcweir        Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
65cdf0e10cSrcweir//		Text [ en-US ] = "Move group" ;
66cdf0e10cSrcweir		Text [ en-US ] = "Group actions" ;
67cdf0e10cSrcweir	};
68cdf0e10cSrcweir
69cdf0e10cSrcweir//     /*
70cdf0e10cSrcweir//       |                                  PAGE_WIDTH                                            |
71cdf0e10cSrcweir//       |                         /-----\            {-------\            /---------\            |
72cdf0e10cSrcweir//       | unreleated FT_MOVELABEL |PB_UP| unreleated |PB_DOWN| unreleated |PD_DELETE| unreleated |
73cdf0e10cSrcweir//       |                         \_____/            \_______/            \_________/            |
74cdf0e10cSrcweir//
75cdf0e10cSrcweir//       Don't set any position here, it will be done in OGroupsSortingDialog::Resize()
76cdf0e10cSrcweir//
77cdf0e10cSrcweir//       Find possible IMAGEBUTTON_* in rscicpx.cxx
78cdf0e10cSrcweir//       Symbol is vclrsc.hxx
79cdf0e10cSrcweir//      */
80cdf0e10cSrcweir// 	ImageButton PB_UP
81cdf0e10cSrcweir// 	{
82cdf0e10cSrcweir// 		Pos = MAP_APPFONT ( PAGE_WIDTH - 3*UNRELATED_CONTROLS - 3*14 - 2*RELATED_CONTROLS, 3*UNRELATED_CONTROLS + BROWSER_HEIGHT -1 ) ;
83cdf0e10cSrcweir// 		Size = MAP_APPFONT ( 14 , 14 ) ;
84cdf0e10cSrcweir// 		TabStop = TRUE;
85cdf0e10cSrcweir// //        Symbol = IMAGEBUTTON_ARROW_UP ; // arrow up
86cdf0e10cSrcweir//         Symbol = IMAGEBUTTON_SPIN_UP ; // triangle up
87cdf0e10cSrcweir// //        Symbol = IMAGEBUTTON_FLOAT;
88cdf0e10cSrcweir// 	};
89cdf0e10cSrcweir//
90cdf0e10cSrcweir// 	ImageButton PB_DOWN
91cdf0e10cSrcweir// 	{
92cdf0e10cSrcweir// 		Pos = MAP_APPFONT ( PAGE_WIDTH - 2*UNRELATED_CONTROLS - 2*14 - 2*RELATED_CONTROLS, 3*UNRELATED_CONTROLS + BROWSER_HEIGHT - 1 ) ;
93cdf0e10cSrcweir// 		Size                = MAP_APPFONT ( 14 , 14 ) ;
94cdf0e10cSrcweir// 		TabStop = TRUE;
95cdf0e10cSrcweir// //        Symbol = IMAGEBUTTON_ARROW_DOWN ; // arrow down
96cdf0e10cSrcweir// //        Symbol = IMAGEBUTTON_FIRST ;
97cdf0e10cSrcweir//         Symbol = IMAGEBUTTON_SPIN_DOWN;
98cdf0e10cSrcweir//
99cdf0e10cSrcweir// 	};
100cdf0e10cSrcweir//
101cdf0e10cSrcweir// 	ImageButton PB_DELETE
102cdf0e10cSrcweir// 	{
103cdf0e10cSrcweir// 		Pos = MAP_APPFONT ( PAGE_WIDTH - UNRELATED_CONTROLS - 14, 3*UNRELATED_CONTROLS + BROWSER_HEIGHT - 1 ) ;
104cdf0e10cSrcweir// 		Size                = MAP_APPFONT ( 14 , 14 ) ;
105cdf0e10cSrcweir// 		TabStop = TRUE;
106cdf0e10cSrcweir//         Symbol = IMAGEBUTTON_CLOSE ;
107cdf0e10cSrcweir// 	};
108cdf0e10cSrcweir
109cdf0e10cSrcweir
110cdf0e10cSrcweir	ToolBox TB_TOOLBOX
111cdf0e10cSrcweir	{
112cdf0e10cSrcweir		Pos = MAP_APPFONT ( PAGE_WIDTH - 4*14 - UNRELATED_CONTROLS, 3*UNRELATED_CONTROLS + BROWSER_HEIGHT - 1 ) ;
113cdf0e10cSrcweir		ButtonType = BUTTON_SYMBOL;
114cdf0e10cSrcweir// 		Align = BOXALIGN_TOP;
115cdf0e10cSrcweir// 		HelpId = HID_RPT_CONDFORMAT_TB;
116cdf0e10cSrcweir		Customize = FALSE;
117cdf0e10cSrcweir		ItemList =
118cdf0e10cSrcweir		{
119cdf0e10cSrcweir			ToolBoxItem
120cdf0e10cSrcweir			{
121cdf0e10cSrcweir				Identifier = SID_RPT_GROUPSORT_MOVE_UP ;
122cdf0e10cSrcweir				// Command = ".uno:ReportGroupMoveUp" ; // default_images/res/commandimages/sc_reportgroupmoveup.png
123cdf0e10cSrcweir				HelpID = HID_RPT_GROUPSORT_MOVE_UP ;
124cdf0e10cSrcweir				Text [ en-US ] = "Move up" ;
125cdf0e10cSrcweir				Checkable = TRUE;
126cdf0e10cSrcweir//                Disable              = TRUE;
127cdf0e10cSrcweir			};
128cdf0e10cSrcweir			ToolBoxItem
129cdf0e10cSrcweir			{
130cdf0e10cSrcweir				Identifier = SID_RPT_GROUPSORT_MOVE_DOWN ;
131cdf0e10cSrcweir				// Command = ".uno:ReportGroupMoveDown" ;
132cdf0e10cSrcweir				HelpID = HID_RPT_GROUPSORT_MOVE_DOWN ;
133cdf0e10cSrcweir				Text [ en-US ] = "Move down" ;
134cdf0e10cSrcweir				Checkable = TRUE;
135cdf0e10cSrcweir//                Disable              = TRUE;
136cdf0e10cSrcweir			};
137cdf0e10cSrcweir			ToolBoxItem
138cdf0e10cSrcweir			{
139cdf0e10cSrcweir				Identifier = SID_RPT_GROUPSORT_DELETE ;
140cdf0e10cSrcweir				// Command = ".uno:ReportGroupDelete" ;
141cdf0e10cSrcweir				HelpID = HID_RPT_GROUPSORT_DELETE ;
142cdf0e10cSrcweir				Text [ en-US ] = "~Delete" ;
143cdf0e10cSrcweir				Checkable = TRUE;
144cdf0e10cSrcweir//                Disable              = TRUE;
145cdf0e10cSrcweir			};
146cdf0e10cSrcweir		};
147cdf0e10cSrcweir	};
148cdf0e10cSrcweir
149cdf0e10cSrcweir	FixedLine FL_SEPARATOR3
150cdf0e10cSrcweir	{
151cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS , 3*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT) ;
152cdf0e10cSrcweir		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
153cdf0e10cSrcweir		Text [ en-US ] = "Properties";
154cdf0e10cSrcweir	};
155cdf0e10cSrcweir
156cdf0e10cSrcweir	FixedText FT_ORDER
157cdf0e10cSrcweir	{
158cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 4*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + FIXEDTEXT_HEIGHT ) ;
159cdf0e10cSrcweir        Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
160cdf0e10cSrcweir        Hide = TRUE;
161cdf0e10cSrcweir        Text [ en-US ] = "Sorting" ;
162cdf0e10cSrcweir	};
163cdf0e10cSrcweir	ListBox LST_ORDER
164cdf0e10cSrcweir	{
165cdf0e10cSrcweir	    HelpID = "reportdesign:ListBox:RID_GROUPS_SORTING:LST_ORDER";
166cdf0e10cSrcweir		Border = TRUE;
167cdf0e10cSrcweir		Pos = MAP_APPFONT(2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH, 4*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + FIXEDTEXT_HEIGHT - 1 );
168cdf0e10cSrcweir		Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
169cdf0e10cSrcweir		DropDown = TRUE;
170cdf0e10cSrcweir		TabStop = TRUE;
171cdf0e10cSrcweir		Hide = TRUE;
172cdf0e10cSrcweir		CurPos = 0 ;
173cdf0e10cSrcweir		StringList [ en-US ] =
174cdf0e10cSrcweir		{
175cdf0e10cSrcweir			< "Ascending" ; 0 ; > ;
176cdf0e10cSrcweir			< "Descending" ; 1 ; > ;
177cdf0e10cSrcweir		};
178cdf0e10cSrcweir
179cdf0e10cSrcweir	};
180cdf0e10cSrcweir	FixedText FT_HEADER
181cdf0e10cSrcweir	{
182cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 5*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 2*FIXEDTEXT_HEIGHT) ;
183cdf0e10cSrcweir        Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
184cdf0e10cSrcweir        Hide = TRUE;
185cdf0e10cSrcweir		Text [ en-US ] = "Group Header" ;
186cdf0e10cSrcweir
187cdf0e10cSrcweir	};
188cdf0e10cSrcweir	ListBox LST_HEADERLST
189cdf0e10cSrcweir	{
190cdf0e10cSrcweir	    HelpID = "reportdesign:ListBox:RID_GROUPS_SORTING:LST_HEADERLST";
191cdf0e10cSrcweir		Border = TRUE;
192cdf0e10cSrcweir		Hide = TRUE;
193cdf0e10cSrcweir		Pos = MAP_APPFONT( 2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH, 5*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 2*FIXEDTEXT_HEIGHT -1);
194cdf0e10cSrcweir		Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
195cdf0e10cSrcweir		DropDown = TRUE;
196cdf0e10cSrcweir		TabStop = TRUE;
197cdf0e10cSrcweir		CurPos = 1 ;
198cdf0e10cSrcweir		StringList [ en-US ] =
199cdf0e10cSrcweir		{
200cdf0e10cSrcweir			< "Present" ; Default ; > ;
201cdf0e10cSrcweir			< "Not present" ; Default ; > ;
202cdf0e10cSrcweir		};
203cdf0e10cSrcweir	};
204cdf0e10cSrcweir	FixedText FT_FOOTER
205cdf0e10cSrcweir	{
206cdf0e10cSrcweir		Pos = MAP_APPFONT (  UNRELATED_CONTROLS, 6*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 3*FIXEDTEXT_HEIGHT) ;
207cdf0e10cSrcweir        Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
208cdf0e10cSrcweir        Hide = TRUE;
209cdf0e10cSrcweir        Text [ en-US ] = "Group Footer" ;
210cdf0e10cSrcweir
211cdf0e10cSrcweir	};
212cdf0e10cSrcweir	ListBox LST_FOOTERLST
213cdf0e10cSrcweir	{
214cdf0e10cSrcweir	    HelpID = "reportdesign:ListBox:RID_GROUPS_SORTING:LST_FOOTERLST";
215cdf0e10cSrcweir		Border = TRUE;
216cdf0e10cSrcweir		Hide = TRUE;
217cdf0e10cSrcweir		Pos = MAP_APPFONT( 2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH, 6*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 3*FIXEDTEXT_HEIGHT -1);
218cdf0e10cSrcweir		Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
219cdf0e10cSrcweir		DropDown = TRUE;
220cdf0e10cSrcweir		TabStop = TRUE;
221cdf0e10cSrcweir		CurPos = 1 ;
222cdf0e10cSrcweir		StringList [ en-US ] =
223cdf0e10cSrcweir		{
224cdf0e10cSrcweir			< "Present" ; Default ; > ;
225cdf0e10cSrcweir			< "Not present" ; Default ; > ;
226cdf0e10cSrcweir		};
227cdf0e10cSrcweir	};
228cdf0e10cSrcweir	FixedText FT_GROUPON
229cdf0e10cSrcweir	{
230cdf0e10cSrcweir		Pos = MAP_APPFONT (  UNRELATED_CONTROLS, 7*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 4*FIXEDTEXT_HEIGHT) ;
231cdf0e10cSrcweir        Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
232cdf0e10cSrcweir        Hide = TRUE;
233cdf0e10cSrcweir		Text [ en-US ] = "Group On" ;
234cdf0e10cSrcweir
235cdf0e10cSrcweir	};
236cdf0e10cSrcweir	ListBox LST_GROUPONLST
237cdf0e10cSrcweir	{
238cdf0e10cSrcweir	    HelpID = "reportdesign:ListBox:RID_GROUPS_SORTING:LST_GROUPONLST";
239cdf0e10cSrcweir		Border = TRUE;
240cdf0e10cSrcweir		Hide = TRUE;
241cdf0e10cSrcweir		Pos = MAP_APPFONT( 2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH, 7*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 4*FIXEDTEXT_HEIGHT -1);
242cdf0e10cSrcweir		Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
243cdf0e10cSrcweir		DropDown = TRUE;
244cdf0e10cSrcweir		TabStop = TRUE;
245cdf0e10cSrcweir		CurPos = 0 ;
246cdf0e10cSrcweir		StringList [ en-US ] =
247cdf0e10cSrcweir		{
248cdf0e10cSrcweir			< "Each Value" ; Default ; > ;
249cdf0e10cSrcweir		};
250cdf0e10cSrcweir	};
251cdf0e10cSrcweir	FixedText FT_GROUPINTERVAL
252cdf0e10cSrcweir	{
253cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 8*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 5*FIXEDTEXT_HEIGHT) ;
254cdf0e10cSrcweir        Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
255cdf0e10cSrcweir        Hide = TRUE;
256cdf0e10cSrcweir        Text [ en-US ] = "Group Interval" ;
257cdf0e10cSrcweir	};
258cdf0e10cSrcweir	NumericField ED_GROUPINTERVALLST
259cdf0e10cSrcweir	{
260cdf0e10cSrcweir	    HelpID = "reportdesign:NumericField:RID_GROUPS_SORTING:ED_GROUPINTERVALLST";
261cdf0e10cSrcweir		Border = TRUE;
262cdf0e10cSrcweir		Hide = TRUE;
263cdf0e10cSrcweir		Pos = MAP_APPFONT(2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH , 8*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 5*FIXEDTEXT_HEIGHT -1);
264cdf0e10cSrcweir		Size = MAP_APPFONT( LISTBOX_WIDTH, EDIT_HEIGHT );
265cdf0e10cSrcweir		TabStop = TRUE;
266cdf0e10cSrcweir	};
267cdf0e10cSrcweir
268cdf0e10cSrcweir	FixedText FT_KEEPTOGETHER
269cdf0e10cSrcweir	{
270cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 9*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 6*FIXEDTEXT_HEIGHT) ;
271cdf0e10cSrcweir        Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
272cdf0e10cSrcweir        Hide = TRUE;
273cdf0e10cSrcweir		Text [ en-US ] = "Keep Together" ;
274cdf0e10cSrcweir	};
275cdf0e10cSrcweir	ListBox LST_KEEPTOGETHERLST
276cdf0e10cSrcweir	{
277cdf0e10cSrcweir	    HelpID = "reportdesign:ListBox:RID_GROUPS_SORTING:LST_KEEPTOGETHERLST";
278cdf0e10cSrcweir		Border = TRUE;
279cdf0e10cSrcweir		Hide = TRUE;
280cdf0e10cSrcweir		Pos = MAP_APPFONT(2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH , 9*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 6*FIXEDTEXT_HEIGHT -1);
281cdf0e10cSrcweir		Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
282cdf0e10cSrcweir		DropDown = TRUE;
283cdf0e10cSrcweir		TabStop = TRUE;
284cdf0e10cSrcweir		CurPos = 0 ;
285cdf0e10cSrcweir		StringList [ en-US ] =
286cdf0e10cSrcweir		{
287cdf0e10cSrcweir			< "No" ; 0 ; > ;
288cdf0e10cSrcweir			< "Whole Group" ; 1 ; > ;
289cdf0e10cSrcweir			< "With First Detail" ; 2 ; > ;
290cdf0e10cSrcweir		};
291cdf0e10cSrcweir	};
292cdf0e10cSrcweir
293cdf0e10cSrcweir	FixedLine FL_SEPARATOR1
294cdf0e10cSrcweir	{
295cdf0e10cSrcweir		Pos = MAP_APPFONT ( RELATED_CONTROLS , 10*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 7*FIXEDTEXT_HEIGHT) ;
296cdf0e10cSrcweir		Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
297cdf0e10cSrcweir		Text [ en-US ] = "Help";
298cdf0e10cSrcweir	};
299cdf0e10cSrcweir
300cdf0e10cSrcweir	FixedText HELP_FIELD
301cdf0e10cSrcweir	{
302cdf0e10cSrcweir		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 12*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 7*FIXEDTEXT_HEIGHT) ;
303cdf0e10cSrcweir		Size = MAP_APPFONT( PAGE_WIDTH - 2*UNRELATED_CONTROLS, 4*FIXEDTEXT_HEIGHT);
304cdf0e10cSrcweir		WordBreak = TRUE;
305cdf0e10cSrcweir	};
306cdf0e10cSrcweir
307cdf0e10cSrcweir//BTN 	Image IMG_UP_H
308cdf0e10cSrcweir//BTN 	{
309cdf0e10cSrcweir//BTN 		ImageBitmap = Bitmap { File = "arrow_move_up_hc" ; };
310cdf0e10cSrcweir//BTN 	};
311cdf0e10cSrcweir//BTN 	Image IMG_DOWN_H
312cdf0e10cSrcweir//BTN 	{
313cdf0e10cSrcweir//BTN 		ImageBitmap = Bitmap { File = "arrow_move_down_hc" ; };
314cdf0e10cSrcweir//BTN 	};
315cdf0e10cSrcweir
316cdf0e10cSrcweir
317cdf0e10cSrcweir};
318cdf0e10cSrcweir
319cdf0e10cSrcweirString STR_RPT_EXPRESSION
320cdf0e10cSrcweir{
321cdf0e10cSrcweir	Text [ en-US ] = "Field/Expression" ;
322cdf0e10cSrcweir};
323cdf0e10cSrcweirString STR_RPT_SORTING
324cdf0e10cSrcweir{
325cdf0e10cSrcweir	Text [ en-US ] = "Sort Order" ;
326cdf0e10cSrcweir};
327cdf0e10cSrcweirString STR_RPT_PREFIXCHARS
328cdf0e10cSrcweir{
329cdf0e10cSrcweir	Text [ en-US ] = "Prefix Characters" ;
330cdf0e10cSrcweir};
331cdf0e10cSrcweirString STR_RPT_YEAR
332cdf0e10cSrcweir{
333cdf0e10cSrcweir	Text [ en-US ] = "Year" ;
334cdf0e10cSrcweir};
335cdf0e10cSrcweirString STR_RPT_QUARTER
336cdf0e10cSrcweir{
337cdf0e10cSrcweir	Text [ en-US ] = "Quarter" ;
338cdf0e10cSrcweir};
339cdf0e10cSrcweirString STR_RPT_MONTH
340cdf0e10cSrcweir{
341cdf0e10cSrcweir	Text [ en-US ] = "Month" ;
342cdf0e10cSrcweir};
343cdf0e10cSrcweirString STR_RPT_WEEK
344cdf0e10cSrcweir{
345cdf0e10cSrcweir	Text [ en-US ] = "Week" ;
346cdf0e10cSrcweir};
347cdf0e10cSrcweirString STR_RPT_DAY
348cdf0e10cSrcweir{
349cdf0e10cSrcweir	Text [ en-US ] = "Day" ;
350cdf0e10cSrcweir};
351cdf0e10cSrcweirString STR_RPT_HOUR
352cdf0e10cSrcweir{
353cdf0e10cSrcweir	Text [ en-US ] = "Hour" ;
354cdf0e10cSrcweir};
355cdf0e10cSrcweirString STR_RPT_MINUTE
356cdf0e10cSrcweir{
357cdf0e10cSrcweir	Text [ en-US ] = "Minute" ;
358cdf0e10cSrcweir};
359cdf0e10cSrcweirString STR_RPT_INTERVAL
360cdf0e10cSrcweir{
361cdf0e10cSrcweir	Text [ en-US ] = "Interval" ;
362cdf0e10cSrcweir};
363cdf0e10cSrcweir
364cdf0e10cSrcweirString STR_RPT_HELP_FIELD
365cdf0e10cSrcweir{
366cdf0e10cSrcweir	Text [ en-US ] = "Select a field or type an expression to sort or group on." ;
367cdf0e10cSrcweir};
368cdf0e10cSrcweir
369cdf0e10cSrcweirString STR_RPT_HELP_HEADER
370cdf0e10cSrcweir{
371cdf0e10cSrcweir	Text [ en-US ] = "Display a header for this group?" ;
372cdf0e10cSrcweir};
373cdf0e10cSrcweir
374cdf0e10cSrcweirString STR_RPT_HELP_FOOTER
375cdf0e10cSrcweir{
376cdf0e10cSrcweir	Text [ en-US ] = "Display a footer for this group?" ;
377cdf0e10cSrcweir};
378cdf0e10cSrcweirString STR_RPT_HELP_GROUPON
379cdf0e10cSrcweir{
380cdf0e10cSrcweir	Text [ en-US ] = "Select the value or range of values that starts a new group." ;
381cdf0e10cSrcweir};
382cdf0e10cSrcweirString STR_RPT_HELP_INTERVAL
383cdf0e10cSrcweir{
384cdf0e10cSrcweir	Text [ en-US ] = "Interval or number of characters to group on." ;
385cdf0e10cSrcweir};
386cdf0e10cSrcweirString STR_RPT_HELP_KEEP
387cdf0e10cSrcweir{
388cdf0e10cSrcweir	Text [ en-US ] = "Keep group together on one page?" ;
389cdf0e10cSrcweir};
390cdf0e10cSrcweirString STR_RPT_HELP_SORT
391cdf0e10cSrcweir{
392cdf0e10cSrcweir	Text [ en-US ] = "Select ascending or descending sort order. Ascending means from A to Z or 0 to 9" ;
393cdf0e10cSrcweir};
394cdf0e10cSrcweir
395cdf0e10cSrcweir
396cdf0e10cSrcweirMenu RID_GROUPSROWPOPUPMENU
397cdf0e10cSrcweir{
398cdf0e10cSrcweir	ItemList =
399cdf0e10cSrcweir	{
400cdf0e10cSrcweir/*
401cdf0e10cSrcweir		MenuItem
402cdf0e10cSrcweir		{
403cdf0e10cSrcweir			ITEM_EDIT_CUT
404cdf0e10cSrcweir		};
405cdf0e10cSrcweir		MenuItem
406cdf0e10cSrcweir		{
407cdf0e10cSrcweir			ITEM_EDIT_COPY
408cdf0e10cSrcweir		};
409cdf0e10cSrcweir		MenuItem
410cdf0e10cSrcweir		{
411cdf0e10cSrcweir			ITEM_EDIT_PASTE
412cdf0e10cSrcweir		};
413cdf0e10cSrcweir*/
414cdf0e10cSrcweir		MenuItem
415cdf0e10cSrcweir		{
416cdf0e10cSrcweir			ITEM_EDIT_DELETE
417cdf0e10cSrcweir		};
418cdf0e10cSrcweir	};
419cdf0e10cSrcweir};
420cdf0e10cSrcweir
421cdf0e10cSrcweir
422cdf0e10cSrcweir#define DEF_MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; }
423cdf0e10cSrcweir
424cdf0e10cSrcweir#define DEF_IL_GROUPSORT \
425cdf0e10cSrcweir\
426cdf0e10cSrcweir    IdList = {\
427cdf0e10cSrcweir		SID_RPT_GROUPSORT_MOVE_UP;\
428cdf0e10cSrcweir		SID_RPT_GROUPSORT_MOVE_DOWN;\
429cdf0e10cSrcweir		SID_RPT_GROUPSORT_DELETE;\
430cdf0e10cSrcweir		};\
431cdf0e10cSrcweir	IdCount = {\
432cdf0e10cSrcweir	3;\
433cdf0e10cSrcweir	}
434cdf0e10cSrcweir
435cdf0e10cSrcweirImageList IMGLST_GROUPSORT_DLG_SC
436cdf0e10cSrcweir{
437cdf0e10cSrcweir    DEF_MASKCOLOR;
438cdf0e10cSrcweir	prefix = "sc";
439cdf0e10cSrcweir	DEF_IL_GROUPSORT ;
440cdf0e10cSrcweir};
441cdf0e10cSrcweir
442cdf0e10cSrcweirImageList IMGLST_GROUPSORT_DLG_SCH
443cdf0e10cSrcweir{
444cdf0e10cSrcweir    DEF_MASKCOLOR;
445cdf0e10cSrcweir	prefix = "sch";
446cdf0e10cSrcweir	DEF_IL_GROUPSORT ;
447cdf0e10cSrcweir};
448cdf0e10cSrcweir
449cdf0e10cSrcweir
450cdf0e10cSrcweir// Image IMG_GROUPSORT_MOVEUP
451cdf0e10cSrcweir// {
452cdf0e10cSrcweir//     ImageBitmap = Bitmap
453cdf0e10cSrcweir//     {
454cdf0e10cSrcweir//         File = "reportgroupmoveup"; // reportdesign/res/...
455cdf0e10cSrcweir//     };
456cdf0e10cSrcweir//     DEF_MASKCOLOR;
457cdf0e10cSrcweir// };
458cdf0e10cSrcweir// Image IMG_GROUPSORT_MOVEDOWN
459cdf0e10cSrcweir// {
460cdf0e10cSrcweir//     ImageBitmap = Bitmap
461cdf0e10cSrcweir//     {
462cdf0e10cSrcweir//         File = "reportgroupmovedown";
463cdf0e10cSrcweir//     };
464cdf0e10cSrcweir//     DEF_MASKCOLOR;
465cdf0e10cSrcweir// };
466cdf0e10cSrcweir// Image IMG_GROUPSORT_DELETE
467cdf0e10cSrcweir// {
468cdf0e10cSrcweir//     ImageBitmap = Bitmap
469cdf0e10cSrcweir//     {
470cdf0e10cSrcweir//         File = "reportgroupdelete";
471cdf0e10cSrcweir//     };
472cdf0e10cSrcweir//     DEF_MASKCOLOR;
473cdf0e10cSrcweir// };
474cdf0e10cSrcweir//
475cdf0e10cSrcweir// Image IMG_GROUPSORT_MOVEUP_H
476cdf0e10cSrcweir// {
477cdf0e10cSrcweir//     ImageBitmap = Bitmap
478cdf0e10cSrcweir//     {
479cdf0e10cSrcweir//         File = "reportgroupmoveup_h"; // reportdesign/res/...
480cdf0e10cSrcweir//     };
481cdf0e10cSrcweir//     DEF_MASKCOLOR;
482cdf0e10cSrcweir// };
483cdf0e10cSrcweir// Image IMG_GROUPSORT_MOVEDOWN_H
484cdf0e10cSrcweir// {
485cdf0e10cSrcweir//     ImageBitmap = Bitmap
486cdf0e10cSrcweir//     {
487cdf0e10cSrcweir//         File = "reportgroupmovedown_h";
488cdf0e10cSrcweir//     };
489cdf0e10cSrcweir//     DEF_MASKCOLOR;
490cdf0e10cSrcweir// };
491cdf0e10cSrcweir// Image IMG_GROUPSORT_DELETE_H
492cdf0e10cSrcweir// {
493cdf0e10cSrcweir//     ImageBitmap = Bitmap
494cdf0e10cSrcweir//     {
495cdf0e10cSrcweir//         File = "reportgroupdelete_h";
496cdf0e10cSrcweir//     };
497cdf0e10cSrcweir//     DEF_MASKCOLOR;
498cdf0e10cSrcweir// };
499