1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#include "sortdlg.hrc" 28TabPage RID_SCPAGE_SORT_FIELDS 29{ 30 Hide = TRUE ; 31 SVLook = TRUE ; 32 HelpId = HID_SCPAGE_SORT_FIELDS ; 33 Size = MAP_APPFONT ( 260 , 185 ) ; 34 ListBox LB_SORT1 35 { 36 HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT1"; 37 Border = TRUE ; 38 Pos = MAP_APPFONT ( 12 , 19 ) ; 39 Size = MAP_APPFONT ( 154 , 90 ) ; 40 TabStop = TRUE ; 41 DropDown = TRUE ; 42 }; 43 RadioButton BTN_UP1 44 { 45 HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP1"; 46 Pos = MAP_APPFONT ( 172 , 14 ) ; 47 Size = MAP_APPFONT ( 79 , 10 ) ; 48 Text [ en-US ] = "~Ascending" ; 49 TabStop = TRUE ; 50 }; 51 RadioButton BTN_DOWN1 52 { 53 HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN1"; 54 Pos = MAP_APPFONT ( 172 , 28 ) ; 55 Size = MAP_APPFONT ( 79 , 10 ) ; 56 Text [ en-US ] = "~Descending" ; 57 TabStop = TRUE ; 58 }; 59 FixedLine FL_SORT1 60 { 61 Pos = MAP_APPFONT ( 6 , 3 ) ; 62 Size = MAP_APPFONT ( 248 , 8 ) ; 63 Text [ en-US ] = "Sort ~by" ; 64 }; 65 ListBox LB_SORT2 66 { 67 HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT2"; 68 Border = TRUE ; 69 Pos = MAP_APPFONT ( 12 , 60 ) ; 70 Size = MAP_APPFONT ( 154 , 90 ) ; 71 TabStop = TRUE ; 72 DropDown = TRUE ; 73 }; 74 RadioButton BTN_UP2 75 { 76 HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP2"; 77 Pos = MAP_APPFONT ( 172 , 55 ) ; 78 Size = MAP_APPFONT ( 79 , 10 ) ; 79 Text [ en-US ] = "A~scending" ; 80 TabStop = TRUE ; 81 }; 82 RadioButton BTN_DOWN2 83 { 84 HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN2"; 85 Pos = MAP_APPFONT ( 172 , 69 ) ; 86 Size = MAP_APPFONT ( 79 , 10 ) ; 87 Text [ en-US ] = "D~escending" ; 88 TabStop = TRUE ; 89 }; 90 FixedLine FL_SORT2 91 { 92 Pos = MAP_APPFONT ( 6 , 44 ) ; 93 Size = MAP_APPFONT ( 248 , 8 ) ; 94 Text [ en-US ] = "Then b~y" ; 95 }; 96 ListBox LB_SORT3 97 { 98 HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT3"; 99 Border = TRUE ; 100 Pos = MAP_APPFONT ( 12 , 101 ) ; 101 Size = MAP_APPFONT ( 154 , 90 ) ; 102 TabStop = TRUE ; 103 DropDown = TRUE ; 104 }; 105 RadioButton BTN_UP3 106 { 107 HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP3"; 108 Pos = MAP_APPFONT ( 172 , 96 ) ; 109 Size = MAP_APPFONT ( 79 , 10 ) ; 110 Text [ en-US ] = "As~cending" ; 111 TabStop = TRUE ; 112 }; 113 RadioButton BTN_DOWN3 114 { 115 HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN3"; 116 Pos = MAP_APPFONT ( 172 , 110 ) ; 117 Size = MAP_APPFONT ( 79 , 10 ) ; 118 Text [ en-US ] = "Desce~nding" ; 119 TabStop = TRUE ; 120 }; 121 FixedLine FL_SORT3 122 { 123 Pos = MAP_APPFONT ( 6 , 85 ) ; 124 Size = MAP_APPFONT ( 248 , 8 ) ; 125 Text [ en-US ] = "T~hen by" ; 126 }; 127}; 128TabPage RID_SCPAGE_SORT_OPTIONS 129{ 130 Hide = TRUE ; 131 SVLook = TRUE ; 132 HelpId = HID_SCPAGE_SORT_OPTIONS ; 133 Pos = MAP_APPFONT ( 0 , 0 ) ; 134 Size = MAP_APPFONT ( 260 , 185 ) ; 135 CheckBox BTN_CASESENSITIVE 136 { 137 HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_CASESENSITIVE"; 138 Pos = MAP_APPFONT ( 12 , 6 ) ; 139 Size = MAP_APPFONT ( 242 , 10 ) ; 140 Text [ en-US ] = "Case ~sensitive" ; 141 TabStop = TRUE ; 142 }; 143 CheckBox BTN_LABEL 144 { 145 HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_LABEL"; 146 Pos = MAP_APPFONT ( 12 , 20 ) ; 147 Size = MAP_APPFONT ( 242 , 10 ) ; 148 TabStop = TRUE ; 149 }; 150 String STR_COL_LABEL 151 { 152 Text [ en-US ] = "Range contains column la~bels" ; 153 }; 154 String STR_ROW_LABEL 155 { 156 Text [ en-US ] = "Range contains ~row labels" ; 157 }; 158 CheckBox BTN_FORMATS 159 { 160 HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_FORMATS"; 161 Pos = MAP_APPFONT ( 12 , 34 ) ; 162 Size = MAP_APPFONT ( 242 , 10 ) ; 163 Text [ en-US ] = "Include ~formats" ; 164 TabStop = TRUE ; 165 }; 166 CheckBox BTN_NATURALSORT 167 { 168 HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_NATURALSORT"; 169 Pos = MAP_APPFONT ( 12 , 48 ) ; 170 Size = MAP_APPFONT ( 242 , 10 ) ; 171 Text [ de ] = "Enable ~natural sort" ; 172 Text [ en-US ] = "Enable ~natural sort" ; 173 Text [ cs ] = "Aktivovat přirozené třídění" ; 174 Text [ sk ] = "Aktivovať prirodzené triedenie" ; 175 TabStop = TRUE ; 176 Text [ x-comment ] = " " ; 177 }; 178 CheckBox BTN_COPYRESULT 179 { 180 HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_COPYRESULT"; 181 Pos = MAP_APPFONT ( 12 , 62 ) ; 182 Size = MAP_APPFONT ( 242 , 10 ) ; 183 Text [ en-US ] = "~Copy sort results to:" ; 184 TabStop = TRUE ; 185 }; 186 ListBox LB_OUTAREA 187 { 188 HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_OUTAREA"; 189 Border = TRUE ; 190 Pos = MAP_APPFONT ( 20 , 73 ) ; 191 Size = MAP_APPFONT ( 93 , 90 ) ; 192 TabStop = TRUE ; 193 DropDown = TRUE ; 194 }; 195 Edit ED_OUTAREA 196 { 197 HelpID = "toolkit:Edit:RID_SCPAGE_SORT_OPTIONS:ED_OUTAREA"; 198 Disable = TRUE ; 199 Border = TRUE ; 200 Pos = MAP_APPFONT ( 119 , 73 ) ; 201 Size = MAP_APPFONT ( 132 , 12 ) ; 202 TabStop = TRUE ; 203 }; 204 CheckBox BTN_SORT_USER 205 { 206 HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_SORT_USER"; 207 Pos = MAP_APPFONT ( 12 , 89 ) ; 208 Size = MAP_APPFONT ( 242 , 10 ) ; 209 Text [ en-US ] = "Custom sort ~order" ; 210 TabStop = TRUE ; 211 }; 212 ListBox LB_SORT_USER 213 { 214 HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_SORT_USER"; 215 Disable = TRUE ; 216 Border = TRUE ; 217 Pos = MAP_APPFONT ( 20 , 100 ) ; 218 Size = MAP_APPFONT ( 231 , 90 ) ; 219 TabStop = TRUE ; 220 DropDown = TRUE ; 221 }; 222 FixedText FT_LANGUAGE 223 { 224 Pos = MAP_APPFONT ( 12 , 118 ) ; 225 Size = MAP_APPFONT ( 101 , 8 ) ; 226 Text [ en-US ] = "~Language"; 227 }; 228 ListBox LB_LANGUAGE 229 { 230 HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_LANGUAGE"; 231 Border = TRUE ; 232 Pos = MAP_APPFONT ( 12 , 129 ) ; 233 Size = MAP_APPFONT ( 101 , 90 ) ; 234 TabStop = TRUE ; 235 DropDown = TRUE ; 236 Sort = TRUE ; 237 }; 238 FixedText FT_ALGORITHM 239 { 240 Pos = MAP_APPFONT ( 119 , 118 ) ; 241 Size = MAP_APPFONT ( 132 , 8 ) ; 242 Text [ en-US ] = "O~ptions"; 243 }; 244 ListBox LB_ALGORITHM 245 { 246 HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_ALGORITHM"; 247 Border = TRUE ; 248 Pos = MAP_APPFONT ( 119 , 129 ) ; 249 Size = MAP_APPFONT ( 132 , 90 ) ; 250 TabStop = TRUE ; 251 DropDown = TRUE ; 252 }; 253 FixedLine FL_DIRECTION 254 { 255 Pos = MAP_APPFONT ( 6 , 147 ) ; 256 Size = MAP_APPFONT ( 248 , 8 ) ; 257 Text [ en-US ] = "Direction" ; 258 }; 259 RadioButton BTN_TOP_DOWN 260 { 261 HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_TOP_DOWN"; 262 Pos = MAP_APPFONT ( 12 , 158 ) ; 263 Size = MAP_APPFONT ( 242 , 10 ) ; 264 Text [ en-US ] = "~Top to bottom (sort rows)" ; 265 TabStop = TRUE ; 266 }; 267 RadioButton BTN_LEFT_RIGHT 268 { 269 HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_LEFT_RIGHT"; 270 Pos = MAP_APPFONT ( 12 , 172 ) ; 271 Size = MAP_APPFONT ( 242 , 10 ) ; 272 Text [ en-US ] = "L~eft to right (sort columns)" ; 273 TabStop = TRUE ; 274 }; 275/* 276 FixedText FT_AREA_LABEL 277 { 278 Pos = MAP_APPFONT ( 6 , 171 ) ; 279 Size = MAP_APPFONT ( 248 , 8 ) ; 280 Text [ en-US ] = "Data area:" ; 281 }; 282*/ 283}; 284TabDialog RID_SCDLG_SORT 285{ 286 OutputSize = TRUE ; 287 SVLook = TRUE ; 288 Size = MAP_APPFONT ( 220 , 175 ) ; 289 Text [ en-US ] = "Sort" ; 290 Moveable = TRUE ; 291 Closeable = FALSE ; 292 TabControl 1 293 { 294 OutputSize = TRUE ; 295 Pos = MAP_APPFONT ( 0 , 0 ) ; 296 Size = MAP_APPFONT ( 210 , 170 ) ; 297 PageList = 298 { 299 PageItem 300 { 301 Identifier = TP_FIELDS ; 302 PageResID = TP_FIELDS ; 303 Text [ en-US ] = "Sort Criteria" ; 304 }; 305 PageItem 306 { 307 Identifier = TP_OPTIONS ; 308 PageResID = TP_OPTIONS ; 309 Text [ en-US ] = "Options" ; 310 }; 311 }; 312 }; 313 OKButton 1 314 { 315 Pos = MAP_APPFONT ( 3 , 157 ) ; 316 Size = MAP_APPFONT ( 40 , 12 ) ; 317 TabStop = TRUE ; 318 }; 319 CancelButton 1 320 { 321 Pos = MAP_APPFONT ( 49 , 157 ) ; 322 Size = MAP_APPFONT ( 40 , 12 ) ; 323 TabStop = TRUE ; 324 }; 325 PushButton 1 326 { 327 Pos = MAP_APPFONT ( 137 , 157 ) ; 328 Size = MAP_APPFONT ( 40 , 12 ) ; 329 TabStop = TRUE ; 330 }; 331 HelpButton 1 332 { 333 Pos = MAP_APPFONT ( 94 , 157 ) ; 334 Size = MAP_APPFONT ( 40 , 12 ) ; 335 TabStop = TRUE ; 336 }; 337}; 338 339 340