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