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