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 "HelpIds.hrc" 28*cdf0e10cSrcweir#include "tp_Scale.hrc" 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir#define YLine1 3 31*cdf0e10cSrcweir#define Y1 (YLine1+13) 32*cdf0e10cSrcweir#define Y2 (Y1+16) 33*cdf0e10cSrcweir#define Y3 (Y2+16) 34*cdf0e10cSrcweir#define Y4 (Y3+16) 35*cdf0e10cSrcweir#define Y5 (Y4+16) 36*cdf0e10cSrcweir#define Y6 (Y5+16) 37*cdf0e10cSrcweir#define Y7 (Y6+16) 38*cdf0e10cSrcweir#define Y8 (Y7+16) 39*cdf0e10cSrcweir 40*cdf0e10cSrcweir#define LABELWIDTH 88 41*cdf0e10cSrcweir#define AUTOCHECKWIDTH 41 42*cdf0e10cSrcweir#define EDITWIDTH 50 43*cdf0e10cSrcweir#define X1 6 44*cdf0e10cSrcweir#define X2 11 45*cdf0e10cSrcweir#define X3 (X2+LABELWIDTH+4) 46*cdf0e10cSrcweir#define X4 (X3+EDITWIDTH+5) 47*cdf0e10cSrcweir#define X5 (X4+AUTOCHECKWIDTH+5) 48*cdf0e10cSrcweir 49*cdf0e10cSrcweir#define STR_LIST_TIME_UNIT \ 50*cdf0e10cSrcweir StringList [ en-US ] = \ 51*cdf0e10cSrcweir { \ 52*cdf0e10cSrcweir "Days" ; \ 53*cdf0e10cSrcweir "Months" ; \ 54*cdf0e10cSrcweir "Years" ; \ 55*cdf0e10cSrcweir }; 56*cdf0e10cSrcweir 57*cdf0e10cSrcweirTabPage TP_SCALE 58*cdf0e10cSrcweir{ 59*cdf0e10cSrcweir HelpID = "chart2:TabPage:TP_SCALE"; 60*cdf0e10cSrcweir Hide = TRUE ; 61*cdf0e10cSrcweir SVLook = TRUE ; 62*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 63*cdf0e10cSrcweir 64*cdf0e10cSrcweir FixedLine FL_SCALE 65*cdf0e10cSrcweir { 66*cdf0e10cSrcweir Pos = MAP_APPFONT ( X1 , YLine1 ) ; 67*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 68*cdf0e10cSrcweir Text [ en-US ] = "Scale" ; 69*cdf0e10cSrcweir }; 70*cdf0e10cSrcweir //--------------------------- 71*cdf0e10cSrcweir CheckBox CBX_REVERSE 72*cdf0e10cSrcweir { 73*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_SCALE:CBX_REVERSE:ValueAxis"; 74*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y1 ) ; 75*cdf0e10cSrcweir Size = MAP_APPFONT ( 244 , 10 ) ; 76*cdf0e10cSrcweir TabStop = TRUE ; 77*cdf0e10cSrcweir Text [ en-US ] = "~Reverse direction" ; 78*cdf0e10cSrcweir }; 79*cdf0e10cSrcweir //--------------------------- 80*cdf0e10cSrcweir CheckBox CBX_LOGARITHM 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_SCALE:CBX_LOGARITHM"; 83*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y2 ) ; 84*cdf0e10cSrcweir Size = MAP_APPFONT ( 244 , 10 ) ; 85*cdf0e10cSrcweir TabStop = TRUE ; 86*cdf0e10cSrcweir Text [ en-US ] = "~Logarithmic scale" ; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir //--------------------------- 89*cdf0e10cSrcweir FixedText TXT_AXIS_TYPE 90*cdf0e10cSrcweir { 91*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y2 ) ; 92*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 93*cdf0e10cSrcweir Text [ en-US ] = "T~ype" ; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir ListBox LB_AXIS_TYPE 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir HelpID = "chart2:ListBox:TP_SCALE:LB_AXIS_TYPE"; 98*cdf0e10cSrcweir Border = TRUE ; 99*cdf0e10cSrcweir AutoHScroll = TRUE ; 100*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y2-2 ) ; 101*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 102*cdf0e10cSrcweir TabStop = TRUE ; 103*cdf0e10cSrcweir Group = TRUE ; 104*cdf0e10cSrcweir DropDown=TRUE; 105*cdf0e10cSrcweir DDExtraWidth = TRUE ; 106*cdf0e10cSrcweir 107*cdf0e10cSrcweir StringList [ en-US ] = 108*cdf0e10cSrcweir { 109*cdf0e10cSrcweir "Automatic" ; 110*cdf0e10cSrcweir "Text" ; 111*cdf0e10cSrcweir "Date" ; 112*cdf0e10cSrcweir }; 113*cdf0e10cSrcweir }; 114*cdf0e10cSrcweir //--------------------------- 115*cdf0e10cSrcweir FixedText TXT_MIN 116*cdf0e10cSrcweir { 117*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y3 ) ; 118*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 119*cdf0e10cSrcweir Text [ en-US ] = "~Minimum" ; 120*cdf0e10cSrcweir }; 121*cdf0e10cSrcweir SpinField EDT_MIN 122*cdf0e10cSrcweir { 123*cdf0e10cSrcweir HelpID = "chart2:SpinField:TP_SCALE:EDT_MIN"; 124*cdf0e10cSrcweir Border = TRUE ; 125*cdf0e10cSrcweir SVLook = TRUE ; 126*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y3-2 ) ; 127*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 128*cdf0e10cSrcweir TabStop = TRUE ; 129*cdf0e10cSrcweir }; 130*cdf0e10cSrcweir CheckBox CBX_AUTO_MIN 131*cdf0e10cSrcweir { 132*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_SCALE:CBX_AUTO_MIN"; 133*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y3+1 ) ; 134*cdf0e10cSrcweir Size = MAP_APPFONT ( AUTOCHECKWIDTH , 10 ) ; 135*cdf0e10cSrcweir TabStop = TRUE ; 136*cdf0e10cSrcweir Text [ en-US ] = "~Automatic" ; 137*cdf0e10cSrcweir }; 138*cdf0e10cSrcweir //--------------------------- 139*cdf0e10cSrcweir FixedText TXT_MAX 140*cdf0e10cSrcweir { 141*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y4 ) ; 142*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 143*cdf0e10cSrcweir Text [ en-US ] = "Ma~ximum" ; 144*cdf0e10cSrcweir }; 145*cdf0e10cSrcweir SpinField EDT_MAX 146*cdf0e10cSrcweir { 147*cdf0e10cSrcweir HelpID = "chart2:SpinField:TP_SCALE:EDT_MAX"; 148*cdf0e10cSrcweir Border = TRUE ; 149*cdf0e10cSrcweir SVLook = TRUE ; 150*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y4-2 ) ; 151*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 152*cdf0e10cSrcweir TabStop = TRUE ; 153*cdf0e10cSrcweir }; 154*cdf0e10cSrcweir CheckBox CBX_AUTO_MAX 155*cdf0e10cSrcweir { 156*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_SCALE:CBX_AUTO_MAX"; 157*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y4+1 ) ; 158*cdf0e10cSrcweir Size = MAP_APPFONT ( AUTOCHECKWIDTH , 10 ) ; 159*cdf0e10cSrcweir TabStop = TRUE ; 160*cdf0e10cSrcweir Text [ en-US ] = "A~utomatic" ; 161*cdf0e10cSrcweir }; 162*cdf0e10cSrcweir //--------------------------- 163*cdf0e10cSrcweir FixedText TXT_TIME_RESOLUTION 164*cdf0e10cSrcweir { 165*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y5 ) ; 166*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 167*cdf0e10cSrcweir Text [ en-US ] = "R~esolution" ; 168*cdf0e10cSrcweir }; 169*cdf0e10cSrcweir ListBox LB_TIME_RESOLUTION 170*cdf0e10cSrcweir { 171*cdf0e10cSrcweir HelpID = "chart2:ListBox:TP_SCALE:LB_TIME_RESOLUTION"; 172*cdf0e10cSrcweir Border = TRUE ; 173*cdf0e10cSrcweir AutoHScroll = TRUE ; 174*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y5-2 ) ; 175*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 176*cdf0e10cSrcweir TabStop = TRUE ; 177*cdf0e10cSrcweir Group = TRUE ; 178*cdf0e10cSrcweir DropDown=TRUE; 179*cdf0e10cSrcweir DDExtraWidth = TRUE ; 180*cdf0e10cSrcweir 181*cdf0e10cSrcweir STR_LIST_TIME_UNIT 182*cdf0e10cSrcweir }; 183*cdf0e10cSrcweir CheckBox CBX_AUTO_TIME_RESOLUTION 184*cdf0e10cSrcweir { 185*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_SCALE:CBX_AUTO_TIME_RESOLUTION"; 186*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y5+1 ) ; 187*cdf0e10cSrcweir Size = MAP_APPFONT ( AUTOCHECKWIDTH , 10 ) ; 188*cdf0e10cSrcweir TabStop = TRUE ; 189*cdf0e10cSrcweir Text [ en-US ] = "Automat~ic" ; 190*cdf0e10cSrcweir }; 191*cdf0e10cSrcweir //--------------------------- 192*cdf0e10cSrcweir FixedText TXT_STEP_MAIN 193*cdf0e10cSrcweir { 194*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y5 ) ; 195*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 196*cdf0e10cSrcweir Text [ en-US ] = "Ma~jor interval" ; 197*cdf0e10cSrcweir }; 198*cdf0e10cSrcweir SpinField EDT_STEP_MAIN 199*cdf0e10cSrcweir { 200*cdf0e10cSrcweir HelpID = "chart2:SpinField:TP_SCALE:EDT_STEP_MAIN"; 201*cdf0e10cSrcweir Border = TRUE ; 202*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y5-2 ) ; 203*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 204*cdf0e10cSrcweir TabStop = TRUE ; 205*cdf0e10cSrcweir }; 206*cdf0e10cSrcweir MetricField MT_MAIN_DATE_STEP 207*cdf0e10cSrcweir { 208*cdf0e10cSrcweir HelpID = "chart2:MetricField:TP_SCALE:MT_MAIN_DATE_STEP"; 209*cdf0e10cSrcweir Border = TRUE ; 210*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y6-2 ) ; 211*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 212*cdf0e10cSrcweir TabStop = TRUE ; 213*cdf0e10cSrcweir Repeat = TRUE ; 214*cdf0e10cSrcweir Spin = TRUE ; 215*cdf0e10cSrcweir Minimum = 1 ; 216*cdf0e10cSrcweir Maximum = 100000 ; 217*cdf0e10cSrcweir StrictFormat = TRUE ; 218*cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 219*cdf0e10cSrcweir First = 1 ; 220*cdf0e10cSrcweir Last = 100000 ; 221*cdf0e10cSrcweir SpinSize = 1 ; 222*cdf0e10cSrcweir }; 223*cdf0e10cSrcweir 224*cdf0e10cSrcweir ListBox LB_MAIN_TIME_UNIT 225*cdf0e10cSrcweir { 226*cdf0e10cSrcweir HelpID = "chart2:ListBox:TP_SCALE:LB_MAIN_TIME_UNIT"; 227*cdf0e10cSrcweir Border = TRUE ; 228*cdf0e10cSrcweir AutoHScroll = TRUE ; 229*cdf0e10cSrcweir Pos = MAP_APPFONT ( X5 , Y6-2 ) ; 230*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 231*cdf0e10cSrcweir TabStop = TRUE ; 232*cdf0e10cSrcweir Group = TRUE ; 233*cdf0e10cSrcweir DropDown=TRUE; 234*cdf0e10cSrcweir DDExtraWidth = TRUE ; 235*cdf0e10cSrcweir 236*cdf0e10cSrcweir STR_LIST_TIME_UNIT 237*cdf0e10cSrcweir }; 238*cdf0e10cSrcweir 239*cdf0e10cSrcweir CheckBox CBX_AUTO_STEP_MAIN 240*cdf0e10cSrcweir { 241*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_SCALE:CBX_AUTO_STEP_MAIN"; 242*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y5+1 ) ; 243*cdf0e10cSrcweir Size = MAP_APPFONT ( AUTOCHECKWIDTH , 10 ) ; 244*cdf0e10cSrcweir TabStop = TRUE ; 245*cdf0e10cSrcweir Text [ en-US ] = "Au~tomatic" ; 246*cdf0e10cSrcweir }; 247*cdf0e10cSrcweir //--------------------------- 248*cdf0e10cSrcweir FixedText TXT_STEP_HELP_COUNT 249*cdf0e10cSrcweir { 250*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y6 ) ; 251*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 252*cdf0e10cSrcweir Text [ en-US ] = "Minor inter~val count" ; 253*cdf0e10cSrcweir }; 254*cdf0e10cSrcweir FixedText TXT_STEP_HELP 255*cdf0e10cSrcweir { 256*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y7 ) ; 257*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 258*cdf0e10cSrcweir Text [ en-US ] = "Minor inter~val" ; 259*cdf0e10cSrcweir }; 260*cdf0e10cSrcweir MetricField MT_STEPHELP 261*cdf0e10cSrcweir { 262*cdf0e10cSrcweir HelpID = "chart2:MetricField:TP_SCALE:MT_STEPHELP"; 263*cdf0e10cSrcweir Border = TRUE ; 264*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y6-2 ) ; 265*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 266*cdf0e10cSrcweir TabStop = TRUE ; 267*cdf0e10cSrcweir Repeat = TRUE ; 268*cdf0e10cSrcweir Spin = TRUE ; 269*cdf0e10cSrcweir Minimum = 1 ; 270*cdf0e10cSrcweir Maximum = 100 ; 271*cdf0e10cSrcweir StrictFormat = TRUE ; 272*cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 273*cdf0e10cSrcweir First = 1 ; 274*cdf0e10cSrcweir Last = 100 ; 275*cdf0e10cSrcweir SpinSize = 1 ; 276*cdf0e10cSrcweir }; 277*cdf0e10cSrcweir ListBox LB_HELP_TIME_UNIT 278*cdf0e10cSrcweir { 279*cdf0e10cSrcweir HelpID = "chart2:ListBox:TP_SCALE:LB_HELP_TIME_UNIT"; 280*cdf0e10cSrcweir Border = TRUE ; 281*cdf0e10cSrcweir AutoHScroll = TRUE ; 282*cdf0e10cSrcweir Pos = MAP_APPFONT ( X5 , Y7-2 ) ; 283*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 284*cdf0e10cSrcweir TabStop = TRUE ; 285*cdf0e10cSrcweir Group = TRUE ; 286*cdf0e10cSrcweir DropDown=TRUE; 287*cdf0e10cSrcweir DDExtraWidth = TRUE ; 288*cdf0e10cSrcweir 289*cdf0e10cSrcweir STR_LIST_TIME_UNIT 290*cdf0e10cSrcweir }; 291*cdf0e10cSrcweir CheckBox CBX_AUTO_STEP_HELP 292*cdf0e10cSrcweir { 293*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_SCALE:CBX_AUTO_STEP_HELP"; 294*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y6+1 ) ; 295*cdf0e10cSrcweir Size = MAP_APPFONT ( AUTOCHECKWIDTH , 10 ) ; 296*cdf0e10cSrcweir TabStop = TRUE ; 297*cdf0e10cSrcweir Text [ en-US ] = "Aut~omatic" ; 298*cdf0e10cSrcweir }; 299*cdf0e10cSrcweir //--------------------------- 300*cdf0e10cSrcweir FixedText TXT_ORIGIN 301*cdf0e10cSrcweir { 302*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y7 ) ; 303*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 304*cdf0e10cSrcweir Text [ en-US ] = "Re~ference value" ; 305*cdf0e10cSrcweir }; 306*cdf0e10cSrcweir SpinField EDT_ORIGIN 307*cdf0e10cSrcweir { 308*cdf0e10cSrcweir HelpID = "chart2:SpinField:TP_SCALE:EDT_ORIGIN"; 309*cdf0e10cSrcweir Border = TRUE ; 310*cdf0e10cSrcweir SVLook = TRUE ; 311*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y7-2 ) ; 312*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 313*cdf0e10cSrcweir TabStop = TRUE ; 314*cdf0e10cSrcweir }; 315*cdf0e10cSrcweir CheckBox CBX_AUTO_ORIGIN 316*cdf0e10cSrcweir { 317*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_SCALE:CBX_AUTO_ORIGIN"; 318*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y7+1 ) ; 319*cdf0e10cSrcweir Size = MAP_APPFONT ( AUTOCHECKWIDTH , 10 ) ; 320*cdf0e10cSrcweir TabStop = TRUE ; 321*cdf0e10cSrcweir Text [ en-US ] = "Automat~ic" ; 322*cdf0e10cSrcweir }; 323*cdf0e10cSrcweir //--------------------------- 324*cdf0e10cSrcweir}; 325