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