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 "ParaPropertyPanel.hrc" 23#include <sfx2/sidebar/ResourceDefinitions.hrc> 24#include "helpid.hrc" 25 26#define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 27 28#define SVX_PROPERTYPANEL_PARA_VERT_IDLIST \ 29 IdList = \ 30 { \ 31 IID_VERT_TOP ; \ 32 IID_VERT_CENTER ; \ 33 IID_VERT_BOTTOM ; \ 34 }; \ 35 IdCount = { 3 ; }; 36 37#define SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST \ 38 IdList = \ 39 { \ 40 IID_BULLET ; \ 41 IID_NUMBER ; \ 42 }; \ 43 IdCount = { 2 ; }; 44 45//add by wj for sym2_7380 46#define SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL \ 47 IdList = \ 48 { \ 49 IID_BULLET ; \ 50 IID_NUMBER ; \ 51 }; \ 52 IdCount = { 2 ; }; 53 54Control RID_SIDEBAR_PARA_PANEL 55{ 56 OutputSize = TRUE; 57 DialogControl = TRUE; 58 Border = FALSE; 59 Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, PARA_SECTIONPAGE_HEIGHT ); 60 HelpID = HID_PROPERTYPANEL_PARA_SECTION ; 61 Text = "Paragraph"; 62 63 ToolBox TBX_HORIZONTALALIGNMENT 64 { 65 Pos = MAP_APPFONT ( TBX_HORI_ALIGN_X , TBX_HORI_ALIGN_Y ); 66 Size = MAP_APPFONT ( ALIGNMENT_TBX_WIDTH*4 ,ALIGNMENT_TBX_HEIGHT); 67 SVLook = TRUE ; 68 Border = FALSE ; 69 HelpID = HID_PPROPERTYPANEL_PARA_TBX_HALIGN; 70 Text = "Horizontal Alignment"; 71 ItemList = 72 { 73 ToolBoxItem 74 { 75 Identifier = BT_SUBSTLEFT ; 76 HelpID = HID_PPROPERTYPANEL_PARA_TBI_HALIGN_LEFT; 77 Text [ en-US ] = "Align Left" ; 78 }; 79 ToolBoxItem 80 { 81 Identifier = BT_SUBSTCENTER ; 82 HelpID = HID_PPROPERTYPANEL_PARA_TBI_HALIGN_CENTER; 83 Text [ en-US ] = "Align Center" ; 84 }; 85 ToolBoxItem 86 { 87 Identifier = BT_SUBSTRIGHT ; 88 HelpID = HID_PPROPERTYPANEL_PARA_TBI_HALIGN_RIGHT; 89 Text [ en-US ] = "Align Right" ; 90 }; 91 ToolBoxItem 92 { 93 Identifier = BT_SUBSTJUSTIFY ; 94 HelpID = HID_PPROPERTYPANEL_PARA_TBI_HALIGN_JUSTIFY; 95 Text [ en-US ] = "Align Justified" ; 96 }; 97 }; 98 }; 99 ToolBox TBX_VERT_ALIGN 100 { 101 HelpID = HID_PPROPERTYPANEL_PARA_TBX_VALIGN; 102 SVLook = TRUE ; 103 Border = FALSE ; 104 Pos = MAP_APPFONT ( TBX_VERT_ALIGN_X, TBX_VERT_ALIGN_Y ) ; 105 Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 3 , TOOLBOX_ITEM_HEIGHT) ; 106 TabStop = TRUE ; 107 Text = "Vertical Alignment"; 108 ItemList = 109 { 110 ToolBoxItem 111 { 112 Identifier = IID_VERT_TOP ; 113 HelpID = HID_PPROPERTYPANEL_PARA_TBI_VALIGN_TOP; 114 Text [ en-US ] = "Align Top" ; 115 }; 116 117 ToolBoxItem 118 { 119 Identifier = IID_VERT_CENTER ; 120 HelpID = HID_PPROPERTYPANEL_PARA_TBI_VALIGN_CENTER; 121 Text [ en-US ] = "Align Center Vertically" ; 122 }; 123 124 ToolBoxItem 125 { 126 Identifier = IID_VERT_BOTTOM ; 127 HelpID = HID_PPROPERTYPANEL_PARA_TBI_VALIGN_BOT; 128 Text [ en-US ] = "Align Bottom" ; 129 }; 130 }; 131 }; 132 133 ToolBox TBX_NUM_BULLET 134 { 135 HelpID = HID_PPROPERTYPANEL_PARA_TBX_NUM_BULLET; 136 Border = FALSE ; 137 Pos = MAP_APPFONT ( TBX_NUM_BULLET_X , TBX_NUM_BULLET_Y ) ; 138 Size = MAP_APPFONT ( TOOLBOX_ITEM_DD_WIDTH * 2 , TOOLBOX_ITEM_HEIGHT) ; 139 TabStop = TRUE ; 140 Text = "Bullets and Numbering"; 141 ItemList = 142 { 143 ToolBoxItem 144 { 145 Identifier = IID_BULLET ; 146 HelpID = HID_PPROPERTYPANEL_PARA_TBI_BULLET ; 147 Text [ en-US ] = "Bullets" ; 148 DropDown = TRUE ; 149 }; 150 ToolBoxItem 151 { 152 Identifier = IID_NUMBER ; 153 HelpID = HID_PPROPERTYPANEL_PARA_TBI_NUM ; 154 Text [ en-US ] = "Numbering" ; 155 DropDown = TRUE ; 156 }; 157 }; 158 }; 159 ToolBox TBX_BACK_COLOR 160 { 161 SVLook = TRUE ; 162 Pos = MAP_APPFONT (TBX_BACK_COLOR_X, TBX_BACK_COLOR_Y) ; 163 Size = MAP_APPFONT (TOOLBOX_WIDTH,TOOLBOX_HEIGHT ) ; 164 TabStop = TRUE ; 165 HelpID = HID_PPROPERTYPANEL_PARA_TBX_BACK_COLOR; 166 Text = "Paragraph Background Color" ; 167 ItemList = 168 { 169 ToolBoxItem 170 { 171 Identifier = TBI_BACK_COLOR ; 172 HelpID = HID_PPROPERTYPANEL_PARA_TBI_BACK_COLOR; 173 DropDown = TRUE ; 174 Text [ en-US ] = "Paragraph Background Color" ; 175 }; 176 }; 177 }; 178 FixedText FT_SPACING 179 { 180 Pos = MAP_APPFONT ( FT_PARA_SPACE_X, FT_PARA_SPACE_Y ); 181 Size = MAP_APPFONT ( FT_PARA_INDENT_X - 7 - FT_PARA_SPACE_X, _FIXED_TEXT_HEIGHT) ; 182 Text [ en-US ] = "~Spacing:"; 183 }; 184 ToolBox TBX_UL_INC_DEC 185 { 186 Pos = MAP_APPFONT ( TBX_PARA_SPACE_INC_DEC_X,TBX_PARA_SPACE_INC_DEC_Y ); 187 Size = MAP_APPFONT (ALIGNMENT_TBX_WIDTH*2,ALIGNMENT_TBX_HEIGHT); 188 SVLook = TRUE ; 189 Border = FALSE ; 190 HelpID = HID_PPROPERTYPANEL_PARA_TBX_INC_DEC ; 191 Text = "Spacing"; 192 ItemList = 193 { 194 ToolBoxItem 195 { 196 Identifier = BT_TBX_UL_INC ; 197 HelpID = HID_PPROPERTYPANEL_PARA_TBI_INC ; 198 Text [ en-US ] = "Increase Spacing" ; 199 ItemBitmap = Bitmap 200 { 201 File = "symphony/IncreaseSpace_16x16.png"; 202 }; 203 }; 204 ToolBoxItem 205 { 206 Identifier = BT_TBX_UL_DEC ; 207 HelpID = HID_PPROPERTYPANEL_PARA_TBI_DEC ; 208 Text [ en-US ] = "Decrease Spacing" ; 209 ItemBitmap = Bitmap 210 { 211 File = "symphony/DecreaseSpace_16x16.png"; 212 }; 213 }; 214 }; 215 }; 216 MetricField MF_ABOVE_PARASPACING 217 { 218 HelpID = HID_POPUP_PS_ED_SBINDE_TOPDIST ; 219 Border = TRUE; 220 Pos = MAP_APPFONT ( MBX_TOP_DIST_X, MBX_TOP_DIST_Y ); 221 Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ; 222 QuickHelpText [ en-US ] = "Above Paragraph Spacing"; 223 TabStop = TRUE; 224 Repeat = TRUE; 225 Spin = TRUE; 226 Maximum = 999; 227 Unit = FUNIT_INCH; 228 Last = 999; 229 SpinSize = 1; 230 231 }; 232 MetricField MF_BELOW_PARASPACING 233 { 234 Border = TRUE; 235 Pos = MAP_APPFONT ( MBX_BOT_DIST_X, MBX_BOT_DIST_Y ); 236 Size = MAP_APPFONT ( CONTROL_WIDTH -10,MBOX_HEIGHT ) ; 237 QuickHelpText [ en-US ] = "Below Paragraph Spacing"; 238 HelpID = HID_POPUP_PS_ED_SBINDE_BOTTOMDIST ; 239 Repeat = TRUE; 240 Spin = TRUE; 241 Maximum = 999; 242 Unit = FUNIT_INCH; 243 Last = 999; 244 SpinSize = 1; 245 }; 246 FixedText FT_INDENT 247 { 248 Pos = MAP_APPFONT ( FT_PARA_INDENT_X, FT_PARA_INDENT_Y ); 249 Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50, _FIXED_TEXT_HEIGHT) ; 250 Text [ en-US ] = "~Indent:"; 251 }; 252 ToolBox TBX_INDENT_INC_DEC 253 { 254 Pos = MAP_APPFONT ( TBX_PARA_INDENT_INC_DEC_X, TBX_PARA_INDENT_INC_DEC_Y ); 255 Size = MAP_APPFONT (ALIGNMENT_TBX_WIDTH*2,ALIGNMENT_TBX_HEIGHT); 256 SVLook = TRUE ; 257 Border = FALSE ; 258 HelpID = HID_PPROPERTYPANEL_PARA_TBX_INDENT_INC_DEC ; 259 Text = "Indent"; 260 ItemList = 261 { 262 ToolBoxItem 263 { 264 Identifier = BT_TBX_INDENT_INC ; 265 HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENT_INC ; 266 Text [ en-US ] = "Increase Indent" ; 267 }; 268 ToolBoxItem 269 { 270 Identifier = BT_TBX_INDENT_DEC ; 271 HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENT_DEC ; 272 Text [ en-US ] = "Decrease Indent" ; 273 }; 274 ToolBoxItem 275 { 276 Identifier = ID_HANGING_INDENT ; 277 Text [ en-US ] = "Switch to Hanging Indent" ; 278 HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENT_HANG ; 279 ItemBitmap = Bitmap 280 { 281 File = "symphony/Indent_Hanging.png"; 282 }; 283 }; 284 }; 285 }; 286 ToolBox TBX_INDENT_PRO_DEMOTE 287 { 288 Pos = MAP_APPFONT ( TBX_PARA_INDENT_INC_DEC_X, TBX_PARA_INDENT_INC_DEC_Y ); 289 Size = MAP_APPFONT (ALIGNMENT_TBX_WIDTH*2,ALIGNMENT_TBX_HEIGHT); 290 SVLook = TRUE ; 291 Border = FALSE ; 292 HelpID = HID_PPROPERTYPANEL_PARA_TBX_INDENTP_INC_DEC ; 293 Text = "Indent"; 294 ItemList = 295 { 296 ToolBoxItem 297 { 298 Identifier = BT_TBX_INDENT_PROMOTE ; 299 HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_INC ; 300 Text [ en-US ] = "Increase Indent" ; 301 }; 302 ToolBoxItem 303 { 304 Identifier = BT_TBX_INDENT_DEMOTE ; 305 HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_DEC ; 306 Text [ en-US ] = "Decrease Indent" ; 307 }; 308 ToolBoxItem 309 { 310 Identifier = SD_HANGING_INDENT ; 311 Text [ en-US ] = "Switch to Hanging Indent" ; 312 HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_HANG ; 313 ItemBitmap = Bitmap 314 { 315 File = "symphony/Indent_Hanging.png"; 316 }; 317 }; 318 }; 319 }; 320 MetricField MF_BEFORE_INDENT 321 { 322 Border = TRUE ; 323 Pos = MAP_APPFONT ( MBX_LEFT_DIST_X, MBX_LEFT_DIST_Y ); 324 Size = MAP_APPFONT ( CONTROL_WIDTH - 10,MBOX_HEIGHT ) ; 325 QuickHelpText [ en-US ] = "Before Text Indent"; 326 HelpID = HID_POPUP_INDENT_ED_INDENT_LEFTINDENT ; 327 Repeat = TRUE ; 328 Spin = TRUE ; 329 Maximum = 9999 ; 330 StrictFormat = TRUE ; 331 Unit = FUNIT_INCH; 332 Last = 9999 ; 333 SpinSize = 2 ; 334 }; 335 MetricField MF_AFTER_INDENT 336 { 337 Border = TRUE ; 338 Pos = MAP_APPFONT ( MBX_RIGHT_DIST_X, MBX_RIGHT_DIST_Y ); 339 Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ; 340 QuickHelpText [ en-US ] = "After Text Indent"; 341 HelpID = HID_POPUP_INDENT_ED_INDENT_RIGHTINDENT ; 342 Repeat = TRUE ; 343 Spin = TRUE ; 344 Maximum = 9999 ; 345 StrictFormat = TRUE ; 346 Unit = FUNIT_INCH; 347 Last = 9999 ; 348 SpinSize = 2 ; 349 }; 350 MetricField MF_FL_INDENT 351 { 352 Border = TRUE ; 353 Pos = MAP_APPFONT ( MBX_FLINE_DIST_X, MBX_FLINE_DIST_Y ); 354 Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ; 355 QuickHelpText [ en-US ] = "First Line Indent"; 356 HelpID = HID_POPUP_INDENT_ED_INDENT_FLINDENT ; 357 Repeat = TRUE ; 358 Spin = TRUE ; 359 Minimum = -9999; 360 Maximum = 9999 ; 361 DecimalDigits = 2; 362 Unit = FUNIT_INCH; 363 First = -9999; 364 Last = 9999 ; 365 SpinSize = 2 ; 366 }; 367 ToolBox TBX_LINESP 368 { 369 Pos = MAP_APPFONT ( TBX_LINE_SPACE_X, TBX_LINE_SPACE_Y); 370 SVLook = TRUE ; 371 Border = FALSE ; 372 Size = MAP_APPFONT (TOOLBOX_WIDTH, TOOLBOX_HEIGHT); 373 HelpID = HID_PPROPERTYPANEL_PARA_TBX_LINESP ; 374 Text = "Line Spacing" ; 375 ItemList = 376 { 377 ToolBoxItem 378 { 379 Identifier = BT_BTX_LINESP ; 380 HelpID = HID_PPROPERTYPANEL_PARA_TBI_LINESP ; 381 Text [ en-US ] = "Line Spacing" ; 382 ItemBitmap = Bitmap 383 { 384 File = "symphony/lpsmall-spacing-1.png" ; 385 }; 386 DropDown = TRUE; 387 }; 388 }; 389 }; 390 FixedImage FI_INDENT1 391 { 392 Pos = MAP_APPFONT( IMG_SPACE_X, IMG_SPACE1_Y ); 393 Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE ); 394 }; 395 FixedImage FI_INDENT2 396 { 397 Pos = MAP_APPFONT( IMG_SPACE_X, IMG_SPACE2_Y ); 398 Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE ); 399 }; 400 FixedImage FI_INDENT3 401 { 402 Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT1_Y ); 403 Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE ); 404 }; 405 FixedImage FI_SPACE1 406 { 407 Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT2_Y ); 408 Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE ); 409 }; 410 FixedImage FI_SPACE2 411 { 412 Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT3_Y ); 413 Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE ); 414 }; 415 416 ImageList IL_NUM_BULLET 417 { 418 Prefix = "symphony/para_numbullet"; 419 MaskColor = STD_MASKCOLOR ; 420 SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST 421 }; 422 ImageList ILH_NUM_BULLET 423 { 424 Prefix = "symphony/para_numbulleth"; 425 MaskColor = STD_MASKCOLOR ; 426 SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST 427 }; 428 //for sym2_7380 429 ImageList IL_NUM_BULLET_RTL 430 { 431 Prefix = "symphony/para_numbullet_rtl"; 432 MaskColor = STD_MASKCOLOR ; 433 SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL 434 }; 435 //end 436 Image IMG_BACK_COLOR 437 { 438 ImageBitmap = Bitmap{File = "symphony/sc_backgroundcolor.bmp";}; 439 }; 440 Image IMG_BACK_COLOR_H 441 { 442 ImageBitmap = Bitmap{File = "symphony/sch_backgroundcolor.bmp";}; 443 }; 444 Image IMG_SPACE1 445 { 446 ImageBitmap = Bitmap{File = "symphony/spacing1.png";}; 447 }; 448 Image IMG_SPACE2 449 { 450 ImageBitmap = Bitmap{File = "symphony/spacing2.png";}; 451 }; 452 Image IMG_SPACE3 453 { 454 ImageBitmap = Bitmap{File = "symphony/spacing3.png";}; 455 }; 456 Image IMG_INDENT1 457 { 458 ImageBitmap = Bitmap{File = "symphony/Indent2.png";}; 459 }; 460 Image IMG_INDENT2 461 { 462 ImageBitmap = Bitmap{File = "symphony/Indent3.png";}; 463 }; 464 Image IMG_INDENT3 465 { 466 ImageBitmap = Bitmap{File = "symphony/Indent4.png";}; 467 }; 468 Image IMG_INDENT_HANG 469 { 470 ImageBitmap = Bitmap{File = "symphony/Indent_Hanging.png";}; 471 }; 472 Image IMG_PARA_INC 473 { 474 ImageBitmap = Bitmap{File = "symphony/IncreaseSpace_16x16.png";}; 475 }; 476 Image IMG_PARA_DEC 477 { 478 ImageBitmap = Bitmap{File = "symphony/DecreaseSpace_16x16.png";}; 479 }; 480}; 481 482//===========================================Back color page============================== 483Control RID_POPUPPANEL_PARAPAGE_BACK_COLOR 484{ 485 OutputSize = TRUE; 486 DialogControl = TRUE; 487 Border = FALSE; 488 Size = MAP_APPFONT( POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT ); 489 490 Control VS_FONT_COLOR 491 { 492 HelpID = HID_PPROPERTYPANEL_PARA_BACK_COLOR_VS ; 493 Hide = TRUE ; 494 Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y ); 495 Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2); 496 TabStop = TRUE ; 497 Text = "Color Picker"; 498 }; 499 String STR_NOFILL 500 { 501 Text [ en-US ] = "No Color"; 502 }; 503}; 504 505//===========================================Bullet popup page============================== 506Control RID_POPUPPANEL_PARAPAGE_BULLETS 507{ 508 DialogControl = TRUE; 509 OutputSize = TRUE; 510 Border = FALSE; 511 512 Size = MAP_APPFONT ( POPUP_WIDTH_BULLET , POPUP_HEIGHT_BULLET) ; 513 Control VS_VALUES 514 { 515 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB , POPUPPANEL_MARGIN_NB ) ; 516 Size = MAP_APPFONT ( VS_WIDTH_BULLET , VS_HEIGHT_BULLET) ; 517 HelpID = HID_POPUP_BULLET_VS_VALUES ; 518 TabStop = TRUE ; 519 Text = "Bullet"; 520 }; 521 PushButton CB_BULLET_MORE 522 { 523 Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_BULLET + POPUPPANEL_MARGIN_NB * 2 ) ; 524 Size = MAP_APPFONT (POPUP_WIDTH_BULLET - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ; 525 HelpID = HID_POPUP_BULLET_CB_BULLET_MORE ; 526 TabStop = TRUE ; 527 Text [ en-US ] = "~More Options"; 528 }; 529 Bitmap BMP_BULLET_MORE 530 { 531 File = "symphony/__morebutton.bmp"; 532 }; 533 Bitmap BMP_BULLET_MORE_H 534 { 535 File = "symphony/__morebutton_h.bmp"; 536 }; 537}; 538 539String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_0 540{ 541 Text [en-US] = "large square bullets"; 542}; 543 544String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_1 545{ 546 Text [en-US] = "graphic bullets"; 547}; 548 549String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_2 550{ 551 Text [en-US] = "graphic bullets"; 552}; 553 554String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_3 555{ 556 Text [en-US] = "graphic bullets"; 557}; 558 559String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_4 560{ 561 Text [en-US] = "graphic bullets"; 562}; 563 564//===========================================Numbering popup page============================== 565Control RID_POPUPPANEL_PARAPAGE_NUMBERING 566{ 567 SVLook = TRUE ; 568 DialogControl = TRUE; 569 OutputSize = TRUE; 570 Border = FALSE; 571 572 Size = MAP_APPFONT ( POPUP_WIDTH_NUM , POPUP_HEIGHT_NUM) ; 573 Control VS_NUMBERING 574 { 575 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB, POPUPPANEL_MARGIN_NB ) ; 576 Size = MAP_APPFONT ( VS_WIDTH_NUM , VS_HEIGHT_NUM) ; 577 HelpID = HID_POPUP_NUM_VS_NUMBERING ; 578 TabStop = TRUE ; 579 Text = "Numbering"; 580 }; 581 PushButton CB_NUMBERING_MORE 582 { 583 Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 2 ) ; 584 Size = MAP_APPFONT (POPUP_WIDTH_NUM - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ; 585 HelpID = HID_POPUP_NUM_CB_NUMBERING_MORE ; 586 TabStop = TRUE ; 587 Text [ en-US ] = "~More Options"; 588 }; 589 Bitmap BMP_NUMERING_MORE 590 { 591 File = "symphony/__morebutton.bmp"; 592 }; 593 Bitmap BMP_NUMERING_MORE_H 594 { 595 File = "symphony/__morebutton_h.bmp"; 596 }; 597}; 598 599//===========================================Line Space popup page============================== 600Control RID_POPUPPANEL_PARAPAGE_LINESPACING 601{ 602 OutputSize = TRUE; 603 DialogControl = TRUE; 604 Border = FALSE; 605 606 Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH, POPUP_PAGE_HEIGHT ); 607 608 Control LINE_SPACING 609 { 610 Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y ); 611 Size = MAP_APPFONT ( VS_SPACING_WIDTH , 17 * 5); 612 TabStop = TRUE ; 613 Text = "Line Spacing"; 614 }; 615 616 FixedText FT_CUSTOM 617 { 618 Pos = MAP_APPFONT ( POP_FT_CUSTOM_X, POP_FT_CUSTOM_Y ); 619 Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50 , _FIXED_TEXT_HEIGHT) ; 620 Text [ en-US ] = "Custom:"; 621 }; 622 FixedText FT_LINE_SPACING 623 { 624 Pos = MAP_APPFONT ( FT_1_X, FT_1_Y ); 625 Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 10, _FIXED_TEXT_HEIGHT) ; 626 Text [ en-US ] = "~Line Spacing:"; 627 }; 628 629 FixedText FT_OF 630 { 631 Pos = MAP_APPFONT ( FT_2_X, FT_2_Y ); 632 Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH , _FIXED_TEXT_HEIGHT) ; 633 Text [ en-US ] = "~Of:"; 634 }; 635 636 ListBox LB_LINE_SPACING 637 { 638 Border = TRUE ; 639 Pos = MAP_APPFONT ( EDIT_1_X, EDIT_1_Y ); 640 Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,LISTBOX_HEIGHT ) ; 641 TabStop = TRUE ; 642 DropDown = TRUE ; 643 HelpID = HID_POPUP_LS_LB_LINE_SPACING ; 644 StringList [ en-US ] = 645 { 646 < "Single" ; Default ; > ; 647 < "1.5 Lines" ; Default ; > ; 648 < "Double" ; Default ; > ; 649 < "Proportional" ; Default ; > ; 650 < "At least" ; Default ; > ; 651 < "Leading" ; Default ; > ; 652 < "Fixed" ; Default ; > ; 653 }; 654 }; 655 MetricField ED_SBINDE_LINEDISTPERCENT 656 { 657 Disable = TRUE; 658 Border = TRUE; 659 Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y ); 660 Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,MBOX_HEIGHT ) ; 661 HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT ; 662 Repeat = TRUE; 663 Spin = TRUE; 664 Minimum = 50; 665 Maximum = 200; 666 Value = 100; 667 StrictFormat = TRUE; 668 Unit = FUNIT_CUSTOM ; 669 CustomUnitText = "%"; 670 First = 50; 671 Last = 200; 672 SpinSize = 1; 673 }; 674 MetricField ED_SBINDE_LINEDISTPOINT 675 { 676 Disable = TRUE; 677 Border = TRUE; 678 Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y ); 679 Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ; 680 HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT ; 681 Repeat = TRUE; 682 Spin = TRUE; 683 Maximum = 9999; 684 DecimalDigits = 2; 685 StrictFormat = TRUE ; 686 Unit = FUNIT_INCH; 687 Last = 9999; 688 SpinSize = 2; 689 }; 690 Image IMG_SPACING1 691 { 692 ImageBitmap = Bitmap{File = "symphony/lpspacing-1.png";}; 693 }; 694 Image IMG_SPACING115 695 { 696 ImageBitmap = Bitmap{File = "symphony/lpspacing-1_15.png";}; 697 }; 698 Image IMG_SPACING15 699 { 700 ImageBitmap = Bitmap{File = "symphony/lpspacing-1_5.png";}; 701 }; 702 Image IMG_SPACING2 703 { 704 ImageBitmap = Bitmap{File = "symphony/lpspacing-2.png";}; 705 }; 706 Image IMG_SEL_SPACING1 707 { 708 ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1.png";}; 709 }; 710 Image IMG_SEL_SPACING115 711 { 712 ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_15.png";}; 713 }; 714 Image IMG_SEL_SPACING15 715 { 716 ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_5.png";}; 717 }; 718 Image IMG_SEL_SPACING2 719 { 720 ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-2.png";}; 721 }; 722 Image IMG_CUSTOM 723 { 724 ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";}; 725 }; 726 Image IMG_CUSTOM_GRAY 727 { 728 ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";}; 729 }; 730 String STR_LS_SINGLE 731 { 732 Text [ en-US ] = "Line spacing: Single"; 733 }; 734 String STR_LS_115 735 { 736 Text [ en-US ] = "Line spacing: 1.15 Lines"; 737 }; 738 String STR_LS_15 739 { 740 Text [ en-US ] = "Line spacing: 1.5 Lines"; 741 }; 742 String STR_LS_DOUBLE 743 { 744 Text [ en-US ] = "Line spacing: Double"; 745 }; 746 String STR_LSPACING 747 { 748 Text [ en-US ] = "Line spacing:"; 749 }; 750 String STR_LS_OF 751 { 752 Text [ en-US ] = "of:"; 753 }; 754 String STR_SPACING1 755 { 756 Text [ en-US ] = "Spacing: 1"; 757 }; 758 String STR_SPACING115 759 { 760 Text [ en-US ] = "Spacing: 1.15"; 761 }; 762 String STR_SPACING15 763 { 764 Text [ en-US ] = "Spacing: 1.5"; 765 }; 766 String STR_SPACING2 767 { 768 Text [ en-US ] = "Spacing: 2"; 769 }; 770 String STR_LCVALUE 771 { 772 Text [ en-US ] = "Last Custom Value"; 773 }; 774 775}; 776 777String RID_SVXSTR_NUMBULLET_NONE 778{ 779 Text [en-US] = "None"; 780}; 781 782//i122118, Seems the bullets graphic order and count is changed in the gallary, 783//Following descriptions should be changed accordingly. 784 785String RID_SVXSTR_GRAPHICS_DESCRIPTION_0 786{ 787 Text [en-US] = "Black Pearl"; 788}; 789String RID_SVXSTR_GRAPHICS_DESCRIPTION_1 790{ 791 Text [en-US] = "Blue Arrow 1"; 792}; 793String RID_SVXSTR_GRAPHICS_DESCRIPTION_2 794{ 795 Text [en-US] = "Blue Ball"; 796}; 797String RID_SVXSTR_GRAPHICS_DESCRIPTION_3 798{ 799 Text [en-US] = "Blue Diamond"; 800}; 801String RID_SVXSTR_GRAPHICS_DESCRIPTION_4 802{ 803 Text [en-US] = "Blue Red"; 804}; 805String RID_SVXSTR_GRAPHICS_DESCRIPTION_5 806{ 807 Text [en-US] = "Blue Square"; 808}; 809String RID_SVXSTR_GRAPHICS_DESCRIPTION_6 810{ 811 Text [en-US] = "Blue Star"; 812}; 813String RID_SVXSTR_GRAPHICS_DESCRIPTION_7 814{ 815 Text [en-US] = "Dark Red Circle"; 816}; 817String RID_SVXSTR_GRAPHICS_DESCRIPTION_8 818{ 819 Text [en-US] = "Blue Circle"; 820}; 821String RID_SVXSTR_GRAPHICS_DESCRIPTION_9 822{ 823 Text [en-US] = "Green Circle"; 824}; 825String RID_SVXSTR_GRAPHICS_DESCRIPTION_10 826{ 827 Text [en-US] = "Black Square"; 828}; 829String RID_SVXSTR_GRAPHICS_DESCRIPTION_11 830{ 831 Text [en-US] = "Orange Square"; 832}; 833String RID_SVXSTR_GRAPHICS_DESCRIPTION_12 834{ 835 Text [en-US] = "Purple Square"; 836}; 837String RID_SVXSTR_GRAPHICS_DESCRIPTION_13 838{ 839 Text [en-US] = "Blue Diamond"; 840}; 841String RID_SVXSTR_GRAPHICS_DESCRIPTION_14 842{ 843 Text [en-US] = "Light Blue Diamond"; 844}; 845String RID_SVXSTR_GRAPHICS_DESCRIPTION_15 846{ 847 Text [en-US] = "Red Diamond"; 848}; 849String RID_SVXSTR_GRAPHICS_DESCRIPTION_16 850{ 851 Text [en-US] = "Yellow Star"; 852}; 853String RID_SVXSTR_GRAPHICS_DESCRIPTION_17 854{ 855 Text [en-US] = "Blue Star"; 856}; 857String RID_SVXSTR_GRAPHICS_DESCRIPTION_18 858{ 859 Text [en-US] = "Blue Triangle"; 860}; 861String RID_SVXSTR_GRAPHICS_DESCRIPTION_19 862{ 863 Text [en-US] = "Dark Green Triangle"; 864}; 865String RID_SVXSTR_GRAPHICS_DESCRIPTION_20 866{ 867 Text [en-US] = "Red Arrow"; 868}; 869String RID_SVXSTR_GRAPHICS_DESCRIPTION_21 870{ 871 Text [en-US] = "Blue Arrow 2"; 872}; 873String RID_SVXSTR_GRAPHICS_DESCRIPTION_22 874{ 875 Text [en-US] = "Blue Box"; 876}; 877String RID_SVXSTR_GRAPHICS_DESCRIPTION_23 878{ 879 Text [en-US] = "Red Box"; 880}; 881String RID_SVXSTR_GRAPHICS_DESCRIPTION_24 882{ 883 Text [en-US] = "Light Blue Asterisk"; 884}; 885String RID_SVXSTR_GRAPHICS_DESCRIPTION_25 886{ 887 Text [en-US] = "Red Leaves"; 888}; 889String RID_SVXSTR_GRAPHICS_DESCRIPTION_26 890{ 891 Text [en-US] = "Blue Target"; 892}; 893String RID_SVXSTR_GRAPHICS_DESCRIPTION_27 894{ 895 Text [en-US] = "Blue Arrow 3"; 896}; 897String RID_SVXSTR_GRAPHICS_DESCRIPTION_28 898{ 899 Text [en-US] = "Dark Blue Arrow"; 900}; 901String RID_SVXSTR_GRAPHICS_DESCRIPTION_29 902{ 903 Text [en-US] = "Brown Arrow"; 904}; 905//i122118