summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/tp_AxisPositions.src
blob: 8ce1ba39056a7dadadc1566f884796b07068729a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/
#include "HelpIds.hrc"
#include "TabPages.hrc"

#define Y0 3
#define Y1 (Y0+13)
#define Y2 (Y1)
#define Y3 (Y2+16)
#define Y4 (Y3+13)
#define Y5 (Y4)
#define Y6 (Y5+16)
#define Y7 (Y6+13)
#define Y8 (Y7+16)
#define Y9 (Y8+16)
#define Y10 (Y9+16)
#define Y11 (Y10+13)
#define Y12 (Y11+16)

#define EDITWIDTH 50
#define LABELWIDTH 88
#define MAXLABELWIDTH 138

#define X1 6
#define X2 11
#define X3 (X2+LABELWIDTH+4)
#define X4 (X2+MAXLABELWIDTH+4)
#define X5 (X4+EDITWIDTH+5)

#define XTICK_1 X2
#define XTICK_2 (XTICK_1+60)
#define XTICK_3 (XTICK_2+60)
#define XTICK_4 (XTICK_3+60)
#define XTICK_5 (XTICK_4+6)
#define TICKWIDTH 59

TabPage TP_AXIS_POSITIONS
{
    Hide = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 260 , 185 ) ;

    FixedLine FL_AXIS_LINE
    {
        Pos = MAP_APPFONT ( X1 , Y0  ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Axis line" ;
    };

    FixedText FT_CROSSES_OTHER_AXIS_AT
    {
        Pos = MAP_APPFONT ( X2 , Y1  ) ;
        Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ;
        Text [ en-US ] = "~Cross other axis at" ;
    };
    ListBox LB_CROSSES_OTHER_AXIS_AT
    {
        Border = TRUE ;
        AutoHScroll = TRUE ;
        Pos = MAP_APPFONT ( X4 , Y1-2 ) ;
        Size = MAP_APPFONT ( EDITWIDTH , 12 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
        DropDown=TRUE;
        DDExtraWidth = TRUE ;

        StringList [ en-US ] =
        {
            "Start" ;
            "End" ;
            "Value" ;
            "Category" ;
        };
    };
    SpinField EDT_CROSSES_OTHER_AXIS_AT
    {
        Border = TRUE ;
        SVLook = TRUE ;
        Pos = MAP_APPFONT ( X5 , Y1-2  ) ;
        Size = MAP_APPFONT ( EDITWIDTH , 12 ) ;
        TabStop = TRUE ;
    };
    ComboBox EDT_CROSSES_OTHER_AXIS_AT_CATEGORY
    {
        Border = TRUE ;
        SVLook = TRUE ;
        Pos = MAP_APPFONT ( X5 , Y1-2  ) ;
        Size = MAP_APPFONT ( EDITWIDTH , 12 ) ;
        DropDown = TRUE ;
        TabStop = TRUE ;
    };

    CheckBox CB_AXIS_BETWEEN_CATEGORIES
    {
        Hide = TRUE;
        Pos = MAP_APPFONT ( X2 , Y2  ) ;
        Size = MAP_APPFONT ( 150 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "Axis ~between categories" ;
    };

    FixedLine FL_LABELS
    {
        Pos = MAP_APPFONT ( X1 , Y3  ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Labels" ;
    };
    FixedText FT_PLACE_LABELS
    {
        Pos = MAP_APPFONT ( X2 , Y4  ) ;
        Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ;
        Text [ en-US ] = "~Place labels" ;
    };
    ListBox LB_PLACE_LABELS
    {
        Border = TRUE ;
        AutoHScroll = TRUE ;
        Pos = MAP_APPFONT ( X4 , Y4-2 ) ;
        Size = MAP_APPFONT ( 89 , 12 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
        DropDown=TRUE;
        DDExtraWidth = TRUE ;

        StringList [ en-US ] =
        {
            "Near axis" ;
            "Near axis (other side)" ;
            "Outside start" ;
            "Outside end" ;
        };
    };

    FixedText FT_AXIS_LABEL_DISTANCE
    {
        Hide = TRUE;
        Pos = MAP_APPFONT ( X2 , Y5  ) ;
        Size = MAP_APPFONT ( MAXLABELWIDTH , 8 ) ;
        Text [ en-US ] = "~Distance" ;
    };
    SpinField EDT_AXIS_LABEL_DISTANCE
    {
        Hide = TRUE;
        Border = TRUE ;
        SVLook = TRUE ;
        Pos = MAP_APPFONT ( X4 , Y5-2 ) ;
        Size = MAP_APPFONT ( 89 , 12 ) ;
        TabStop = TRUE ;
    };

    FixedLine FL_TICKS
    {
        Pos = MAP_APPFONT ( X1 , Y6  ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text[ en-US ] = "Interval marks";
    };
    FixedText FT_MAJOR
    {
        Pos = MAP_APPFONT ( XTICK_1 , Y7  ) ;
        Size = MAP_APPFONT ( TICKWIDTH , 8 ) ;
        Text [ en-US ] = "Major:" ;
    };
    CheckBox CB_TICKS_INNER
    {
        Pos = MAP_APPFONT ( XTICK_2 , Y7  ) ;
        Size = MAP_APPFONT ( TICKWIDTH , 10 ) ;
        Text [ en-US ] = "~Inner";
    };
    CheckBox CB_TICKS_OUTER
    {
        Pos = MAP_APPFONT ( XTICK_3 , Y7  ) ;
        Size = MAP_APPFONT ( TICKWIDTH , 10 ) ;
        Text [ en-US ] = "~Outer";
    };

    FixedText FT_MINOR
    {
        Pos = MAP_APPFONT ( XTICK_1 , Y8  ) ;
        Size = MAP_APPFONT ( TICKWIDTH , 8 ) ;
        Text [ en-US ] = "Minor:" ;
    };
    CheckBox CB_MINOR_INNER
    {
        Pos = MAP_APPFONT ( XTICK_2 , Y8  );
        Size = MAP_APPFONT ( TICKWIDTH , 10 ) ;
        Text [ en-US ] = "I~nner";
    };
    CheckBox CB_MINOR_OUTER
    {
        Pos = MAP_APPFONT ( XTICK_3 , Y8  ) ;
        Size = MAP_APPFONT ( TICKWIDTH , 10 ) ;
        Text [ en-US ] = "O~uter";
    };

    FixedLine FL_VERTICAL
    {
        Hide = TRUE ;
        Pos = MAP_APPFONT ( XTICK_4 , Y7  ) ;
        Size = MAP_APPFONT ( 6 , 25 ) ;
        Vert = TRUE ;
    };

    FixedText FT_PLACE_TICKS
    {
        Pos = MAP_APPFONT ( X2 , Y9  );
        Size = MAP_APPFONT ( LABELWIDTH , 8 ) ;
        Text [ en-US ] = "Place ~marks";
    };
    ListBox LB_PLACE_TICKS
    {
        Border = TRUE ;
        AutoHScroll = TRUE ;
        Pos = MAP_APPFONT ( X3 , Y9-2  ) ;
        Size = MAP_APPFONT ( EDITWIDTH , 12 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
        DropDown=TRUE;
        DDExtraWidth = TRUE ;

        StringList [ en-US ] =
        {
            "At labels" ;
            "At axis" ;
            "At axis and labels" ;
        };
    };


    FixedLine FL_GRIDS
    {
        Hide = TRUE ;
        Pos = MAP_APPFONT ( X1 , Y10  ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text[ en-US ] = "Grids";
    };
    CheckBox CB_MAJOR_GRID
    {
        Hide = TRUE ;
        Pos = MAP_APPFONT ( X2 , Y11  ) ;
        Size = MAP_APPFONT ( 150 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "Show major ~grid" ;
    };
    PushButton PB_MAJOR_GRID
    {
        Hide = TRUE ;
        TabStop = TRUE;
        Pos  = MAP_APPFONT ( X3 , Y11-2  );
        Size = MAP_APPFONT ( 54 , 14 );
        Text [ en-US ] = "Mo~re...";
    };
    CheckBox CB_MINOR_GRID
    {
        Hide = TRUE ;
        Pos = MAP_APPFONT ( X2 , Y12  ) ;
        Size = MAP_APPFONT ( 150 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "~Show minor grid" ;
    };
    PushButton PB_MINOR_GRID
    {
        Hide = TRUE ;
        TabStop = TRUE;
        Pos  = MAP_APPFONT ( X3 , Y12-2  );
        Size = MAP_APPFONT ( 54 , 14 );
        Text [ en-US ] = "Mor~e...";
    };
};