1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#include "HelpIds.hrc" 28#include "TabPages.hrc" 29 30#define Y0 3 31#define Y1 (Y0+13) 32#define Y2 (Y1) 33#define Y3 (Y2+16) 34#define Y4 (Y3+13) 35#define Y5 (Y4) 36#define Y6 (Y5+16) 37#define Y7 (Y6+13) 38#define Y8 (Y7+16) 39#define Y9 (Y8+16) 40#define Y10 (Y9+16) 41#define Y11 (Y10+13) 42#define Y12 (Y11+16) 43 44#define EDITWIDTH 50 45#define LABELWIDTH 88 46#define MAXLABELWIDTH 138 47 48#define X1 6 49#define X2 11 50#define X3 (X2+LABELWIDTH+4) 51#define X4 (X2+MAXLABELWIDTH+4) 52#define X5 (X4+EDITWIDTH+5) 53 54#define XTICK_1 X2 55#define XTICK_2 (XTICK_1+60) 56#define XTICK_3 (XTICK_2+60) 57#define XTICK_4 (XTICK_3+60) 58#define XTICK_5 (XTICK_4+6) 59#define TICKWIDTH 59 60 61TabPage TP_AXIS_POSITIONS 62{ 63 HelpID = "chart2:TabPage:TP_AXIS_POSITIONS"; 64 Hide = TRUE ; 65 SVLook = TRUE ; 66 Size = MAP_APPFONT ( 260 , 185 ) ; 67 68 FixedLine FL_AXIS_LINE 69 { 70 Pos = MAP_APPFONT ( X1 , Y0 ) ; 71 Size = MAP_APPFONT ( 248 , 8 ) ; 72 Text [ en-US ] = "Axis line" ; 73 }; 74 75 FixedText FT_CROSSES_OTHER_AXIS_AT 76 { 77 Pos = MAP_APPFONT ( X2 , Y1 ) ; 78 Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ; 79 Text [ en-US ] = "~Cross other axis at" ; 80 }; 81 ListBox LB_CROSSES_OTHER_AXIS_AT 82 { 83 HelpID = "chart2:ListBox:TP_AXIS_POSITIONS:LB_CROSSES_OTHER_AXIS_AT"; 84 Border = TRUE ; 85 AutoHScroll = TRUE ; 86 Pos = MAP_APPFONT ( X4 , Y1-2 ) ; 87 Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 88 TabStop = TRUE ; 89 Group = TRUE ; 90 DropDown=TRUE; 91 DDExtraWidth = TRUE ; 92 93 StringList [ en-US ] = 94 { 95 "Start" ; 96 "End" ; 97 "Value" ; 98 "Category" ; 99 }; 100 }; 101 SpinField EDT_CROSSES_OTHER_AXIS_AT 102 { 103 HelpID = "chart2:SpinField:TP_AXIS_POSITIONS:EDT_CROSSES_OTHER_AXIS_AT"; 104 Border = TRUE ; 105 SVLook = TRUE ; 106 Pos = MAP_APPFONT ( X5 , Y1-2 ) ; 107 Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 108 TabStop = TRUE ; 109 }; 110 ComboBox EDT_CROSSES_OTHER_AXIS_AT_CATEGORY 111 { 112 HelpID = "chart2:ComboBox:TP_AXIS_POSITIONS:EDT_CROSSES_OTHER_AXIS_AT_CATEGORY"; 113 Border = TRUE ; 114 SVLook = TRUE ; 115 Pos = MAP_APPFONT ( X5 , Y1-2 ) ; 116 Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 117 DropDown = TRUE ; 118 TabStop = TRUE ; 119 }; 120 121 CheckBox CB_AXIS_BETWEEN_CATEGORIES 122 { 123 HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_AXIS_BETWEEN_CATEGORIES"; 124 Hide = TRUE; 125 Pos = MAP_APPFONT ( X2 , Y2 ) ; 126 Size = MAP_APPFONT ( 150 , 10 ) ; 127 TabStop = TRUE ; 128 Text [ en-US ] = "Axis ~between categories" ; 129 }; 130 131 FixedLine FL_LABELS 132 { 133 Pos = MAP_APPFONT ( X1 , Y3 ) ; 134 Size = MAP_APPFONT ( 248 , 8 ) ; 135 Text [ en-US ] = "Labels" ; 136 }; 137 FixedText FT_PLACE_LABELS 138 { 139 Pos = MAP_APPFONT ( X2 , Y4 ) ; 140 Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ; 141 Text [ en-US ] = "~Place labels" ; 142 }; 143 ListBox LB_PLACE_LABELS 144 { 145 HelpID = "chart2:ListBox:TP_AXIS_POSITIONS:LB_PLACE_LABELS"; 146 Border = TRUE ; 147 AutoHScroll = TRUE ; 148 Pos = MAP_APPFONT ( X4 , Y4-2 ) ; 149 Size = MAP_APPFONT ( 89 , 12 ) ; 150 TabStop = TRUE ; 151 Group = TRUE ; 152 DropDown=TRUE; 153 DDExtraWidth = TRUE ; 154 155 StringList [ en-US ] = 156 { 157 "Near axis" ; 158 "Near axis (other side)" ; 159 "Outside start" ; 160 "Outside end" ; 161 }; 162 }; 163 164 FixedText FT_AXIS_LABEL_DISTANCE 165 { 166 Hide = TRUE; 167 Pos = MAP_APPFONT ( X2 , Y5 ) ; 168 Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ; 169 Text [ en-US ] = "~Distance" ; 170 }; 171 SpinField EDT_AXIS_LABEL_DISTANCE 172 { 173 HelpID = "chart2:SpinField:TP_AXIS_POSITIONS:EDT_AXIS_LABEL_DISTANCE"; 174 Hide = TRUE; 175 Border = TRUE ; 176 SVLook = TRUE ; 177 Pos = MAP_APPFONT ( X4 , Y5-2 ) ; 178 Size = MAP_APPFONT ( 89 , 12 ) ; 179 TabStop = TRUE ; 180 }; 181 182 FixedLine FL_TICKS 183 { 184 Pos = MAP_APPFONT ( X1 , Y6 ) ; 185 Size = MAP_APPFONT ( 248 , 8 ) ; 186 Text[ en-US ] = "Interval marks"; 187 }; 188 FixedText FT_MAJOR 189 { 190 Pos = MAP_APPFONT ( XTICK_1 , Y7 ) ; 191 Size = MAP_APPFONT ( TICKWIDTH , 8 ) ; 192 Text [ en-US ] = "Major:" ; 193 }; 194 CheckBox CB_TICKS_INNER 195 { 196 HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_TICKS_INNER"; 197 Pos = MAP_APPFONT ( XTICK_2 , Y7 ) ; 198 Size = MAP_APPFONT ( TICKWIDTH , 10 ) ; 199 Text [ en-US ] = "~Inner"; 200 }; 201 CheckBox CB_TICKS_OUTER 202 { 203 HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_TICKS_OUTER"; 204 Pos = MAP_APPFONT ( XTICK_3 , Y7 ) ; 205 Size = MAP_APPFONT ( TICKWIDTH , 10 ) ; 206 Text [ en-US ] = "~Outer"; 207 }; 208 209 FixedText FT_MINOR 210 { 211 Pos = MAP_APPFONT ( XTICK_1 , Y8 ) ; 212 Size = MAP_APPFONT ( TICKWIDTH , 8 ) ; 213 Text [ en-US ] = "Minor:" ; 214 }; 215 CheckBox CB_MINOR_INNER 216 { 217 HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_MINOR_INNER"; 218 Pos = MAP_APPFONT ( XTICK_2 , Y8 ); 219 Size = MAP_APPFONT ( TICKWIDTH , 10 ) ; 220 Text [ en-US ] = "I~nner"; 221 }; 222 CheckBox CB_MINOR_OUTER 223 { 224 HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_MINOR_OUTER"; 225 Pos = MAP_APPFONT ( XTICK_3 , Y8 ) ; 226 Size = MAP_APPFONT ( TICKWIDTH , 10 ) ; 227 Text [ en-US ] = "O~uter"; 228 }; 229 230 FixedLine FL_VERTICAL 231 { 232 Hide = TRUE ; 233 Pos = MAP_APPFONT ( XTICK_4 , Y7 ) ; 234 Size = MAP_APPFONT ( 6 , 25 ) ; 235 Vert = TRUE ; 236 }; 237 238 FixedText FT_PLACE_TICKS 239 { 240 Pos = MAP_APPFONT ( X2 , Y9 ); 241 Size = MAP_APPFONT ( LABELWIDTH , 8 ) ; 242 Text [ en-US ] = "Place ~marks"; 243 }; 244 ListBox LB_PLACE_TICKS 245 { 246 HelpID = "chart2:ListBox:TP_AXIS_POSITIONS:LB_PLACE_TICKS"; 247 Border = TRUE ; 248 AutoHScroll = TRUE ; 249 Pos = MAP_APPFONT ( X3 , Y9-2 ) ; 250 Size = MAP_APPFONT ( EDITWIDTH , 12 ) ; 251 TabStop = TRUE ; 252 Group = TRUE ; 253 DropDown=TRUE; 254 DDExtraWidth = TRUE ; 255 256 StringList [ en-US ] = 257 { 258 "At labels" ; 259 "At axis" ; 260 "At axis and labels" ; 261 }; 262 }; 263 264 265 FixedLine FL_GRIDS 266 { 267 Hide = TRUE ; 268 Pos = MAP_APPFONT ( X1 , Y10 ) ; 269 Size = MAP_APPFONT ( 248 , 8 ) ; 270 Text[ en-US ] = "Grids"; 271 }; 272 CheckBox CB_MAJOR_GRID 273 { 274 HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_MAJOR_GRID"; 275 Hide = TRUE ; 276 Pos = MAP_APPFONT ( X2 , Y11 ) ; 277 Size = MAP_APPFONT ( 150 , 10 ) ; 278 TabStop = TRUE ; 279 Text [ en-US ] = "Show major ~grid" ; 280 }; 281 PushButton PB_MAJOR_GRID 282 { 283 HelpID = "chart2:PushButton:TP_AXIS_POSITIONS:PB_MAJOR_GRID"; 284 Hide = TRUE ; 285 TabStop = TRUE; 286 Pos = MAP_APPFONT ( X3 , Y11-2 ); 287 Size = MAP_APPFONT ( 54 , 14 ); 288 Text [ en-US ] = "Mo~re..."; 289 }; 290 CheckBox CB_MINOR_GRID 291 { 292 HelpID = "chart2:CheckBox:TP_AXIS_POSITIONS:CB_MINOR_GRID"; 293 Hide = TRUE ; 294 Pos = MAP_APPFONT ( X2 , Y12 ) ; 295 Size = MAP_APPFONT ( 150 , 10 ) ; 296 TabStop = TRUE ; 297 Text [ en-US ] = "~Show minor grid" ; 298 }; 299 PushButton PB_MINOR_GRID 300 { 301 HelpID = "chart2:PushButton:TP_AXIS_POSITIONS:PB_MINOR_GRID"; 302 Hide = TRUE ; 303 TabStop = TRUE; 304 Pos = MAP_APPFONT ( X3 , Y12-2 ); 305 Size = MAP_APPFONT ( 54 , 14 ); 306 Text [ en-US ] = "Mor~e..."; 307 }; 308}; 309