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