1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#include "CellAppearancePropertyPanel.hrc" 23#include <sfx2/sidebar/ResourceDefinitions.hrc> 24#include "sc.hrc" 25#include "helpids.h" 26 27#define TOOLBOX_WIDTH 50 28#define TOOLBOX_HEIGHT 15 29 30#define TOOLBOX_WIDTH_2 34 31#define TOOLBOX_HEIGHT_2 30 32 33#define TOOLBOX_BORDER_WIDTH 107 34#define PB_BORDER_MOREBTN 57 35#define POPUPPANEL_MARGIN_SMALL_PIXEL 8 36 37// the basic propertypanel 38 39Control RID_PROPERTYPANEL_SC_APPEAR 40{ 41 OutputSize = TRUE ; 42 DialogControl = TRUE ; 43 Border = FALSE ; 44 45 Size = MAP_APPFONT ( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 + TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT_2 + CBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT - 2 ) ; 46 HelpID = HID_PROPERTYPANEL_SC_CELL_SECTION ; 47 Text [ en-US ] = "Cell Appearance" ; 48 49 FixedText FT_BK_COLOR 50 { 51 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 52 Size = MAP_APPFONT ( PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL * 2, TEXT_HEIGHT ) ; 53 Text [ en-US ] = "~Cell background:" ; 54 }; 55 ToolBox TB_BK_COLOR 56 { 57 SVLook = TRUE ; 58 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL ) ; 59 Size = MAP_APPFONT ( TOOLBOX_WIDTH, TOOLBOX_HEIGHT ) ; 60 TabStop = TRUE ; 61 HelpID = HID_PROPERTYPANEL_SC_TBX_BKCOLOR ; 62 Text [ en-US ] = "Cell Background" ; 63 ItemList = 64 { 65 ToolBoxItem 66 { 67 Identifier = TBI_BK_COLOR ; 68 DropDown = TRUE ; 69 Text [ en-US ] = "Cell background" ; 70 HelpID = HID_PROPERTYPANEL_SC_TBI_BKCOLOR ; 71 }; 72 }; 73 }; 74 String STR_QH_BK_COLOR 75 { 76 Text [ en-US ] = "Select the background color of the selected cells." ; 77 }; 78 FixedText FT_BORDER 79 { 80 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 81 Size = MAP_APPFONT ( PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL * 2, TEXT_HEIGHT ) ; 82 Text [ en-US ] = "Cell ~border:" ; 83 }; 84 ToolBox TB_APP_BORDER 85 { 86 SVLook = TRUE ; 87 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 + TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 88 Size = MAP_APPFONT ( TOOLBOX_WIDTH_2, TOOLBOX_HEIGHT_2 ) ; 89 TabStop = TRUE ; 90 HelpID = HID_PROPERTYPANEL_SC_TBX_BORDER ; 91 Text [ en-US ] = "Cell Border" ; 92 ItemList = 93 { 94 ToolBoxItem 95 { 96 Identifier = TBI_BORDER ; 97 DropDown = TRUE ; 98 Text [ en-US ] = "Cell border" ; 99 HelpID = HID_PROPERTYPANEL_SC_TBI_BORDER ; 100 }; 101 }; 102 }; 103 String STR_QH_BORDER 104 { 105 Text [ en-US ] = "Specify the borders of the selected cells." ; 106 }; 107 ToolBox TB_BORDER_LINE_STYLE 108 { 109 SVLook = TRUE ; 110 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH_2 + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 + TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 111 Size = MAP_APPFONT ( TOOLBOX_WIDTH, TOOLBOX_HEIGHT ) ; 112 TabStop = TRUE ; 113 HelpID = HID_PROPERTYPANEL_SC_TBX_STYLE ; 114 Text [ en-US ] = "Line Style" ; 115 ItemList = 116 { 117 ToolBoxItem 118 { 119 Identifier = TBI_LINE_STYLE ; 120 DropDown = TRUE ; 121 Text [ en-US ] = "Line style" ; 122 HelpID = HID_PROPERTYPANEL_SC_TBI_STYLE ; 123 }; 124 }; 125 }; 126 String STR_QH_BORDER_LINE_STYLE 127 { 128 Text [ en-US ] = "Select the line style of the borders." ; 129 }; 130 ToolBox TB_BORDER_LINE_COLOR 131 { 132 SVLook = TRUE ; 133 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH_2 + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 + TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT * 2 + CONTROL_SPACING_VERTICAL + 3 ) ; 134 Size = MAP_APPFONT ( TOOLBOX_WIDTH, TOOLBOX_HEIGHT ) ; 135 TabStop = TRUE ; 136 HelpID = HID_PROPERTYPANEL_SC_TBX_LINECOLOR ; 137 Text [ en-US ] = "Line Color" ; 138 ItemList = 139 { 140 ToolBoxItem 141 { 142 Identifier = TBI_LINE_COLOR ; 143 DropDown = TRUE ; 144 Text [ en-US ] = "Line color" ; 145 HelpID = HID_PROPERTYPANEL_SC_TBI_LINECOLOR ; 146 }; 147 }; 148 }; 149 String STR_QH_BORDER_LINE_COLOR 150 { 151 Text [ en-US ] = "Select the line color of the borders." ; 152 }; 153 CheckBox CBX_SHOW_GRID 154 { 155 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 + TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT_2 + 2 ) ; 156 Size = MAP_APPFONT ( 90, CBOX_HEIGHT ) ; 157 TabStop = TRUE ; 158 Text [ en-US ] = "Show cell ~grid lines" ; 159 QuickHelpText [ en-US ] = "Show the grid lines of the cells in the entire spreadsheet." ; 160 HelpID = HID_PROPERTYPANEL_SC_CBOX_SHOWGRID ; 161 }; 162 163 Image IMG_BK_COLOR 164 { 165 ImageBitmap = Bitmap {File = "sidebar/fill_color.png" ;} ; 166 }; 167 Image IMG_CELL_BORDER 168 { 169 ImageBitmap = Bitmap {File = "sidebar/CellBorder.png" ;} ; 170 }; 171 Image IMG_LINE_COLOR 172 { 173 ImageBitmap = Bitmap {File = "sidebar/Line_color.png" ;} ; 174 }; 175 Image IMG_LINE_STYLE1 176 { 177 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_005.png" ;} ; 178 }; 179 Image IMG_LINE_STYLE2 180 { 181 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_250.png" ;} ; 182 }; 183 Image IMG_LINE_STYLE3 184 { 185 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_400.png" ;} ; 186 }; 187 Image IMG_LINE_STYLE4 188 { 189 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_500.png" ;} ; 190 }; 191 Image IMG_LINE_STYLE5 192 { 193 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_110.png" ;} ; 194 }; 195 Image IMG_LINE_STYLE6 196 { 197 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_260.png" ;} ; 198 }; 199 Image IMG_LINE_STYLE7 200 { 201 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_450.png" ;} ; 202 }; 203 Image IMG_LINE_STYLE8 204 { 205 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_505.png" ;} ; 206 }; 207 Image IMG_LINE_STYLE9 208 { 209 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_750.png" ;} ; 210 }; 211 212 // high contrast 213 Image IMG_BK_COLOR_H 214 { 215 ImageBitmap = Bitmap {File = "sidebar/fill_color_h.png" ;} ; 216 }; 217 Image IMG_LINE_STYLE1_H 218 { 219 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_005_h.png" ;} ; 220 }; 221 Image IMG_LINE_STYLE2_H 222 { 223 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_250_h.png" ;} ; 224 }; 225 Image IMG_LINE_STYLE3_H 226 { 227 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_400_h.png" ;} ; 228 }; 229 Image IMG_LINE_STYLE4_H 230 { 231 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_500_h.png" ;} ; 232 }; 233 Image IMG_LINE_STYLE5_H 234 { 235 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_110_h.png" ;} ; 236 }; 237 Image IMG_LINE_STYLE6_H 238 { 239 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_260_h.png" ;} ; 240 }; 241 Image IMG_LINE_STYLE7_H 242 { 243 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_450_h.png" ;} ; 244 }; 245 Image IMG_LINE_STYLE8_H 246 { 247 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_505_h.png" ;} ; 248 }; 249 Image IMG_LINE_STYLE9_H 250 { 251 ImageBitmap = Bitmap {File = "sidebar/CellBorderLineStyle_750_h.png" ;} ; 252 }; 253 254}; 255 256// fill color popup 257 258Control RID_POPUPPANEL_CELLAPPEARANCE_FILLCOLOR 259{ 260 OutputSize = TRUE ; 261 DialogControl = TRUE ; 262 Border = FALSE ; 263 Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ; 264 265 Control VS_FILLCOLOR 266 { 267 HelpID = HID_PROPERTYPANEL_FILL_COLOR_VS ; 268 Hide = TRUE ; 269 Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ; 270 Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2 ) ; 271 TabStop = TRUE ; 272 Text [ en-US ] = "Color" ; 273 }; 274 275 String VS_NOFILLCOLOR 276 { 277 Text [ en-US ] = "No Color" ; 278 }; 279}; 280 281// line color popup 282 283Control RID_POPUPPANEL_CELLAPPEARANCE_LINECOLOR 284{ 285 OutputSize = TRUE ; 286 DialogControl = TRUE ; 287 Border = FALSE ; 288 Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ; 289 290 Control VS_LINECOLOR 291 { 292 HelpID = HID_PROPERTYPANEL_LINE_COLOR_VS ; 293 Hide = TRUE ; 294 Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ; 295 Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2 ) ; 296 TabStop = TRUE ; 297 Text [ en-US ] = "Color" ; 298 }; 299}; 300 301// cell line style popup 302 303Control RID_POPUPPANEL_APPEARANCE_CELL_LINESTYLE 304{ 305 OutputSize = TRUE ; 306 DialogControl = TRUE ; 307 Border = FALSE ; 308 309 Size = MAP_APPFONT ( 310 POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + 80, 311 13 + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE + 12 * 9 ) ; 312 313 Control VS_STYLE 314 { 315 HelpID = HID_PROPERTYPANEL_SC_STYLE_VS ; 316 Hide = TRUE ; 317 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ; 318 Size = MAP_APPFONT ( 80, 12 * 9 ) ; 319 TabStop = TRUE ; 320 Text [ en-US ] = "Line Style" ; 321 }; 322 PushButton PB_OPTIONS 323 { 324 HelpID = HID_PROPERTYPANEL_SC_STYLE_PB ; 325 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + 12 * 9 ) ; 326 Size = MAP_APPFONT ( 75, 12 ) ; 327 TabStop = TRUE ; 328 Text [ en-US ] = "~More Options..." ; 329 }; 330}; 331 332// cell border style popup 333 334Control RID_POPUPPANEL_APPEARANCE_CELL_BORDERSTYLE 335{ 336 OutputSize = TRUE ; 337 DialogControl = TRUE ; 338 Border = FALSE ; 339 340 Size = MAP_PIXEL( POPUPPANEL_MARGIN_SMALL_PIXEL * 2 + 108, POPUPPANEL_MARGIN_SMALL_PIXEL * 2 + 138 ) ; 341 342 ToolBox TB_BORDER1 343 { 344 SVLook = TRUE ; 345 Pos = MAP_PIXEL ( POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL ) ; //MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 1 ) ; 346 Size = MAP_PIXEL ( TOOLBOX_BORDER_WIDTH, 31 ) ; //MAP_APPFONT ( TOOLBOX_BORDER_WIDTH, 20 ) ; 347 TabStop = TRUE ; 348 HelpID = HID_PROPERTYPANEL_SC_BORDER1_TBX ; 349 Text [ en-US ] = "Cell Border 1" ; 350 ItemList = 351 { 352 ToolBoxItem 353 { 354 Identifier = TBI_BORDER1_NONE ; 355 HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_NONE ; 356 Text [ en-US ] = "No Border" ; 357 }; 358 ToolBoxItem 359 { 360 Identifier = TBI_BORDER1_ALL ; 361 HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_ALL ; 362 Text [ en-US ] = "All Borders" ; 363 }; 364 ToolBoxItem 365 { 366 Identifier = TBI_BORDER1_OUTER ; 367 HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_OUTER ; 368 Text [ en-US ] = "Outside Borders" ; 369 }; 370 ToolBoxItem 371 { 372 Identifier = TBI_BORDER1_OUTERBOLD ; 373 HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_OUTERBOLD ; 374 Text [ en-US ] = "Thick Box Border" ; 375 }; 376 }; 377 }; 378 FixedLine FL_1 379 { 380 Pos = MAP_PIXEL ( POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL + 31 ) ; //MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 20 + 1 ) ; 381 Size = MAP_PIXEL ( TOOLBOX_BORDER_WIDTH, 8 ) ; // MAP_APPFONT ( TOOLBOX_BORDER_WIDTH, 5 ) ; 382 }; 383 ToolBox TB_BORDER2 384 { 385 SVLook = TRUE ; 386 Pos = MAP_PIXEL ( POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL + 31 + 8 ) ; // MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 20 + 5 + 1 ) ; 387 Size = MAP_PIXEL ( TOOLBOX_BORDER_WIDTH, 61 ) ; 388 TabStop = TRUE ; 389 HelpID = HID_PROPERTYPANEL_SC_BORDER2_TBX ; 390 Text [ en-US ] = "Cell Border 2" ; 391 }; 392 FixedLine FL_2 393 { 394 Pos = MAP_PIXEL ( POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL + 31 + 8 + 61 ) ; // MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 20 + 38 + 5 + 1 ) ; 395 Size = MAP_PIXEL ( TOOLBOX_BORDER_WIDTH, 8 ) ; 396 }; 397 ToolBox TB_BORDER3 398 { 399 SVLook = TRUE ; 400 Pos = MAP_PIXEL ( POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL + 31 +8 + 61 + 8 ) ; // MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 20 + 38 + 10 + 1 ) ; 401 Size = MAP_PIXEL ( TOOLBOX_BORDER_WIDTH, 31 ) ; 402 TabStop = TRUE ; 403 HelpID = HID_PROPERTYPANEL_SC_BORDER3_TBX ; 404 Text [ en-US ] = "Cell Border 3" ; 405 ItemList = 406 { 407 ToolBoxItem 408 { 409 Identifier = TBI_BORDER3_S1 ; 410 HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_S1 ; 411 Text [ en-US ] = "Thick Bottom Border" ; 412 }; 413 ToolBoxItem 414 { 415 Identifier = TBI_BORDER3_S2 ; 416 HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_S2 ; 417 Text [ en-US ] = "Double Bottom Border" ; 418 }; 419 ToolBoxItem 420 { 421 Identifier = TBI_BORDER3_S3 ; 422 HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_S3 ; 423 Text [ en-US ] = "Top and Thick Bottom Borders" ; 424 }; 425 ToolBoxItem 426 { 427 Identifier = TBI_BORDER3_S4 ; 428 HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_S4 ; 429 Text [ en-US ] = "Top and Double Bottom Borders" ; 430 }; 431 }; 432 }; 433 434 Image IMG_BORDER1 435 { 436 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Empty_18x18.png" ;} ; 437 }; 438 Image IMG_BORDER2 439 { 440 ImageBitmap = Bitmap {File = "sidebar/CellBorder_All_18x18.png" ;} ; 441 }; 442 Image IMG_BORDER3 443 { 444 ImageBitmap = Bitmap {File = "sidebar/CellBorder_FourBorders_18x18.png" ;} ; 445 }; 446 Image IMG_BORDER4 447 { 448 ImageBitmap = Bitmap {File = "sidebar/CellBorder_FourBorders_Thick_18x18.png" ;} ; 449 }; 450 Image IMG_BORDER5 451 { 452 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Left_18x18.png" ;} ; 453 }; 454 Image IMG_BORDER6 455 { 456 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Right_18x18.png" ;} ; 457 }; 458 Image IMG_BORDER7 459 { 460 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Top_18x18.png" ;} ; 461 }; 462 Image IMG_BORDER8 463 { 464 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Bottom_18x18.png" ;} ; 465 }; 466 Image IMG_BORDER9 467 { 468 ImageBitmap = Bitmap {File = "sidebar/CellBorder_RightDiagonal_18x18.png" ;} ; 469 }; 470 Image IMG_BORDER10 471 { 472 ImageBitmap = Bitmap {File = "sidebar/CellBorder_LeftDiagonal_18x18.png" ;} ; 473 }; 474 Image IMG_BORDER11 475 { 476 ImageBitmap = Bitmap {File = "sidebar/CellBorder_TopAndBottom_18x18.png" ;} ; 477 }; 478 Image IMG_BORDER12 479 { 480 ImageBitmap = Bitmap {File = "sidebar/CellBorder_LeftAndRight_18x18.png" ;} ; 481 }; 482 Image IMG_BORDER13 483 { 484 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Bottom_Thick_18x18.png" ;} ; 485 }; 486 Image IMG_BORDER14 487 { 488 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Bottom_Double_18x18.png" ;} ; 489 }; 490 Image IMG_BORDER15 491 { 492 ImageBitmap = Bitmap {File = "sidebar/CellBorder_TopThin_BottomThick_18x18.png" ;} ; 493 }; 494 Image IMG_BORDER16 495 { 496 ImageBitmap = Bitmap {File = "sidebar/CellBorder_TopSingle_BottomDouble_18x18.png" ;} ; 497 }; 498 String STR_BORDER_1 499 { 500 Text [ en-US ] = "Left Border" ; 501 }; 502 String STR_BORDER_2 503 { 504 Text [ en-US ] = "Right Border" ; 505 }; 506 String STR_BORDER_3 507 { 508 Text [ en-US ] = "Top Border" ; 509 }; 510 String STR_BORDER_4 511 { 512 Text [ en-US ] = "Bottom Border" ; 513 }; 514 String STR_BORDER_5 515 { 516 Text [ en-US ] = "Diagonal Up Border" ; 517 }; 518 String STR_BORDER_6 519 { 520 Text [ en-US ] = "Diagonal Down Border" ; 521 }; 522 String STR_BORDER_7 523 { 524 Text [ en-US ] = "Top and Bottom Borders" ; 525 }; 526 String STR_BORDER_8 527 { 528 Text [ en-US ] = "Left and Right Borders" ; 529 }; 530 531 // high contrast 532 Image IMG_BORDER1_H 533 { 534 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Empty_18x18_h.png" ;} ; 535 }; 536 Image IMG_BORDER2_H 537 { 538 ImageBitmap = Bitmap {File = "sidebar/CellBorder_All_18x18_h.png" ;} ; 539 }; 540 Image IMG_BORDER3_H 541 { 542 ImageBitmap = Bitmap {File = "sidebar/CellBorder_FourBorders_18x18_h.png" ;} ; 543 }; 544 Image IMG_BORDER4_H 545 { 546 ImageBitmap = Bitmap {File = "sidebar/CellBorder_FourBorders_Thick_18x18_h.png" ;} ; 547 }; 548 Image IMG_BORDER5_H 549 { 550 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Left_18x18_h.png" ;} ; 551 }; 552 Image IMG_BORDER6_H 553 { 554 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Right_18x18_h.png" ;} ; 555 }; 556 Image IMG_BORDER7_H 557 { 558 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Top_18x18_h.png" ;} ; 559 }; 560 Image IMG_BORDER8_H 561 { 562 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Bottom_18x18_h.png" ;} ; 563 }; 564 Image IMG_BORDER9_H 565 { 566 ImageBitmap = Bitmap {File = "sidebar/CellBorder_RightDiagonal_18x18_h.png" ;} ; 567 }; 568 Image IMG_BORDER10_H 569 { 570 ImageBitmap = Bitmap {File = "sidebar/CellBorder_LeftDiagonal_18x18_h.png" ;} ; 571 }; 572 Image IMG_BORDER11_H 573 { 574 ImageBitmap = Bitmap {File = "sidebar/CellBorder_TopAndBottom_18x18_h.png" ;} ; 575 }; 576 Image IMG_BORDER12_H 577 { 578 ImageBitmap = Bitmap {File = "sidebar/CellBorder_LeftAndRight_18x18_h.png" ;} ; 579 }; 580 Image IMG_BORDER13_H 581 { 582 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Bottom_Thick_18x18_h.png" ;} ; 583 }; 584 Image IMG_BORDER14_H 585 { 586 ImageBitmap = Bitmap {File = "sidebar/CellBorder_Bottom_Double_18x18_h.png" ;} ; 587 }; 588 Image IMG_BORDER15_H 589 { 590 ImageBitmap = Bitmap {File = "sidebar/CellBorder_TopThin_BottomThick_18x18_h.png" ;} ; 591 }; 592 Image IMG_BORDER16_H 593 { 594 ImageBitmap = Bitmap {File = "sidebar/CellBorder_TopSingle_BottomDouble_18x18_h.png" ;} ; 595 }; 596}; 597 598// ********************************************************************** EOF 599