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 "CondFormat.hrc" 24cdf0e10cSrcweir#include "RptResId.hrc" 25cdf0e10cSrcweir#include "helpids.hrc" 26cdf0e10cSrcweir#ifndef _GLOBLMN_HRC 27cdf0e10cSrcweir#include <svx/globlmn.hrc> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir#include "rptui_slotid.hrc" 30cdf0e10cSrcweir 31cdf0e10cSrcweirControl WIN_CONDITION 32cdf0e10cSrcweir{ 33cdf0e10cSrcweir Size = MAP_APPFONT ( CONDITION_WIDTH , CONDITION_HEIGHT ) ; 34cdf0e10cSrcweir HelpId = HID_RPT_COND_DLG; 35cdf0e10cSrcweir DialogControl = TRUE; 36cdf0e10cSrcweir Hide = TRUE; 37cdf0e10cSrcweir 38cdf0e10cSrcweir FixedLine FL_CONDITION_HEADER 39cdf0e10cSrcweir { 40cdf0e10cSrcweir Pos = MAP_APPFONT ( RELATED_CONTROLS, ROW_0_POS ) ; 41cdf0e10cSrcweir Size = MAP_APPFONT ( CONDITION_WIDTH - 2 * RELATED_CONTROLS, ROW_0_HEIGTH ) ; 42cdf0e10cSrcweir }; 43cdf0e10cSrcweir 44cdf0e10cSrcweir ListBox LB_COND_TYPE 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Pos = MAP_APPFONT ( UNRELATED_CONTROLS, ROW_1_POS ) ; 47cdf0e10cSrcweir Size = MAP_APPFONT( COND_TYPE_WIDTH, 60 ); 48cdf0e10cSrcweir Border = TRUE; 49cdf0e10cSrcweir DropDown = TRUE; 50cdf0e10cSrcweir TabStop = TRUE; 51cdf0e10cSrcweir Sort = FALSE; 52cdf0e10cSrcweir StringList [ en-US ] = 53cdf0e10cSrcweir { 54cdf0e10cSrcweir < "Field Value Is" ; Default ; > ; 55cdf0e10cSrcweir < "Expression Is" ; Default ; > ; 56cdf0e10cSrcweir }; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir 59cdf0e10cSrcweir ListBox LB_OP 60cdf0e10cSrcweir { 61cdf0e10cSrcweir Pos = MAP_APPFONT ( UNRELATED_CONTROLS + COND_TYPE_WIDTH + UNRELATED_CONTROLS, ROW_1_POS ) ; 62cdf0e10cSrcweir Size = MAP_APPFONT( COND_OP_WIDTH, 60 ); 63cdf0e10cSrcweir Border = TRUE; 64cdf0e10cSrcweir DropDown = TRUE; 65cdf0e10cSrcweir TabStop = TRUE; 66cdf0e10cSrcweir Sort = FALSE; 67cdf0e10cSrcweir StringList [ en-US ] = 68cdf0e10cSrcweir { 69cdf0e10cSrcweir < "between" ; 0; > ; 70cdf0e10cSrcweir < "not between" ; 1; > ; 71cdf0e10cSrcweir < "equal to" ; 2; > ; 72cdf0e10cSrcweir < "not equal to" ; 3; > ; 73cdf0e10cSrcweir < "greater than" ; 4; > ; 74cdf0e10cSrcweir < "less than" ; 5; > ; 75cdf0e10cSrcweir < "greater than or equal to" ; 6; > ; 76cdf0e10cSrcweir < "less than or equal to" ; 7; > ; 77cdf0e10cSrcweir }; 78cdf0e10cSrcweir }; 79cdf0e10cSrcweir 80cdf0e10cSrcweir Edit ED_CONDITION_LHS 81cdf0e10cSrcweir { 82cdf0e10cSrcweir Pos = MAP_APPFONT ( 3*UNRELATED_CONTROLS + COND_TYPE_WIDTH + COND_OP_WIDTH, ROW_1_POS ) ; 83cdf0e10cSrcweir Size = MAP_APPFONT( EDIT_WIDTH, EDIT_HEIGHT ); 84cdf0e10cSrcweir Border = TRUE; 85cdf0e10cSrcweir TabStop = TRUE; 86cdf0e10cSrcweir }; 87cdf0e10cSrcweir 88cdf0e10cSrcweir FixedText FT_AND 89cdf0e10cSrcweir { 90cdf0e10cSrcweir Pos = MAP_APPFONT ( 4*UNRELATED_CONTROLS + COND_TYPE_WIDTH + COND_OP_WIDTH + EDIT_WIDTH, 91cdf0e10cSrcweir ROW_1_POS + ( FIXEDTEXT_HEIGHT - EDIT_HEIGHT ) / 2 ); 92cdf0e10cSrcweir Size = MAP_APPFONT( OPERATOR_SEP_WIDTH , FIXEDTEXT_HEIGHT ); 93cdf0e10cSrcweir Text [ en-US ] = "and"; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir 96cdf0e10cSrcweir Edit ED_CONDITION_RHS 97cdf0e10cSrcweir { 98cdf0e10cSrcweir Pos = MAP_APPFONT ( 5*UNRELATED_CONTROLS + COND_TYPE_WIDTH + COND_OP_WIDTH + EDIT_WIDTH + OPERATOR_SEP_WIDTH, 99cdf0e10cSrcweir ROW_1_POS ); 100cdf0e10cSrcweir Size = MAP_APPFONT( EDIT_WIDTH, EDIT_HEIGHT ); 101cdf0e10cSrcweir Border = TRUE; 102cdf0e10cSrcweir TabStop = TRUE; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir 105cdf0e10cSrcweir ImageButton BTN_MOVE_UP 106cdf0e10cSrcweir { 107cdf0e10cSrcweir Pos = MAP_APPFONT ( CONDITION_WIDTH - UNRELATED_CONTROLS - IMAGE_BUTTON_WIDTH, ROW_1_POS ) ; 108cdf0e10cSrcweir Size = MAP_APPFONT ( IMAGE_BUTTON_WIDTH, IMAGE_BUTTON_HEIGHT ) ; 109cdf0e10cSrcweir TabStop = TRUE ; 110cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_UP ; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir 113cdf0e10cSrcweir ImageButton BTN_MOVE_DOWN 114cdf0e10cSrcweir { 115cdf0e10cSrcweir Pos = MAP_APPFONT ( CONDITION_WIDTH - UNRELATED_CONTROLS - IMAGE_BUTTON_WIDTH, ROW_1_POS + IMAGE_BUTTON_HEIGHT + RELATED_CONTROLS ) ; 116cdf0e10cSrcweir Size = MAP_APPFONT ( IMAGE_BUTTON_WIDTH, IMAGE_BUTTON_HEIGHT ) ; 117cdf0e10cSrcweir TabStop = TRUE ; 118cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_DOWN ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir 121cdf0e10cSrcweir ToolBox TB_FORMAT 122cdf0e10cSrcweir { 123cdf0e10cSrcweir Pos = MAP_APPFONT ( UNRELATED_CONTROLS + RELATED_CONTROLS, ROW_2_POS ) ; 124cdf0e10cSrcweir ButtonType = BUTTON_SYMBOL; 125cdf0e10cSrcweir Align = BOXALIGN_TOP; 126cdf0e10cSrcweir HelpId = HID_RPT_CONDFORMAT_TB; 127cdf0e10cSrcweir Customize = FALSE; 128cdf0e10cSrcweir ItemList = 129cdf0e10cSrcweir { 130cdf0e10cSrcweir ToolBoxItem 131cdf0e10cSrcweir { 132cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_WEIGHT 133cdf0e10cSrcweir Checkable = TRUE; 134cdf0e10cSrcweir }; 135cdf0e10cSrcweir ToolBoxItem 136cdf0e10cSrcweir { 137cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_POSTURE 138cdf0e10cSrcweir Checkable = TRUE; 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir ToolBoxItem 141cdf0e10cSrcweir { 142cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_UNDERLINE 143cdf0e10cSrcweir Checkable = TRUE; 144cdf0e10cSrcweir }; 145cdf0e10cSrcweir ToolBoxItem 146cdf0e10cSrcweir { 147cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir ToolBoxItem 150cdf0e10cSrcweir { 151cdf0e10cSrcweir ITEM_TOOLBAR_BACKGROUND_COLOR 152cdf0e10cSrcweir DropDown = TRUE; 153cdf0e10cSrcweir }; 154cdf0e10cSrcweir ToolBoxItem 155cdf0e10cSrcweir { 156cdf0e10cSrcweir ITEM_TOOLBAR_ATTR_CHAR_COLOR 157cdf0e10cSrcweir Identifier = SID_ATTR_CHAR_COLOR2; 158cdf0e10cSrcweir Command = ".uno:FontColor"; 159cdf0e10cSrcweir }; 160cdf0e10cSrcweir ToolBoxItem 161cdf0e10cSrcweir { 162cdf0e10cSrcweir ITEM_FORMAT_CHAR_DLG 163cdf0e10cSrcweir }; 164cdf0e10cSrcweir }; 165cdf0e10cSrcweir }; 166cdf0e10cSrcweir 167cdf0e10cSrcweir Window CRTL_FORMAT_PREVIEW 168cdf0e10cSrcweir { 169cdf0e10cSrcweir Pos = MAP_APPFONT ( 2*UNRELATED_CONTROLS, ROW_2_POS ) ; 170cdf0e10cSrcweir Size = MAP_APPFONT ( CONDITION_WIDTH - UNRELATED_CONTROLS, ROW_2_HEIGHT ) ; 171cdf0e10cSrcweir Border = TRUE ; 172cdf0e10cSrcweir HelpId = HID_RPT_CRTL_FORMAT_PREVIEW; 173cdf0e10cSrcweir Text [ en-US ] = "Example"; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir 176cdf0e10cSrcweir PushButton BTN_ADD_CONDITION 177cdf0e10cSrcweir { 178cdf0e10cSrcweir Pos = MAP_APPFONT( CONDITION_WIDTH - 2*UNRELATED_CONTROLS - 2*IMAGE_BUTTON_WIDTH - RELATED_CONTROLS, ROW_3_POS ); 179cdf0e10cSrcweir Size = MAP_APPFONT( IMAGE_BUTTON_WIDTH, IMAGE_BUTTON_HEIGHT ); 180cdf0e10cSrcweir Text = "+"; 181cdf0e10cSrcweir }; 182cdf0e10cSrcweir 183cdf0e10cSrcweir PushButton BTN_REMOVE_CONDITION 184cdf0e10cSrcweir { 185cdf0e10cSrcweir Pos = MAP_APPFONT( CONDITION_WIDTH - 2*UNRELATED_CONTROLS - 2*IMAGE_BUTTON_WIDTH - RELATED_CONTROLS, ROW_3_POS ); 186cdf0e10cSrcweir Size = MAP_APPFONT( IMAGE_BUTTON_WIDTH, IMAGE_BUTTON_HEIGHT ); 187cdf0e10cSrcweir Text = "-"; 188cdf0e10cSrcweir }; 189cdf0e10cSrcweir 190cdf0e10cSrcweir Image IMG_MOVE_UP_HC 191cdf0e10cSrcweir { 192cdf0e10cSrcweir ImageBitmap = Bitmap { File = "arrow_move_up_hc" ; }; 193cdf0e10cSrcweir }; 194cdf0e10cSrcweir 195cdf0e10cSrcweir Image IMG_MOVE_DOWN_HC 196cdf0e10cSrcweir { 197cdf0e10cSrcweir ImageBitmap = Bitmap { File = "arrow_move_down_hc" ; }; 198cdf0e10cSrcweir }; 199cdf0e10cSrcweir}; 200cdf0e10cSrcweir 201cdf0e10cSrcweirModalDialog RID_CONDFORMAT 202cdf0e10cSrcweir{ 203cdf0e10cSrcweir OutputSize = TRUE ; 204cdf0e10cSrcweir SVLook = TRUE ; 205cdf0e10cSrcweir Size = MAP_APPFONT ( COND_DLG_WIDTH, COND_DLG_HEIGHT ) ; 206cdf0e10cSrcweir Text [ en-US ] = "Conditional Formatting" ; 207cdf0e10cSrcweir HelpId = HID_RPT_CONDFORMAT_DLG; 208cdf0e10cSrcweir Moveable = TRUE ; 209cdf0e10cSrcweir Closeable = TRUE ; 210cdf0e10cSrcweir 211cdf0e10cSrcweir Window WND_COND_PLAYGROUND 212cdf0e10cSrcweir { 213cdf0e10cSrcweir Pos = MAP_APPFONT ( 0, 0 ) ; 214cdf0e10cSrcweir Size = MAP_APPFONT ( CONDITION_WIDTH, CONDITION_HEIGHT ) ; 215cdf0e10cSrcweir DialogControl = TRUE; 216cdf0e10cSrcweir Hide = FALSE; 217cdf0e10cSrcweir }; 218cdf0e10cSrcweir 219cdf0e10cSrcweir FixedLine FL_SEPARATOR1 220cdf0e10cSrcweir { 221cdf0e10cSrcweir Pos = MAP_APPFONT ( RELATED_CONTROLS, CONDITION_HEIGHT + RELATED_CONTROLS ) ; 222cdf0e10cSrcweir Size = MAP_APPFONT ( CONDITION_WIDTH - 2*RELATED_CONTROLS , 1 ) ; 223cdf0e10cSrcweir }; 224cdf0e10cSrcweir 225cdf0e10cSrcweir OKButton PB_OK 226cdf0e10cSrcweir { 227cdf0e10cSrcweir Pos = MAP_APPFONT ( CONDITION_WIDTH - 3*BUTTON_WIDTH - 2*UNRELATED_CONTROLS - RELATED_CONTROLS, CONDITION_HEIGHT + 2*RELATED_CONTROLS + 1) ; 228cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; 229cdf0e10cSrcweir TabStop = TRUE ; 230cdf0e10cSrcweir DefButton = TRUE ; 231cdf0e10cSrcweir }; 232cdf0e10cSrcweir 233cdf0e10cSrcweir CancelButton PB_CANCEL 234cdf0e10cSrcweir { 235cdf0e10cSrcweir Pos = MAP_APPFONT ( CONDITION_WIDTH - 2*BUTTON_WIDTH - 2*UNRELATED_CONTROLS , CONDITION_HEIGHT + 2*RELATED_CONTROLS + 1) ; 236cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; 237cdf0e10cSrcweir TabStop = TRUE ; 238cdf0e10cSrcweir }; 239cdf0e10cSrcweir 240cdf0e10cSrcweir HelpButton PB_HELP 241cdf0e10cSrcweir { 242cdf0e10cSrcweir TabStop = TRUE ; 243cdf0e10cSrcweir Pos = MAP_APPFONT ( CONDITION_WIDTH - BUTTON_WIDTH - UNRELATED_CONTROLS, CONDITION_HEIGHT + 2*RELATED_CONTROLS + 1) ; 244cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; 245cdf0e10cSrcweir Text [ en-US ] = "~Help"; 246cdf0e10cSrcweir }; 247cdf0e10cSrcweir 248cdf0e10cSrcweir ScrollBar SB_ALL_CONDITIONS 249cdf0e10cSrcweir { 250cdf0e10cSrcweir Pos = MAP_APPFONT ( CONDITION_WIDTH, RELATED_CONTROLS ) ; 251cdf0e10cSrcweir Size = MAP_APPFONT ( SCROLLBAR_WIDTH, CONDITION_HEIGHT + RELATED_CONTROLS ) ; 252cdf0e10cSrcweir }; 253cdf0e10cSrcweir}; 254cdf0e10cSrcweir 255cdf0e10cSrcweirString STR_NUMBERED_CONDITION 256cdf0e10cSrcweir{ 257cdf0e10cSrcweir Text [ en-US ] = "Condition $number$"; 258cdf0e10cSrcweir}; 259cdf0e10cSrcweir 260cdf0e10cSrcweirString STR_COLOR_WHITE 261cdf0e10cSrcweir{ 262cdf0e10cSrcweir Text [ en-US ] = "White" ; 263cdf0e10cSrcweir}; 264cdf0e10cSrcweirString STR_CHARCOLOR 265cdf0e10cSrcweir{ 266cdf0e10cSrcweir Text [ en-US ] = "Font color" ; 267cdf0e10cSrcweir}; 268cdf0e10cSrcweirString STR_CHARBACKGROUND 269cdf0e10cSrcweir{ 270cdf0e10cSrcweir Text [ en-US ] = "Background"; 271cdf0e10cSrcweir}; 272cdf0e10cSrcweirString STR_TRANSPARENT 273cdf0e10cSrcweir{ 274cdf0e10cSrcweir Text [ en-US ] = "No Fill" ; 275cdf0e10cSrcweir}; 276cdf0e10cSrcweir 277cdf0e10cSrcweir#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } 278cdf0e10cSrcweir 279cdf0e10cSrcweir//------------------------------------------------------------------------- 280cdf0e10cSrcweirImageList IMG_CONDFORMAT_DLG_SC 281cdf0e10cSrcweir{ 282cdf0e10cSrcweir MASKCOLOR; 283cdf0e10cSrcweir FileList = 284cdf0e10cSrcweir { 285cdf0e10cSrcweir < "res/commandimagelist/sc_bold.png" ; SID_ATTR_CHAR_WEIGHT ; > ; 286cdf0e10cSrcweir < "res/commandimagelist/sc_italic.png" ; SID_ATTR_CHAR_POSTURE ; > ; 287cdf0e10cSrcweir < "res/commandimagelist/sc_underline.png" ; SID_ATTR_CHAR_UNDERLINE ; > ; 288cdf0e10cSrcweir < "res/commandimagelist/sc_backgroundcolor.png" ; SID_BACKGROUND_COLOR ; > ; 289cdf0e10cSrcweir < "res/commandimagelist/sc_fontcolor.png" ; SID_ATTR_CHAR_COLOR2 ; > ; 290cdf0e10cSrcweir < "res/commandimagelist/sc_fontdialog.png" ; SID_CHAR_DLG ; > ; 291cdf0e10cSrcweir }; 292cdf0e10cSrcweir}; 293cdf0e10cSrcweir 294cdf0e10cSrcweirImageList IMG_CONDFORMAT_DLG_SCH 295cdf0e10cSrcweir{ 296cdf0e10cSrcweir MASKCOLOR; 297cdf0e10cSrcweir FileList = 298cdf0e10cSrcweir { 299cdf0e10cSrcweir < "res/commandimagelist/sch_bold.png" ; SID_ATTR_CHAR_WEIGHT ; > ; 300cdf0e10cSrcweir < "res/commandimagelist/sch_italic.png" ; SID_ATTR_CHAR_POSTURE ; > ; 301cdf0e10cSrcweir < "res/commandimagelist/sch_underline.png" ; SID_ATTR_CHAR_UNDERLINE ; > ; 302cdf0e10cSrcweir < "res/commandimagelist/sch_backgroundcolor.png" ; SID_BACKGROUND_COLOR ; > ; 303cdf0e10cSrcweir < "res/commandimagelist/sch_fontcolor.png" ; SID_ATTR_CHAR_COLOR2 ; > ; 304cdf0e10cSrcweir < "res/commandimagelist/sch_fontdialog.png" ; SID_CHAR_DLG ; > ; 305cdf0e10cSrcweir }; 306cdf0e10cSrcweir}; 307cdf0e10cSrcweirImageList IMG_CONDFORMAT_DLG_LC 308cdf0e10cSrcweir{ 309cdf0e10cSrcweir MASKCOLOR; 310cdf0e10cSrcweir FileList = 311cdf0e10cSrcweir { 312cdf0e10cSrcweir < "res/commandimagelist/lc_bold.png" ; SID_ATTR_CHAR_WEIGHT ; > ; 313cdf0e10cSrcweir < "res/commandimagelist/lc_italic.png" ; SID_ATTR_CHAR_POSTURE ; > ; 314cdf0e10cSrcweir < "res/commandimagelist/lc_underline.png" ; SID_ATTR_CHAR_UNDERLINE ; > ; 315cdf0e10cSrcweir < "res/commandimagelist/lc_backgroundcolor.png" ; SID_BACKGROUND_COLOR ; > ; 316cdf0e10cSrcweir < "res/commandimagelist/lc_fontcolor.png" ; SID_ATTR_CHAR_COLOR2 ; > ; 317cdf0e10cSrcweir < "res/commandimagelist/lc_fontdialog.png" ; SID_CHAR_DLG ; > ; 318cdf0e10cSrcweir }; 319cdf0e10cSrcweir}; 320cdf0e10cSrcweirImageList IMG_CONDFORMAT_DLG_LCH 321cdf0e10cSrcweir{ 322cdf0e10cSrcweir MASKCOLOR; 323cdf0e10cSrcweir FileList = 324cdf0e10cSrcweir { 325cdf0e10cSrcweir < "res/commandimagelist/lch_bold.png" ; SID_ATTR_CHAR_WEIGHT ; > ; 326cdf0e10cSrcweir < "res/commandimagelist/lch_italic.png" ; SID_ATTR_CHAR_POSTURE ; > ; 327cdf0e10cSrcweir < "res/commandimagelist/lch_underline.png" ; SID_ATTR_CHAR_UNDERLINE ; > ; 328cdf0e10cSrcweir < "res/commandimagelist/lch_backgroundcolor.png" ; SID_BACKGROUND_COLOR ; > ; 329cdf0e10cSrcweir < "res/commandimagelist/lch_fontcolor.png" ; SID_ATTR_CHAR_COLOR2 ; > ; 330cdf0e10cSrcweir < "res/commandimagelist/lch_fontdialog.png" ; SID_CHAR_DLG ; > ; 331cdf0e10cSrcweir }; 332cdf0e10cSrcweir}; 333cdf0e10cSrcweir 334cdf0e10cSrcweir 335cdf0e10cSrcweir 336cdf0e10cSrcweirImageList 31000 337cdf0e10cSrcweir{ 338cdf0e10cSrcweir MASKCOLOR; 339cdf0e10cSrcweir prefix = "sc"; 340cdf0e10cSrcweir IdList = {05500;}; 341cdf0e10cSrcweir IdCount = 1; 342cdf0e10cSrcweir 343cdf0e10cSrcweir}; 344cdf0e10cSrcweir 345cdf0e10cSrcweirToolBox RID_TB_SORTING 346cdf0e10cSrcweir{ 347cdf0e10cSrcweir Pos = MAP_APPFONT ( 0,0 ) ; 348cdf0e10cSrcweir ButtonType = BUTTON_SYMBOL; 349cdf0e10cSrcweir Align = BOXALIGN_TOP; 350cdf0e10cSrcweir Customize = FALSE; 351cdf0e10cSrcweir ItemList = 352cdf0e10cSrcweir { 353cdf0e10cSrcweir ToolBoxItem 354cdf0e10cSrcweir { 355cdf0e10cSrcweir Identifier = SID_FM_SORTUP; 356cdf0e10cSrcweir Text [ en-US ] = "Sort Ascending" ; 357cdf0e10cSrcweir Checkable = TRUE; 358cdf0e10cSrcweir }; 359cdf0e10cSrcweir ToolBoxItem 360cdf0e10cSrcweir { 361cdf0e10cSrcweir Identifier = SID_FM_SORTDOWN; 362cdf0e10cSrcweir Text [ en-US ] = "Sort Descending" ; 363cdf0e10cSrcweir Checkable = TRUE; 364cdf0e10cSrcweir }; 365cdf0e10cSrcweir ToolBoxItem 366cdf0e10cSrcweir { 367cdf0e10cSrcweir Identifier = SID_FM_REMOVE_FILTER_SORT; 368cdf0e10cSrcweir Text [ en-US ] = "Remove sorting" ; 369cdf0e10cSrcweir }; 370cdf0e10cSrcweir ToolBoxItem 371cdf0e10cSrcweir { 372cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR; 373cdf0e10cSrcweir }; 374cdf0e10cSrcweir ToolBoxItem 375cdf0e10cSrcweir { 376cdf0e10cSrcweir Identifier = SID_ADD_CONTROL_PAIR; 377cdf0e10cSrcweir Text [ en-US ] = "Insert" ; 378cdf0e10cSrcweir }; 379cdf0e10cSrcweir }; 380cdf0e10cSrcweir}; 381cdf0e10cSrcweir 382cdf0e10cSrcweirImageList IMG_ADDFIELD_DLG_SC 383cdf0e10cSrcweir{ 384cdf0e10cSrcweir MASKCOLOR; 385cdf0e10cSrcweir FileList = 386cdf0e10cSrcweir { 387cdf0e10cSrcweir < "res/commandimagelist/sc_sortup.png" ; SID_FM_SORTUP ; > ; 388cdf0e10cSrcweir < "res/commandimagelist/sc_sortdown.png" ; SID_FM_SORTDOWN ; > ; 389cdf0e10cSrcweir < "res/commandimagelist/sc_removefiltersort.png" ; SID_FM_REMOVE_FILTER_SORT ; > ; 390cdf0e10cSrcweir }; 391cdf0e10cSrcweir}; 392cdf0e10cSrcweir 393cdf0e10cSrcweirImageList IMG_ADDFIELD_DLG_SCH 394cdf0e10cSrcweir{ 395cdf0e10cSrcweir MASKCOLOR; 396cdf0e10cSrcweir FileList = 397cdf0e10cSrcweir { 398cdf0e10cSrcweir < "res/commandimagelist/sch_sortup.png" ; SID_FM_SORTUP ; > ; 399cdf0e10cSrcweir < "res/commandimagelist/sch_sortdown.png" ; SID_FM_SORTDOWN ; > ; 400cdf0e10cSrcweir < "res/commandimagelist/sch_removefiltersort.png" ; SID_FM_REMOVE_FILTER_SORT ; > ; 401cdf0e10cSrcweir }; 402cdf0e10cSrcweir}; 403cdf0e10cSrcweir 404cdf0e10cSrcweirImageList IMG_ADDFIELD_DLG_LC 405cdf0e10cSrcweir{ 406cdf0e10cSrcweir MASKCOLOR; 407cdf0e10cSrcweir FileList = 408cdf0e10cSrcweir { 409cdf0e10cSrcweir < "res/commandimagelist/lc_sortup.png" ; SID_FM_SORTUP ; > ; 410cdf0e10cSrcweir < "res/commandimagelist/lc_sortdown.png" ; SID_FM_SORTDOWN ; > ; 411cdf0e10cSrcweir < "res/commandimagelist/lc_removefiltersort.png" ; SID_FM_REMOVE_FILTER_SORT ; > ; 412cdf0e10cSrcweir }; 413cdf0e10cSrcweir}; 414cdf0e10cSrcweir 415cdf0e10cSrcweirImageList IMG_ADDFIELD_DLG_LCH 416cdf0e10cSrcweir{ 417cdf0e10cSrcweir MASKCOLOR; 418cdf0e10cSrcweir FileList = 419cdf0e10cSrcweir { 420cdf0e10cSrcweir < "res/commandimagelist/lch_sortup.png" ; SID_FM_SORTUP ; > ; 421cdf0e10cSrcweir < "res/commandimagelist/lch_sortdown.png" ; SID_FM_SORTDOWN ; > ; 422cdf0e10cSrcweir < "res/commandimagelist/lch_removefiltersort.png" ; SID_FM_REMOVE_FILTER_SORT ; > ; 423cdf0e10cSrcweir }; 424cdf0e10cSrcweir}; 425cdf0e10cSrcweir 426cdf0e10cSrcweirFixedLine ADDFIELD_FL_HELP_SEPARATOR 427cdf0e10cSrcweir{ 428cdf0e10cSrcweir SVLook = TRUE ; 429cdf0e10cSrcweir Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS ) ; 430cdf0e10cSrcweir Size = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS ) ; 431cdf0e10cSrcweir Text [ en-US ] = "Help"; 432cdf0e10cSrcweir}; 433cdf0e10cSrcweir 434cdf0e10cSrcweirFixedText ADDFIELD_HELP_FIELD 435cdf0e10cSrcweir{ 436cdf0e10cSrcweir SVLook = TRUE ; 437cdf0e10cSrcweir Pos = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS ) ; 438cdf0e10cSrcweir Size = MAP_APPFONT ( RELATED_CONTROLS , RELATED_CONTROLS ) ; 439cdf0e10cSrcweir WordBreak = TRUE; 440cdf0e10cSrcweir Text [ en-US ] = "Highlight the fields to insert into the selected section of the template, then click Insert or press Enter."; 441cdf0e10cSrcweir}; 442