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