1*8dcb2a10SAndre Fischer/************************************************************** 2*8dcb2a10SAndre Fischer * 3*8dcb2a10SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 4*8dcb2a10SAndre Fischer * or more contributor license agreements. See the NOTICE file 5*8dcb2a10SAndre Fischer * distributed with this work for additional information 6*8dcb2a10SAndre Fischer * regarding copyright ownership. The ASF licenses this file 7*8dcb2a10SAndre Fischer * to you under the Apache License, Version 2.0 (the 8*8dcb2a10SAndre Fischer * "License"); you may not use this file except in compliance 9*8dcb2a10SAndre Fischer * with the License. You may obtain a copy of the License at 10*8dcb2a10SAndre Fischer * 11*8dcb2a10SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 12*8dcb2a10SAndre Fischer * 13*8dcb2a10SAndre Fischer * Unless required by applicable law or agreed to in writing, 14*8dcb2a10SAndre Fischer * software distributed under the License is distributed on an 15*8dcb2a10SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8dcb2a10SAndre Fischer * KIND, either express or implied. See the License for the 17*8dcb2a10SAndre Fischer * specific language governing permissions and limitations 18*8dcb2a10SAndre Fischer * under the License. 19*8dcb2a10SAndre Fischer * 20*8dcb2a10SAndre Fischer *************************************************************/ 21*8dcb2a10SAndre Fischer 22*8dcb2a10SAndre Fischer#include "AreaPropertyPanel.hrc" 23*8dcb2a10SAndre Fischer#include <sfx2/sidebar/propertypanel.hrc> 24*8dcb2a10SAndre Fischer#include <svx/dialogs.hrc> 25*8dcb2a10SAndre Fischer#include "helpid.hrc" 26*8dcb2a10SAndre Fischer 27*8dcb2a10SAndre Fischer#define TOOLBOX_WIDTH 50 28*8dcb2a10SAndre Fischer#define TOOLBOX_HEIGHT 17 29*8dcb2a10SAndre Fischer 30*8dcb2a10SAndre FischerControl RID_SIDEBAR_AREA_PANEL 31*8dcb2a10SAndre Fischer{ 32*8dcb2a10SAndre Fischer OutputSize = TRUE; 33*8dcb2a10SAndre Fischer DialogControl = TRUE; 34*8dcb2a10SAndre Fischer Border = FALSE; 35*8dcb2a10SAndre Fischer Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_TOP + SECTIONPAGE_MARGIN_VERTICAL_BOT + 2*( FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + CBOX_HEIGHT) + CONTROL_SPACING_VERTICAL ); 36*8dcb2a10SAndre Fischer HelpID = HID_PROPERTYPANEL_AREA_SECTION ; 37*8dcb2a10SAndre Fischer Text [ en-US ] = "Area"; 38*8dcb2a10SAndre Fischer 39*8dcb2a10SAndre Fischer FixedText FT_COLOR_LIST 40*8dcb2a10SAndre Fischer { 41*8dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 42*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ; 43*8dcb2a10SAndre Fischer Text [ en-US ] = "~Fill:"; 44*8dcb2a10SAndre Fischer }; 45*8dcb2a10SAndre Fischer FixedText FL_TRSP_TEXT 46*8dcb2a10SAndre Fischer { 47*8dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 48*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( FIXED_TEXT_WIDTH + 50, FIXED_TEXT_HEIGHT ) ; 49*8dcb2a10SAndre Fischer Text [ en-US ] = "~Transparency:"; 50*8dcb2a10SAndre Fischer }; 51*8dcb2a10SAndre Fischer ToolBox TB_COLOR 52*8dcb2a10SAndre Fischer { 53*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_TBX_COLOR; 54*8dcb2a10SAndre Fischer SVLook = TRUE ; 55*8dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + FIXED_TEXT_HEIGHT + 1) ; 56*8dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 57*8dcb2a10SAndre Fischer TabStop = TRUE ; 58*8dcb2a10SAndre Fischer Text = "Color"; 59*8dcb2a10SAndre Fischer ItemList = 60*8dcb2a10SAndre Fischer { 61*8dcb2a10SAndre Fischer ToolBoxItem 62*8dcb2a10SAndre Fischer { 63*8dcb2a10SAndre Fischer Identifier = TBI_COLOR ; 64*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_TBI_COLOR; 65*8dcb2a10SAndre Fischer DropDown = TRUE ; 66*8dcb2a10SAndre Fischer Text = "Color" ; 67*8dcb2a10SAndre Fischer }; 68*8dcb2a10SAndre Fischer }; 69*8dcb2a10SAndre Fischer }; 70*8dcb2a10SAndre Fischer String STR_HELP_COLOR 71*8dcb2a10SAndre Fischer { 72*8dcb2a10SAndre Fischer Text [ en-US ] = "Select the color to apply." ; 73*8dcb2a10SAndre Fischer }; 74*8dcb2a10SAndre Fischer String STR_HELP_TYPE 75*8dcb2a10SAndre Fischer { 76*8dcb2a10SAndre Fischer Text [en-US] = "Select the fill type to apply."; 77*8dcb2a10SAndre Fischer }; 78*8dcb2a10SAndre Fischer String STR_HELP_ATTR 79*8dcb2a10SAndre Fischer { 80*8dcb2a10SAndre Fischer Text [en-US] = "Select the effect to apply."; 81*8dcb2a10SAndre Fischer }; 82*8dcb2a10SAndre Fischer Image IMG_AXIAL 83*8dcb2a10SAndre Fischer { 84*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/axial.png";}; 85*8dcb2a10SAndre Fischer }; 86*8dcb2a10SAndre Fischer Image IMG_ELLI 87*8dcb2a10SAndre Fischer { 88*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/ellipsoid.png";}; 89*8dcb2a10SAndre Fischer }; 90*8dcb2a10SAndre Fischer Image IMG_QUAD 91*8dcb2a10SAndre Fischer { 92*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/Quadratic.png";}; 93*8dcb2a10SAndre Fischer }; 94*8dcb2a10SAndre Fischer Image IMG_RADIAL 95*8dcb2a10SAndre Fischer { 96*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/radial.png";}; 97*8dcb2a10SAndre Fischer }; 98*8dcb2a10SAndre Fischer Image IMG_SQUARE 99*8dcb2a10SAndre Fischer { 100*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/Square.png";}; 101*8dcb2a10SAndre Fischer }; 102*8dcb2a10SAndre Fischer Image IMG_LINEAR 103*8dcb2a10SAndre Fischer { 104*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/linear.png";}; 105*8dcb2a10SAndre Fischer }; 106*8dcb2a10SAndre Fischer Image IMG_COLOR 107*8dcb2a10SAndre Fischer { 108*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/fill_color.png";}; 109*8dcb2a10SAndre Fischer }; 110*8dcb2a10SAndre Fischer 111*8dcb2a10SAndre Fischer //high contract 112*8dcb2a10SAndre Fischer Image IMG_AXIAL_H 113*8dcb2a10SAndre Fischer { 114*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/axial_h.png";}; 115*8dcb2a10SAndre Fischer }; 116*8dcb2a10SAndre Fischer Image IMG_ELLI_H 117*8dcb2a10SAndre Fischer { 118*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/ellipsoid_h.png";}; 119*8dcb2a10SAndre Fischer }; 120*8dcb2a10SAndre Fischer Image IMG_QUAD_H 121*8dcb2a10SAndre Fischer { 122*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/Quadratic_h.png";}; 123*8dcb2a10SAndre Fischer }; 124*8dcb2a10SAndre Fischer Image IMG_RADIAL_H 125*8dcb2a10SAndre Fischer { 126*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/radial_h.png";}; 127*8dcb2a10SAndre Fischer }; 128*8dcb2a10SAndre Fischer Image IMG_SQUARE_H 129*8dcb2a10SAndre Fischer { 130*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/Square_h.png";}; 131*8dcb2a10SAndre Fischer }; 132*8dcb2a10SAndre Fischer Image IMG_LINEAR_H 133*8dcb2a10SAndre Fischer { 134*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/linear_h.png";}; 135*8dcb2a10SAndre Fischer }; 136*8dcb2a10SAndre Fischer Image IMG_COLOR_H 137*8dcb2a10SAndre Fischer { 138*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/fill_color_h.png";}; 139*8dcb2a10SAndre Fischer }; 140*8dcb2a10SAndre Fischer 141*8dcb2a10SAndre Fischer //===================================================================================================================================== 142*8dcb2a10SAndre Fischer ListBox LB_TRGR_TYPES 143*8dcb2a10SAndre Fischer { 144*8dcb2a10SAndre Fischer Border = TRUE ; 145*8dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + 2*(FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 146*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( MBOX_WIDTH , LISTBOX_HEIGHT ) ; 147*8dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the type of transparence to apply." ; 148*8dcb2a10SAndre Fischer TabStop = TRUE ; 149*8dcb2a10SAndre Fischer DropDown = TRUE ; 150*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_LB_TRGR_TYPES ; 151*8dcb2a10SAndre Fischer StringList [ en-US ] = 152*8dcb2a10SAndre Fischer { 153*8dcb2a10SAndre Fischer < "None" ; Default ; > ; 154*8dcb2a10SAndre Fischer < "Solid" ; Default ; > ; 155*8dcb2a10SAndre Fischer < "Linear" ; Default ; > ; 156*8dcb2a10SAndre Fischer < "Axial" ; Default ; > ; 157*8dcb2a10SAndre Fischer < "Radial" ; Default ; > ; 158*8dcb2a10SAndre Fischer < "Ellipsoid" ; Default ; > ; 159*8dcb2a10SAndre Fischer < "Quadratic" ; Default ; > ; 160*8dcb2a10SAndre Fischer < "Square" ; Default ; > ; 161*8dcb2a10SAndre Fischer }; 162*8dcb2a10SAndre Fischer }; 163*8dcb2a10SAndre Fischer 164*8dcb2a10SAndre Fischer MetricField MTR_TRANSPARENT 165*8dcb2a10SAndre Fischer { 166*8dcb2a10SAndre Fischer Border = TRUE ; 167*8dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + 2*(FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 168*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( MBOX_WIDTH + 1 ,MBOX_HEIGHT ) ; 169*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRANSPARENT ; 170*8dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify 0% for fully opaque through 100% for fully transparent." ; 171*8dcb2a10SAndre Fischer TabStop = TRUE ; 172*8dcb2a10SAndre Fischer Repeat = TRUE ; 173*8dcb2a10SAndre Fischer Spin = TRUE ; 174*8dcb2a10SAndre Fischer Maximum = 100 ; 175*8dcb2a10SAndre Fischer StrictFormat = TRUE ; 176*8dcb2a10SAndre Fischer Unit = FUNIT_CUSTOM ; 177*8dcb2a10SAndre Fischer CustomUnitText = "%" ; 178*8dcb2a10SAndre Fischer Last = 100 ; 179*8dcb2a10SAndre Fischer SpinSize = 5 ; 180*8dcb2a10SAndre Fischer }; 181*8dcb2a10SAndre Fischer 182*8dcb2a10SAndre Fischer ToolBox BTN_GRADIENT 183*8dcb2a10SAndre Fischer { 184*8dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + 2*(FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; 185*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_TBX_GRADIENT ; 186*8dcb2a10SAndre Fischer SVLook = TRUE ; 187*8dcb2a10SAndre Fischer Border = FALSE ; 188*8dcb2a10SAndre Fischer TabStop = TRUE ; 189*8dcb2a10SAndre Fischer Text = "Gradient"; 190*8dcb2a10SAndre Fischer ItemList = 191*8dcb2a10SAndre Fischer { 192*8dcb2a10SAndre Fischer ToolBoxItem 193*8dcb2a10SAndre Fischer { 194*8dcb2a10SAndre Fischer Identifier = TBI_BTX_GRADIENT ; 195*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_TBI_GRADIENT ; 196*8dcb2a10SAndre Fischer ItemBitmap = Bitmap 197*8dcb2a10SAndre Fischer { 198*8dcb2a10SAndre Fischer File = "symphony/linear.png" ; 199*8dcb2a10SAndre Fischer }; 200*8dcb2a10SAndre Fischer DropDown = TRUE; 201*8dcb2a10SAndre Fischer Text = "Gradient" ; 202*8dcb2a10SAndre Fischer }; 203*8dcb2a10SAndre Fischer }; 204*8dcb2a10SAndre Fischer }; 205*8dcb2a10SAndre Fischer String STR_HELP_GRADIENT 206*8dcb2a10SAndre Fischer { 207*8dcb2a10SAndre Fischer Text [ en-US ] = "Specify the variation of gradient transparency." ; 208*8dcb2a10SAndre Fischer }; 209*8dcb2a10SAndre Fischer}; 210*8dcb2a10SAndre Fischer 211*8dcb2a10SAndre FischerControl RID_POPUPPANEL_AREAPAGE_TRGR 212*8dcb2a10SAndre Fischer{ 213*8dcb2a10SAndre Fischer OutputSize = TRUE; 214*8dcb2a10SAndre Fischer DialogControl = TRUE; 215*8dcb2a10SAndre Fischer Border = FALSE; 216*8dcb2a10SAndre Fischer 217*8dcb2a10SAndre Fischer// Size = MAP_APPFONT( POP_WIDTH, POP_HEIGHT ); 218*8dcb2a10SAndre Fischer 219*8dcb2a10SAndre Fischer FixedText FT_TRGR_CENTER_X 220*8dcb2a10SAndre Fischer { 221*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH , FIXED_TEXT_HEIGHT ) ; 222*8dcb2a10SAndre Fischer Text [ en-US ] = "Center ~X:"; 223*8dcb2a10SAndre Fischer }; 224*8dcb2a10SAndre Fischer MetricField MTR_TRGR_CENTER_X 225*8dcb2a10SAndre Fischer { 226*8dcb2a10SAndre Fischer Border = TRUE ; 227*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 228*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_X ; 229*8dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify the horizontal offset percentage from the center for the gradient shading style. 50% is the horizontal center." ; 230*8dcb2a10SAndre Fischer TabStop = TRUE ; 231*8dcb2a10SAndre Fischer Repeat = TRUE ; 232*8dcb2a10SAndre Fischer Spin = TRUE ; 233*8dcb2a10SAndre Fischer Maximum = 100 ; 234*8dcb2a10SAndre Fischer StrictFormat = TRUE ; 235*8dcb2a10SAndre Fischer Unit = FUNIT_CUSTOM ; 236*8dcb2a10SAndre Fischer CustomUnitText = "%" ; 237*8dcb2a10SAndre Fischer Last = 100 ; 238*8dcb2a10SAndre Fischer SpinSize = 5 ; 239*8dcb2a10SAndre Fischer }; 240*8dcb2a10SAndre Fischer FixedText FT_TRGR_CENTER_Y 241*8dcb2a10SAndre Fischer { 242*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;//wj 243*8dcb2a10SAndre Fischer Text [ en-US ] = "Center ~Y:"; 244*8dcb2a10SAndre Fischer }; 245*8dcb2a10SAndre Fischer MetricField MTR_TRGR_CENTER_Y 246*8dcb2a10SAndre Fischer { 247*8dcb2a10SAndre Fischer Border = TRUE ; 248*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 249*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_Y ; 250*8dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify the vertical offset percentage from the center for the gradient shading style. 50% is the vertical center." ; 251*8dcb2a10SAndre Fischer TabStop = TRUE ; 252*8dcb2a10SAndre Fischer Repeat = TRUE ; 253*8dcb2a10SAndre Fischer Spin = TRUE ; 254*8dcb2a10SAndre Fischer Maximum = 100 ; 255*8dcb2a10SAndre Fischer StrictFormat = TRUE ; 256*8dcb2a10SAndre Fischer Unit = FUNIT_CUSTOM ; 257*8dcb2a10SAndre Fischer CustomUnitText = "%" ; 258*8dcb2a10SAndre Fischer Last = 100 ; 259*8dcb2a10SAndre Fischer SpinSize = 5 ; 260*8dcb2a10SAndre Fischer }; 261*8dcb2a10SAndre Fischer FixedText FT_TRGR_ANGLE 262*8dcb2a10SAndre Fischer { 263*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ;//wj 264*8dcb2a10SAndre Fischer Text [ en-US ] = "~Angle:"; 265*8dcb2a10SAndre Fischer }; 266*8dcb2a10SAndre Fischer MetricField MTR_TRGR_ANGLE 267*8dcb2a10SAndre Fischer { 268*8dcb2a10SAndre Fischer Border = TRUE ; 269*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 270*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_ANGLE ; 271*8dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify the angle of rotation for the gradient shading style." ; 272*8dcb2a10SAndre Fischer TabStop = FALSE ; 273*8dcb2a10SAndre Fischer Repeat = TRUE ; 274*8dcb2a10SAndre Fischer Spin = TRUE ; 275*8dcb2a10SAndre Fischer Minimum = -9999 ; 276*8dcb2a10SAndre Fischer Maximum = 9999 ; 277*8dcb2a10SAndre Fischer Unit = FUNIT_CUSTOM ; 278*8dcb2a10SAndre Fischer SpinSize = 1 ; 279*8dcb2a10SAndre Fischer CustomUnitText [ en-US ] = " degrees"; 280*8dcb2a10SAndre Fischer }; 281*8dcb2a10SAndre Fischer FixedText FT_TRGR_START_VALUE 282*8dcb2a10SAndre Fischer { 283*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH , FIXED_TEXT_HEIGHT ) ; 284*8dcb2a10SAndre Fischer Text [ en-US ] = "~Start value:"; 285*8dcb2a10SAndre Fischer }; 286*8dcb2a10SAndre Fischer MetricField MTR_TRGR_START_VALUE 287*8dcb2a10SAndre Fischer { 288*8dcb2a10SAndre Fischer Border = TRUE ; 289*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 290*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_SVALUE ; 291*8dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Enter a transparency value for the beginning point of the gradient, where 0% is fully opaque and 100% is fully transparent." ; 292*8dcb2a10SAndre Fischer TabStop = TRUE ; 293*8dcb2a10SAndre Fischer Repeat = TRUE ; 294*8dcb2a10SAndre Fischer Spin = TRUE ; 295*8dcb2a10SAndre Fischer Maximum = 100 ; 296*8dcb2a10SAndre Fischer StrictFormat = TRUE ; 297*8dcb2a10SAndre Fischer Unit = FUNIT_CUSTOM ; 298*8dcb2a10SAndre Fischer CustomUnitText = "%" ; 299*8dcb2a10SAndre Fischer Last = 100 ; 300*8dcb2a10SAndre Fischer SpinSize = 5 ; 301*8dcb2a10SAndre Fischer }; 302*8dcb2a10SAndre Fischer FixedText FT_TRGR_END_VALUE 303*8dcb2a10SAndre Fischer { 304*8dcb2a10SAndre Fischer Size = MAP_APPFONT (CONTROL_WIDTH + POPUPPANEL_MARGIN_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; //wj 305*8dcb2a10SAndre Fischer Text [ en-US ] = "~End value:"; 306*8dcb2a10SAndre Fischer }; 307*8dcb2a10SAndre Fischer MetricField MTR_TRGR_END_VALUE 308*8dcb2a10SAndre Fischer { 309*8dcb2a10SAndre Fischer Border = TRUE ; 310*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 311*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_EVALUE ; 312*8dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Enter a transparency value for the endpoint of the gradient, where 0% is fully opaque and 100% is fully transparent." ; 313*8dcb2a10SAndre Fischer TabStop = TRUE ; 314*8dcb2a10SAndre Fischer Repeat = TRUE ; 315*8dcb2a10SAndre Fischer Spin = TRUE ; 316*8dcb2a10SAndre Fischer Maximum = 100 ; 317*8dcb2a10SAndre Fischer StrictFormat = TRUE ; 318*8dcb2a10SAndre Fischer Unit = FUNIT_CUSTOM ; 319*8dcb2a10SAndre Fischer CustomUnitText = "%" ; 320*8dcb2a10SAndre Fischer Last = 100 ; 321*8dcb2a10SAndre Fischer SpinSize = 5 ; 322*8dcb2a10SAndre Fischer }; 323*8dcb2a10SAndre Fischer FixedText FT_TRGR_BORDER 324*8dcb2a10SAndre Fischer { 325*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH * 2 + POPUPPANEL_MARGIN_HORIZONTAL + CONTROL_SPACING_HORIZONTAL, FIXED_TEXT_HEIGHT ) ; // 326*8dcb2a10SAndre Fischer Text [ en-US ] = "~Border:"; 327*8dcb2a10SAndre Fischer }; 328*8dcb2a10SAndre Fischer MetricField MTR_TRGR_BORDER 329*8dcb2a10SAndre Fischer { 330*8dcb2a10SAndre Fischer Border = TRUE ; 331*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( CONTROL_WIDTH , MBOX_HEIGHT ) ; 332*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_BORDER ; 333*8dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify the border value of gradient transparence." ; 334*8dcb2a10SAndre Fischer TabStop = TRUE ; 335*8dcb2a10SAndre Fischer Repeat = TRUE ; 336*8dcb2a10SAndre Fischer Spin = TRUE ; 337*8dcb2a10SAndre Fischer Maximum = 100 ; 338*8dcb2a10SAndre Fischer StrictFormat = TRUE ; 339*8dcb2a10SAndre Fischer Unit = FUNIT_CUSTOM ; 340*8dcb2a10SAndre Fischer CustomUnitText = "%" ; 341*8dcb2a10SAndre Fischer Last = 100 ; 342*8dcb2a10SAndre Fischer SpinSize = 5 ; 343*8dcb2a10SAndre Fischer }; 344*8dcb2a10SAndre Fischer //===================================================================================================================================== 345*8dcb2a10SAndre Fischer 346*8dcb2a10SAndre Fischer ToolBox BTN_LEFT_SECOND 347*8dcb2a10SAndre Fischer { 348*8dcb2a10SAndre Fischer Border = FALSE ; 349*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_BTN_LEFT_SECOND ; 350*8dcb2a10SAndre Fischer SVLook = TRUE ; 351*8dcb2a10SAndre Fischer Border = FALSE ; 352*8dcb2a10SAndre Fischer TabStop = TRUE ; 353*8dcb2a10SAndre Fischer Text = "Rotate Left"; 354*8dcb2a10SAndre Fischer ItemList = 355*8dcb2a10SAndre Fischer { 356*8dcb2a10SAndre Fischer ToolBoxItem 357*8dcb2a10SAndre Fischer { 358*8dcb2a10SAndre Fischer Identifier = TBI_LEFT ; 359*8dcb2a10SAndre Fischer Text = "Rotate Left" ; 360*8dcb2a10SAndre Fischer ItemBitmap = Bitmap 361*8dcb2a10SAndre Fischer { 362*8dcb2a10SAndre Fischer // File = "symphony/rotate_left.png" ; 363*8dcb2a10SAndre Fischer }; 364*8dcb2a10SAndre Fischer }; 365*8dcb2a10SAndre Fischer }; 366*8dcb2a10SAndre Fischer }; 367*8dcb2a10SAndre Fischer ToolBox BTN_RIGHT_FIRST 368*8dcb2a10SAndre Fischer { 369*8dcb2a10SAndre Fischer Border = FALSE ; 370*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_BTN_RIGHT_FIRST ; 371*8dcb2a10SAndre Fischer SVLook = TRUE ; 372*8dcb2a10SAndre Fischer Border = FALSE ; 373*8dcb2a10SAndre Fischer TabStop = TRUE ; 374*8dcb2a10SAndre Fischer Text = "Rotate Right"; 375*8dcb2a10SAndre Fischer ItemList = 376*8dcb2a10SAndre Fischer { 377*8dcb2a10SAndre Fischer ToolBoxItem 378*8dcb2a10SAndre Fischer { 379*8dcb2a10SAndre Fischer Identifier = TBI_RIGHT ; 380*8dcb2a10SAndre Fischer Text = "Rotate Right" ; 381*8dcb2a10SAndre Fischer ItemBitmap = Bitmap 382*8dcb2a10SAndre Fischer { 383*8dcb2a10SAndre Fischer // File = "symphony/rotate_right.png" ; 384*8dcb2a10SAndre Fischer }; 385*8dcb2a10SAndre Fischer }; 386*8dcb2a10SAndre Fischer }; 387*8dcb2a10SAndre Fischer }; 388*8dcb2a10SAndre Fischer String STR_HELP_LEFT 389*8dcb2a10SAndre Fischer { 390*8dcb2a10SAndre Fischer Text [ en-US ] = "Rotate counterclockwise by 45 degrees." ; 391*8dcb2a10SAndre Fischer }; 392*8dcb2a10SAndre Fischer String STR_HELP_RIGHT 393*8dcb2a10SAndre Fischer { 394*8dcb2a10SAndre Fischer Text [ en-US ] = "Rotate clockwise by 45 degrees." ; 395*8dcb2a10SAndre Fischer }; 396*8dcb2a10SAndre Fischer Image IMG_ROT_LEFT 397*8dcb2a10SAndre Fischer { 398*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/rotate_left.png";}; 399*8dcb2a10SAndre Fischer }; 400*8dcb2a10SAndre Fischer Image IMG_ROT_RIGHT 401*8dcb2a10SAndre Fischer { 402*8dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/rotate_right.png";}; 403*8dcb2a10SAndre Fischer }; 404*8dcb2a10SAndre Fischer}; 405*8dcb2a10SAndre FischerControl RID_POPUPPANEL_AERAPAGE_COLOR 406*8dcb2a10SAndre Fischer{ 407*8dcb2a10SAndre Fischer OutputSize = TRUE; 408*8dcb2a10SAndre Fischer DialogControl = TRUE; 409*8dcb2a10SAndre Fischer Border = FALSE; 410*8dcb2a10SAndre Fischer Size = MAP_APPFONT( POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT ); 411*8dcb2a10SAndre Fischer 412*8dcb2a10SAndre Fischer Control VS_COLOR 413*8dcb2a10SAndre Fischer { 414*8dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_AREA_COLOR_VS; 415*8dcb2a10SAndre Fischer Hide = TRUE ; 416*8dcb2a10SAndre Fischer Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y ); 417*8dcb2a10SAndre Fischer Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2); 418*8dcb2a10SAndre Fischer TabStop = TRUE ; 419*8dcb2a10SAndre Fischer Text = "Color"; 420*8dcb2a10SAndre Fischer }; 421*8dcb2a10SAndre Fischer}; 422*8dcb2a10SAndre Fischer 423*8dcb2a10SAndre Fischer// eof 424