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