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 "TabPages.hrc" 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir#define Y0 3 31*cdf0e10cSrcweir#define Y1 (Y0+13) 32*cdf0e10cSrcweir#define Y2 (Y1) 33*cdf0e10cSrcweir#define Y3 (Y2+16) 34*cdf0e10cSrcweir#define Y4 (Y3+13) 35*cdf0e10cSrcweir#define Y5 (Y4) 36*cdf0e10cSrcweir#define Y6 (Y5+16) 37*cdf0e10cSrcweir#define Y7 (Y6+13) 38*cdf0e10cSrcweir#define Y8 (Y7+16) 39*cdf0e10cSrcweir#define Y9 (Y8+16) 40*cdf0e10cSrcweir#define Y10 (Y9+16) 41*cdf0e10cSrcweir#define Y11 (Y10+13) 42*cdf0e10cSrcweir#define Y12 (Y11+16) 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir#define EDITWIDTH 50 45*cdf0e10cSrcweir#define LABELWIDTH 88 46*cdf0e10cSrcweir#define MAXLABELWIDTH 138 47*cdf0e10cSrcweir 48*cdf0e10cSrcweir#define X1 6 49*cdf0e10cSrcweir#define X2 11 50*cdf0e10cSrcweir#define X3 (X2+LABELWIDTH+4) 51*cdf0e10cSrcweir#define X4 (X2+MAXLABELWIDTH+4) 52*cdf0e10cSrcweir#define X5 (X4+EDITWIDTH+5) 53*cdf0e10cSrcweir 54*cdf0e10cSrcweir#define XTICK_1 X2 55*cdf0e10cSrcweir#define XTICK_2 (XTICK_1+60) 56*cdf0e10cSrcweir#define XTICK_3 (XTICK_2+60) 57*cdf0e10cSrcweir#define XTICK_4 (XTICK_3+60) 58*cdf0e10cSrcweir#define XTICK_5 (XTICK_4+6) 59*cdf0e10cSrcweir#define TICKWIDTH 59 60*cdf0e10cSrcweir 61*cdf0e10cSrcweirTabPage TP_AXIS_POSITIONS 62*cdf0e10cSrcweir{ 63*cdf0e10cSrcweir HelpID = "chart2:TabPage:TP_AXIS_POSITIONS"; 64*cdf0e10cSrcweir Hide = TRUE ; 65*cdf0e10cSrcweir SVLook = TRUE ; 66*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 67*cdf0e10cSrcweir 68*cdf0e10cSrcweir FixedLine FL_AXIS_LINE 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir Pos = MAP_APPFONT ( X1 , Y0 ) ; 71*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 72*cdf0e10cSrcweir Text [ en-US ] = "Axis line" ; 73*cdf0e10cSrcweir }; 74*cdf0e10cSrcweir 75*cdf0e10cSrcweir FixedText FT_CROSSES_OTHER_AXIS_AT 76*cdf0e10cSrcweir { 77*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y1 ) ; 78*cdf0e10cSrcweir Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ; 79*cdf0e10cSrcweir Text [ en-US ] = "~Cross other axis at" ; 80*cdf0e10cSrcweir }; 81*cdf0e10cSrcweir ListBox LB_CROSSES_OTHER_AXIS_AT 82*cdf0e10cSrcweir { 83*cdf0e10cSrcweir HelpID = "chart2:ListBox:TP_AXIS_POSITIONS:LB_CROSSES_OTHER_AXIS_AT"; 84*cdf0e10cSrcweir Border = TRUE ; 85*cdf0e10cSrcweir AutoHScroll = TRUE ; 86*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y1-2 ) ; 87*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 88*cdf0e10cSrcweir TabStop = TRUE ; 89*cdf0e10cSrcweir Group = TRUE ; 90*cdf0e10cSrcweir DropDown=TRUE; 91*cdf0e10cSrcweir DDExtraWidth = TRUE ; 92*cdf0e10cSrcweir 93*cdf0e10cSrcweir StringList [ en-US ] = 94*cdf0e10cSrcweir { 95*cdf0e10cSrcweir "Start" ; 96*cdf0e10cSrcweir "End" ; 97*cdf0e10cSrcweir "Value" ; 98*cdf0e10cSrcweir "Category" ; 99*cdf0e10cSrcweir }; 100*cdf0e10cSrcweir }; 101*cdf0e10cSrcweir SpinField EDT_CROSSES_OTHER_AXIS_AT 102*cdf0e10cSrcweir { 103*cdf0e10cSrcweir HelpID = "chart2:SpinField:TP_AXIS_POSITIONS:EDT_CROSSES_OTHER_AXIS_AT"; 104*cdf0e10cSrcweir Border = TRUE ; 105*cdf0e10cSrcweir SVLook = TRUE ; 106*cdf0e10cSrcweir Pos = MAP_APPFONT ( X5 , Y1-2 ) ; 107*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 108*cdf0e10cSrcweir TabStop = TRUE ; 109*cdf0e10cSrcweir }; 110*cdf0e10cSrcweir ComboBox EDT_CROSSES_OTHER_AXIS_AT_CATEGORY 111*cdf0e10cSrcweir { 112*cdf0e10cSrcweir HelpID = "chart2:ComboBox:TP_AXIS_POSITIONS:EDT_CROSSES_OTHER_AXIS_AT_CATEGORY"; 113*cdf0e10cSrcweir Border = TRUE ; 114*cdf0e10cSrcweir SVLook = TRUE ; 115*cdf0e10cSrcweir Pos = MAP_APPFONT ( X5 , Y1-2 ) ; 116*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 117*cdf0e10cSrcweir DropDown = TRUE ; 118*cdf0e10cSrcweir TabStop = TRUE ; 119*cdf0e10cSrcweir }; 120*cdf0e10cSrcweir 121*cdf0e10cSrcweir CheckBox CB_AXIS_BETWEEN_CATEGORIES 122*cdf0e10cSrcweir { 123*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_AXIS_BETWEEN_CATEGORIES"; 124*cdf0e10cSrcweir Hide = TRUE; 125*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y2 ) ; 126*cdf0e10cSrcweir Size = MAP_APPFONT ( 150 , 10 ) ; 127*cdf0e10cSrcweir TabStop = TRUE ; 128*cdf0e10cSrcweir Text [ en-US ] = "Axis ~between categories" ; 129*cdf0e10cSrcweir }; 130*cdf0e10cSrcweir 131*cdf0e10cSrcweir FixedLine FL_LABELS 132*cdf0e10cSrcweir { 133*cdf0e10cSrcweir Pos = MAP_APPFONT ( X1 , Y3 ) ; 134*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 135*cdf0e10cSrcweir Text [ en-US ] = "Labels" ; 136*cdf0e10cSrcweir }; 137*cdf0e10cSrcweir FixedText FT_PLACE_LABELS 138*cdf0e10cSrcweir { 139*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y4 ) ; 140*cdf0e10cSrcweir Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ; 141*cdf0e10cSrcweir Text [ en-US ] = "~Place labels" ; 142*cdf0e10cSrcweir }; 143*cdf0e10cSrcweir ListBox LB_PLACE_LABELS 144*cdf0e10cSrcweir { 145*cdf0e10cSrcweir HelpID = "chart2:ListBox:TP_AXIS_POSITIONS:LB_PLACE_LABELS"; 146*cdf0e10cSrcweir Border = TRUE ; 147*cdf0e10cSrcweir AutoHScroll = TRUE ; 148*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y4-2 ) ; 149*cdf0e10cSrcweir Size = MAP_APPFONT ( 89 , 12 ) ; 150*cdf0e10cSrcweir TabStop = TRUE ; 151*cdf0e10cSrcweir Group = TRUE ; 152*cdf0e10cSrcweir DropDown=TRUE; 153*cdf0e10cSrcweir DDExtraWidth = TRUE ; 154*cdf0e10cSrcweir 155*cdf0e10cSrcweir StringList [ en-US ] = 156*cdf0e10cSrcweir { 157*cdf0e10cSrcweir "Near axis" ; 158*cdf0e10cSrcweir "Near axis (other side)" ; 159*cdf0e10cSrcweir "Outside start" ; 160*cdf0e10cSrcweir "Outside end" ; 161*cdf0e10cSrcweir }; 162*cdf0e10cSrcweir }; 163*cdf0e10cSrcweir 164*cdf0e10cSrcweir FixedText FT_AXIS_LABEL_DISTANCE 165*cdf0e10cSrcweir { 166*cdf0e10cSrcweir Hide = TRUE; 167*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y5 ) ; 168*cdf0e10cSrcweir Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ; 169*cdf0e10cSrcweir Text [ en-US ] = "~Distance" ; 170*cdf0e10cSrcweir }; 171*cdf0e10cSrcweir SpinField EDT_AXIS_LABEL_DISTANCE 172*cdf0e10cSrcweir { 173*cdf0e10cSrcweir HelpID = "chart2:SpinField:TP_AXIS_POSITIONS:EDT_AXIS_LABEL_DISTANCE"; 174*cdf0e10cSrcweir Hide = TRUE; 175*cdf0e10cSrcweir Border = TRUE ; 176*cdf0e10cSrcweir SVLook = TRUE ; 177*cdf0e10cSrcweir Pos = MAP_APPFONT ( X4 , Y5-2 ) ; 178*cdf0e10cSrcweir Size = MAP_APPFONT ( 89 , 12 ) ; 179*cdf0e10cSrcweir TabStop = TRUE ; 180*cdf0e10cSrcweir }; 181*cdf0e10cSrcweir 182*cdf0e10cSrcweir FixedLine FL_TICKS 183*cdf0e10cSrcweir { 184*cdf0e10cSrcweir Pos = MAP_APPFONT ( X1 , Y6 ) ; 185*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 186*cdf0e10cSrcweir Text[ en-US ] = "Interval marks"; 187*cdf0e10cSrcweir }; 188*cdf0e10cSrcweir FixedText FT_MAJOR 189*cdf0e10cSrcweir { 190*cdf0e10cSrcweir Pos = MAP_APPFONT ( XTICK_1 , Y7 ) ; 191*cdf0e10cSrcweir Size = MAP_APPFONT ( TICKWIDTH , 8 ) ; 192*cdf0e10cSrcweir Text [ en-US ] = "Major:" ; 193*cdf0e10cSrcweir }; 194*cdf0e10cSrcweir CheckBox CB_TICKS_INNER 195*cdf0e10cSrcweir { 196*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_TICKS_INNER"; 197*cdf0e10cSrcweir Pos = MAP_APPFONT ( XTICK_2 , Y7 ) ; 198*cdf0e10cSrcweir Size = MAP_APPFONT ( TICKWIDTH , 10 ) ; 199*cdf0e10cSrcweir Text [ en-US ] = "~Inner"; 200*cdf0e10cSrcweir }; 201*cdf0e10cSrcweir CheckBox CB_TICKS_OUTER 202*cdf0e10cSrcweir { 203*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_TICKS_OUTER"; 204*cdf0e10cSrcweir Pos = MAP_APPFONT ( XTICK_3 , Y7 ) ; 205*cdf0e10cSrcweir Size = MAP_APPFONT ( TICKWIDTH , 10 ) ; 206*cdf0e10cSrcweir Text [ en-US ] = "~Outer"; 207*cdf0e10cSrcweir }; 208*cdf0e10cSrcweir 209*cdf0e10cSrcweir FixedText FT_MINOR 210*cdf0e10cSrcweir { 211*cdf0e10cSrcweir Pos = MAP_APPFONT ( XTICK_1 , Y8 ) ; 212*cdf0e10cSrcweir Size = MAP_APPFONT ( TICKWIDTH , 8 ) ; 213*cdf0e10cSrcweir Text [ en-US ] = "Minor:" ; 214*cdf0e10cSrcweir }; 215*cdf0e10cSrcweir CheckBox CB_MINOR_INNER 216*cdf0e10cSrcweir { 217*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_MINOR_INNER"; 218*cdf0e10cSrcweir Pos = MAP_APPFONT ( XTICK_2 , Y8 ); 219*cdf0e10cSrcweir Size = MAP_APPFONT ( TICKWIDTH , 10 ) ; 220*cdf0e10cSrcweir Text [ en-US ] = "I~nner"; 221*cdf0e10cSrcweir }; 222*cdf0e10cSrcweir CheckBox CB_MINOR_OUTER 223*cdf0e10cSrcweir { 224*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_MINOR_OUTER"; 225*cdf0e10cSrcweir Pos = MAP_APPFONT ( XTICK_3 , Y8 ) ; 226*cdf0e10cSrcweir Size = MAP_APPFONT ( TICKWIDTH , 10 ) ; 227*cdf0e10cSrcweir Text [ en-US ] = "O~uter"; 228*cdf0e10cSrcweir }; 229*cdf0e10cSrcweir 230*cdf0e10cSrcweir FixedLine FL_VERTICAL 231*cdf0e10cSrcweir { 232*cdf0e10cSrcweir Hide = TRUE ; 233*cdf0e10cSrcweir Pos = MAP_APPFONT ( XTICK_4 , Y7 ) ; 234*cdf0e10cSrcweir Size = MAP_APPFONT ( 6 , 25 ) ; 235*cdf0e10cSrcweir Vert = TRUE ; 236*cdf0e10cSrcweir }; 237*cdf0e10cSrcweir 238*cdf0e10cSrcweir FixedText FT_PLACE_TICKS 239*cdf0e10cSrcweir { 240*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y9 ); 241*cdf0e10cSrcweir Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 242*cdf0e10cSrcweir Text [ en-US ] = "Place ~marks"; 243*cdf0e10cSrcweir }; 244*cdf0e10cSrcweir ListBox LB_PLACE_TICKS 245*cdf0e10cSrcweir { 246*cdf0e10cSrcweir HelpID = "chart2:ListBox:TP_AXIS_POSITIONS:LB_PLACE_TICKS"; 247*cdf0e10cSrcweir Border = TRUE ; 248*cdf0e10cSrcweir AutoHScroll = TRUE ; 249*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y9-2 ) ; 250*cdf0e10cSrcweir Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 251*cdf0e10cSrcweir TabStop = TRUE ; 252*cdf0e10cSrcweir Group = TRUE ; 253*cdf0e10cSrcweir DropDown=TRUE; 254*cdf0e10cSrcweir DDExtraWidth = TRUE ; 255*cdf0e10cSrcweir 256*cdf0e10cSrcweir StringList [ en-US ] = 257*cdf0e10cSrcweir { 258*cdf0e10cSrcweir "At labels" ; 259*cdf0e10cSrcweir "At axis" ; 260*cdf0e10cSrcweir "At axis and labels" ; 261*cdf0e10cSrcweir }; 262*cdf0e10cSrcweir }; 263*cdf0e10cSrcweir 264*cdf0e10cSrcweir 265*cdf0e10cSrcweir FixedLine FL_GRIDS 266*cdf0e10cSrcweir { 267*cdf0e10cSrcweir Hide = TRUE ; 268*cdf0e10cSrcweir Pos = MAP_APPFONT ( X1 , Y10 ) ; 269*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 270*cdf0e10cSrcweir Text[ en-US ] = "Grids"; 271*cdf0e10cSrcweir }; 272*cdf0e10cSrcweir CheckBox CB_MAJOR_GRID 273*cdf0e10cSrcweir { 274*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_MAJOR_GRID"; 275*cdf0e10cSrcweir Hide = TRUE ; 276*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y11 ) ; 277*cdf0e10cSrcweir Size = MAP_APPFONT ( 150 , 10 ) ; 278*cdf0e10cSrcweir TabStop = TRUE ; 279*cdf0e10cSrcweir Text [ en-US ] = "Show major ~grid" ; 280*cdf0e10cSrcweir }; 281*cdf0e10cSrcweir PushButton PB_MAJOR_GRID 282*cdf0e10cSrcweir { 283*cdf0e10cSrcweir HelpID = "chart2:PushButton:TP_AXIS_POSITIONS:PB_MAJOR_GRID"; 284*cdf0e10cSrcweir Hide = TRUE ; 285*cdf0e10cSrcweir TabStop = TRUE; 286*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y11-2 ); 287*cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 14 ); 288*cdf0e10cSrcweir Text [ en-US ] = "Mo~re..."; 289*cdf0e10cSrcweir }; 290*cdf0e10cSrcweir CheckBox CB_MINOR_GRID 291*cdf0e10cSrcweir { 292*cdf0e10cSrcweir HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_MINOR_GRID"; 293*cdf0e10cSrcweir Hide = TRUE ; 294*cdf0e10cSrcweir Pos = MAP_APPFONT ( X2 , Y12 ) ; 295*cdf0e10cSrcweir Size = MAP_APPFONT ( 150 , 10 ) ; 296*cdf0e10cSrcweir TabStop = TRUE ; 297*cdf0e10cSrcweir Text [ en-US ] = "~Show minor grid" ; 298*cdf0e10cSrcweir }; 299*cdf0e10cSrcweir PushButton PB_MINOR_GRID 300*cdf0e10cSrcweir { 301*cdf0e10cSrcweir HelpID = "chart2:PushButton:TP_AXIS_POSITIONS:PB_MINOR_GRID"; 302*cdf0e10cSrcweir Hide = TRUE ; 303*cdf0e10cSrcweir TabStop = TRUE; 304*cdf0e10cSrcweir Pos = MAP_APPFONT ( X3 , Y12-2 ); 305*cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 14 ); 306*cdf0e10cSrcweir Text [ en-US ] = "Mor~e..."; 307*cdf0e10cSrcweir }; 308*cdf0e10cSrcweir}; 309