1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: GroupsSorting.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include "GroupsSorting.hrc"
31 #include "RptResId.hrc"
32 #include "helpids.hrc"
34 #include <svx/globlmn.hrc>
37 #include <svx/svxids.hrc>
41 FloatingWindow RID_GROUPS_SORTING
45 Size = MAP_APPFONT ( PAGE_WIDTH , PAGE_HEIGHT ) ;
46 Text [ en-US ] = "Sorting and Grouping" ;
47 HelpId = HID_RPT_GROUPSSORTING_DLG;
52 FixedLine FL_SEPARATOR2
54 Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS ) ;
55 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
56 Text [ en-US ] = "Groups";
61 Pos = MAP_APPFONT( UNRELATED_CONTROLS, 2*UNRELATED_CONTROLS );
62 Size = MAP_APPFONT( PAGE_WIDTH - 2*UNRELATED_CONTROLS, BROWSER_HEIGHT );
63 HelpId = HID_RPT_GROUPSBRW ;
68 FixedText FT_MOVELABEL
70 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 3*UNRELATED_CONTROLS + BROWSER_HEIGHT ) ;
71 Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
72 // Text [ en-US ] = "Move group" ;
73 Text [ en-US ] = "Group actions" ;
78 // | /-----\ {-------\ /---------\ |
79 // | unreleated FT_MOVELABEL |PB_UP| unreleated |PB_DOWN| unreleated |PD_DELETE| unreleated |
80 // | \_____/ \_______/ \_________/ |
82 // Don't set any position here, it will be done in OGroupsSortingDialog::Resize()
84 // Find possible IMAGEBUTTON_* in rscicpx.cxx
85 // Symbol is vclrsc.hxx
89 // Pos = MAP_APPFONT ( PAGE_WIDTH - 3*UNRELATED_CONTROLS - 3*14 - 2*RELATED_CONTROLS, 3*UNRELATED_CONTROLS + BROWSER_HEIGHT -1 ) ;
90 // Size = MAP_APPFONT ( 14 , 14 ) ;
92 // // Symbol = IMAGEBUTTON_ARROW_UP ; // arrow up
93 // Symbol = IMAGEBUTTON_SPIN_UP ; // triangle up
94 // // Symbol = IMAGEBUTTON_FLOAT;
97 // ImageButton PB_DOWN
99 // Pos = MAP_APPFONT ( PAGE_WIDTH - 2*UNRELATED_CONTROLS - 2*14 - 2*RELATED_CONTROLS, 3*UNRELATED_CONTROLS + BROWSER_HEIGHT - 1 ) ;
100 // Size = MAP_APPFONT ( 14 , 14 ) ;
102 // // Symbol = IMAGEBUTTON_ARROW_DOWN ; // arrow down
103 // // Symbol = IMAGEBUTTON_FIRST ;
104 // Symbol = IMAGEBUTTON_SPIN_DOWN;
108 // ImageButton PB_DELETE
110 // Pos = MAP_APPFONT ( PAGE_WIDTH - UNRELATED_CONTROLS - 14, 3*UNRELATED_CONTROLS + BROWSER_HEIGHT - 1 ) ;
111 // Size = MAP_APPFONT ( 14 , 14 ) ;
113 // Symbol = IMAGEBUTTON_CLOSE ;
119 Pos = MAP_APPFONT ( PAGE_WIDTH - 4*14 - UNRELATED_CONTROLS, 3*UNRELATED_CONTROLS + BROWSER_HEIGHT - 1 ) ;
120 ButtonType = BUTTON_SYMBOL;
121 // Align = BOXALIGN_TOP;
122 // HelpId = HID_RPT_CONDFORMAT_TB;
128 Identifier = SID_RPT_GROUPSORT_MOVE_UP ;
129 // Command = ".uno:ReportGroupMoveUp" ; // default_images/res/commandimages/sc_reportgroupmoveup.png
130 HelpID = HID_RPT_GROUPSORT_MOVE_UP ;
131 Text [ en-US ] = "Move up" ;
137 Identifier = SID_RPT_GROUPSORT_MOVE_DOWN ;
138 // Command = ".uno:ReportGroupMoveDown" ;
139 HelpID = HID_RPT_GROUPSORT_MOVE_DOWN ;
140 Text [ en-US ] = "Move down" ;
146 Identifier = SID_RPT_GROUPSORT_DELETE ;
147 // Command = ".uno:ReportGroupDelete" ;
148 HelpID = HID_RPT_GROUPSORT_DELETE ;
149 Text [ en-US ] = "~Delete" ;
156 FixedLine FL_SEPARATOR3
158 Pos = MAP_APPFONT ( RELATED_CONTROLS , 3*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT) ;
159 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
160 Text [ en-US ] = "Properties";
165 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 4*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + FIXEDTEXT_HEIGHT ) ;
166 Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
168 Text [ en-US ] = "Sorting" ;
173 Pos = MAP_APPFONT(2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH, 4*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + FIXEDTEXT_HEIGHT - 1 );
174 Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
179 StringList [ en-US ] =
181 < "Ascending" ; 0 ; > ;
182 < "Descending" ; 1 ; > ;
188 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 5*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 2*FIXEDTEXT_HEIGHT) ;
189 Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
191 Text [ en-US ] = "Group Header" ;
194 ListBox LST_HEADERLST
198 Pos = MAP_APPFONT( 2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH, 5*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 2*FIXEDTEXT_HEIGHT -1);
199 Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
203 StringList [ en-US ] =
205 < "Present" ; Default ; > ;
206 < "Not present" ; Default ; > ;
211 Pos = MAP_APPFONT ( UNRELATED_CONTROLS, 6*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 3*FIXEDTEXT_HEIGHT) ;
212 Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
214 Text [ en-US ] = "Group Footer" ;
217 ListBox LST_FOOTERLST
221 Pos = MAP_APPFONT( 2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH, 6*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 3*FIXEDTEXT_HEIGHT -1);
222 Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
226 StringList [ en-US ] =
228 < "Present" ; Default ; > ;
229 < "Not present" ; Default ; > ;
234 Pos = MAP_APPFONT ( UNRELATED_CONTROLS, 7*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 4*FIXEDTEXT_HEIGHT) ;
235 Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
237 Text [ en-US ] = "Group On" ;
240 ListBox LST_GROUPONLST
244 Pos = MAP_APPFONT( 2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH, 7*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 4*FIXEDTEXT_HEIGHT -1);
245 Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
249 StringList [ en-US ] =
251 < "Each Value" ; Default ; > ;
254 FixedText FT_GROUPINTERVAL
256 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 8*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 5*FIXEDTEXT_HEIGHT) ;
257 Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
259 Text [ en-US ] = "Group Interval" ;
261 NumericField ED_GROUPINTERVALLST
265 Pos = MAP_APPFONT(2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH , 8*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 5*FIXEDTEXT_HEIGHT -1);
266 Size = MAP_APPFONT( LISTBOX_WIDTH, EDIT_HEIGHT );
270 FixedText FT_KEEPTOGETHER
272 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 9*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 6*FIXEDTEXT_HEIGHT) ;
273 Size = MAP_APPFONT ( FIXEDTEXT_WIDTH , FIXEDTEXT_HEIGHT ) ;
275 Text [ en-US ] = "Keep Together" ;
277 ListBox LST_KEEPTOGETHERLST
281 Pos = MAP_APPFONT(2*UNRELATED_CONTROLS + FIXEDTEXT_WIDTH , 9*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 6*FIXEDTEXT_HEIGHT -1);
282 Size = MAP_APPFONT( LISTBOX_WIDTH, 60 );
286 StringList [ en-US ] =
289 < "Whole Group" ; 1 ; > ;
290 < "With First Detail" ; 2 ; > ;
294 FixedLine FL_SEPARATOR1
296 Pos = MAP_APPFONT ( RELATED_CONTROLS , 10*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 7*FIXEDTEXT_HEIGHT) ;
297 Size = MAP_APPFONT ( PAGE_WIDTH - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
298 Text [ en-US ] = "Help";
303 Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 12*UNRELATED_CONTROLS + BROWSER_HEIGHT + BUTTON_HEIGHT + 7*FIXEDTEXT_HEIGHT) ;
304 Size = MAP_APPFONT( PAGE_WIDTH - 2*UNRELATED_CONTROLS, 4*FIXEDTEXT_HEIGHT);
310 //BTN ImageBitmap = Bitmap { File = "arrow_move_up_hc" ; };
312 //BTN Image IMG_DOWN_H
314 //BTN ImageBitmap = Bitmap { File = "arrow_move_down_hc" ; };
320 String STR_RPT_EXPRESSION
322 Text [ en-US ] = "Field/Expression" ;
324 String STR_RPT_SORTING
326 Text [ en-US ] = "Sort Order" ;
328 String STR_RPT_PREFIXCHARS
330 Text [ en-US ] = "Prefix Characters" ;
334 Text [ en-US ] = "Year" ;
336 String STR_RPT_QUARTER
338 Text [ en-US ] = "Quarter" ;
342 Text [ en-US ] = "Month" ;
346 Text [ en-US ] = "Week" ;
350 Text [ en-US ] = "Day" ;
354 Text [ en-US ] = "Hour" ;
356 String STR_RPT_MINUTE
358 Text [ en-US ] = "Minute" ;
360 String STR_RPT_INTERVAL
362 Text [ en-US ] = "Interval" ;
365 String STR_RPT_HELP_FIELD
367 Text [ en-US ] = "Select a field or type an expression to sort or group on." ;
370 String STR_RPT_HELP_HEADER
372 Text [ en-US ] = "Display a header for this group?" ;
375 String STR_RPT_HELP_FOOTER
377 Text [ en-US ] = "Display a footer for this group?" ;
379 String STR_RPT_HELP_GROUPON
381 Text [ en-US ] = "Select the value or range of values that starts a new group." ;
383 String STR_RPT_HELP_INTERVAL
385 Text [ en-US ] = "Interval or number of characters to group on." ;
387 String STR_RPT_HELP_KEEP
389 Text [ en-US ] = "Keep group together on one page?" ;
391 String STR_RPT_HELP_SORT
393 Text [ en-US ] = "Select ascending or descending sort order. Ascending means from A to Z or 0 to 9" ;
397 Menu RID_GROUPSROWPOPUPMENU
423 #define DEF_MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; }
425 #define DEF_IL_GROUPSORT \
428 SID_RPT_GROUPSORT_MOVE_UP;\
429 SID_RPT_GROUPSORT_MOVE_DOWN;\
430 SID_RPT_GROUPSORT_DELETE;\
436 ImageList IMGLST_GROUPSORT_DLG_SC
443 ImageList IMGLST_GROUPSORT_DLG_SCH
451 // Image IMG_GROUPSORT_MOVEUP
453 // ImageBitmap = Bitmap
455 // File = "reportgroupmoveup"; // reportdesign/res/...
459 // Image IMG_GROUPSORT_MOVEDOWN
461 // ImageBitmap = Bitmap
463 // File = "reportgroupmovedown";
467 // Image IMG_GROUPSORT_DELETE
469 // ImageBitmap = Bitmap
471 // File = "reportgroupdelete";
476 // Image IMG_GROUPSORT_MOVEUP_H
478 // ImageBitmap = Bitmap
480 // File = "reportgroupmoveup_h"; // reportdesign/res/...
484 // Image IMG_GROUPSORT_MOVEDOWN_H
486 // ImageBitmap = Bitmap
488 // File = "reportgroupmovedown_h";
492 // Image IMG_GROUPSORT_DELETE_H
494 // ImageBitmap = Bitmap
496 // File = "reportgroupdelete_h";