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