1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: tp_AxisPositions.src,v $
10 * $Revision: 1.1.4.2 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include "HelpIds.hrc"
31 #include "TabPages.hrc"
49 #define MAXLABELWIDTH 138
53 #define X3 (X2+LABELWIDTH+4)
54 #define X4 (X2+MAXLABELWIDTH+4)
55 #define X5 (X4+EDITWIDTH+5)
58 #define XTICK_2 (XTICK_1+60)
59 #define XTICK_3 (XTICK_2+60)
60 #define XTICK_4 (XTICK_3+60)
61 #define XTICK_5 (XTICK_4+6)
64 TabPage TP_AXIS_POSITIONS
68 Size = MAP_APPFONT ( 260 , 185 ) ;
70 FixedLine FL_AXIS_LINE
72 Pos = MAP_APPFONT ( X1 , Y0 ) ;
73 Size = MAP_APPFONT ( 248 , 8 ) ;
74 Text [ en-US ] = "Axis line" ;
77 FixedText FT_CROSSES_OTHER_AXIS_AT
79 Pos = MAP_APPFONT ( X2 , Y1 ) ;
80 Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ;
81 Text [ en-US ] = "~Cross other axis at" ;
83 ListBox LB_CROSSES_OTHER_AXIS_AT
87 Pos = MAP_APPFONT ( X4 , Y1-2 ) ;
88 Size = MAP_APPFONT ( EDITWIDTH , 12 ) ;
94 StringList [ en-US ] =
102 SpinField EDT_CROSSES_OTHER_AXIS_AT
106 Pos = MAP_APPFONT ( X5 , Y1-2 ) ;
107 Size = MAP_APPFONT ( EDITWIDTH , 12 ) ;
110 ComboBox EDT_CROSSES_OTHER_AXIS_AT_CATEGORY
114 Pos = MAP_APPFONT ( X5 , Y1-2 ) ;
115 Size = MAP_APPFONT ( EDITWIDTH , 12 ) ;
120 CheckBox CB_AXIS_BETWEEN_CATEGORIES
123 Pos = MAP_APPFONT ( X2 , Y2 ) ;
124 Size = MAP_APPFONT ( 150 , 10 ) ;
126 Text [ en-US ] = "Axis ~between categories" ;
131 Pos = MAP_APPFONT ( X1 , Y3 ) ;
132 Size = MAP_APPFONT ( 248 , 8 ) ;
133 Text [ en-US ] = "Labels" ;
135 FixedText FT_PLACE_LABELS
137 Pos = MAP_APPFONT ( X2 , Y4 ) ;
138 Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ;
139 Text [ en-US ] = "~Place labels" ;
141 ListBox LB_PLACE_LABELS
145 Pos = MAP_APPFONT ( X4 , Y4-2 ) ;
146 Size = MAP_APPFONT ( 89 , 12 ) ;
150 DDExtraWidth = TRUE ;
152 StringList [ en-US ] =
155 "Near axis (other side)" ;
161 FixedText FT_AXIS_LABEL_DISTANCE
164 Pos = MAP_APPFONT ( X2 , Y5 ) ;
165 Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ;
166 Text [ en-US ] = "~Distance" ;
168 SpinField EDT_AXIS_LABEL_DISTANCE
173 Pos = MAP_APPFONT ( X4 , Y5-2 ) ;
174 Size = MAP_APPFONT ( 89 , 12 ) ;
180 Pos = MAP_APPFONT ( X1 , Y6 ) ;
181 Size = MAP_APPFONT ( 248 , 8 ) ;
182 Text[ en-US ] = "Interval marks";
186 Pos = MAP_APPFONT ( XTICK_1 , Y7 ) ;
187 Size = MAP_APPFONT ( TICKWIDTH , 8 ) ;
188 Text [ en-US ] = "Major:" ;
190 CheckBox CB_TICKS_INNER
192 Pos = MAP_APPFONT ( XTICK_2 , Y7 ) ;
193 Size = MAP_APPFONT ( TICKWIDTH , 10 ) ;
194 Text [ en-US ] = "~Inner";
196 CheckBox CB_TICKS_OUTER
198 Pos = MAP_APPFONT ( XTICK_3 , Y7 ) ;
199 Size = MAP_APPFONT ( TICKWIDTH , 10 ) ;
200 Text [ en-US ] = "~Outer";
205 Pos = MAP_APPFONT ( XTICK_1 , Y8 ) ;
206 Size = MAP_APPFONT ( TICKWIDTH , 8 ) ;
207 Text [ en-US ] = "Minor:" ;
209 CheckBox CB_MINOR_INNER
211 Pos = MAP_APPFONT ( XTICK_2 , Y8 );
212 Size = MAP_APPFONT ( TICKWIDTH , 10 ) ;
213 Text [ en-US ] = "I~nner";
215 CheckBox CB_MINOR_OUTER
217 Pos = MAP_APPFONT ( XTICK_3 , Y8 ) ;
218 Size = MAP_APPFONT ( TICKWIDTH , 10 ) ;
219 Text [ en-US ] = "O~uter";
222 FixedLine FL_VERTICAL
225 Pos = MAP_APPFONT ( XTICK_4 , Y7 ) ;
226 Size = MAP_APPFONT ( 6 , 25 ) ;
230 FixedText FT_PLACE_TICKS
232 Pos = MAP_APPFONT ( X2 , Y9 );
233 Size = MAP_APPFONT ( LABELWIDTH , 8 ) ;
234 Text [ en-US ] = "Place ~marks";
236 ListBox LB_PLACE_TICKS
240 Pos = MAP_APPFONT ( X3 , Y9-2 ) ;
241 Size = MAP_APPFONT ( EDITWIDTH , 12 ) ;
245 DDExtraWidth = TRUE ;
247 StringList [ en-US ] =
251 "At axis and labels" ;
259 Pos = MAP_APPFONT ( X1 , Y10 ) ;
260 Size = MAP_APPFONT ( 248 , 8 ) ;
261 Text[ en-US ] = "Grids";
263 CheckBox CB_MAJOR_GRID
266 Pos = MAP_APPFONT ( X2 , Y11 ) ;
267 Size = MAP_APPFONT ( 150 , 10 ) ;
269 Text [ en-US ] = "Show major ~grid" ;
271 PushButton PB_MAJOR_GRID
275 Pos = MAP_APPFONT ( X3 , Y11-2 );
276 Size = MAP_APPFONT ( 54 , 14 );
277 Text [ en-US ] = "Mo~re...";
279 CheckBox CB_MINOR_GRID
282 Pos = MAP_APPFONT ( X2 , Y12 ) ;
283 Size = MAP_APPFONT ( 150 , 10 ) ;
285 Text [ en-US ] = "~Show minor grid" ;
287 PushButton PB_MINOR_GRID
291 Pos = MAP_APPFONT ( X3 , Y12-2 );
292 Size = MAP_APPFONT ( 54 , 14 );
293 Text [ en-US ] = "Mor~e...";