xref: /trunk/main/cui/source/tabpages/numfmt.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include <cuires.hrc>
29#include "helpid.hrc"
30#include "numfmt.hrc"
31#include <svx/dialogs.hrc>
32
33 // RID_SVXPAGE_NUMBERFORMAT ----------------------------------------------
34TabPage RID_SVXPAGE_NUMBERFORMAT
35{
36    HelpId = HID_NUMBERFORMAT ;
37    Hide = TRUE ;
38    Text [ en-US ] = "Number Format" ;
39    Size = MAP_APPFONT ( 260 , 185 ) ;
40    FixedText FT_CATEGORY
41    {
42        Pos = MAP_APPFONT ( 6 , 3 ) ;
43        Size = MAP_APPFONT ( 70 , 8 ) ;
44        Text [ en-US ] = "~Category" ;
45    };
46    ListBox LB_CATEGORY
47    {
48        HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CATEGORY";
49        Border = TRUE ;
50        Pos = MAP_APPFONT ( 6 , 14 ) ;
51        Size = MAP_APPFONT ( 70 , 71 ) ;
52        AutoHScroll = TRUE ;
53        StringList [ en-US ] =
54        {
55            < "All" ; Default ; > ;
56            < "User-defined" ; Default ; > ;
57            < "Number" ; Default ; > ;
58            < "Percent" ; Default ; > ;
59            < "Currency" ; Default ; > ;
60            < "Date" ; Default ; > ;
61            < "Time" ; Default ; > ;
62            < "Scientific" ; Default ; > ;
63            < "Fraction" ; Default ; > ;
64            < "Boolean Value" ; Default ; > ;
65            < "Text" ; Default ; > ;
66        };
67    };
68    FixedText FT_EDFORMAT
69    {
70        Pos = MAP_APPFONT ( 6 , 136 ) ;
71        Size = MAP_APPFONT ( 248 , 8 ) ;
72        Text [ en-US ] = "~Format code" ;
73    };
74    Edit ED_FORMAT
75    {
76        HelpID = "cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_FORMAT";
77        Border = TRUE ;
78        Pos = MAP_APPFONT ( 6 , 147 ) ;
79        Size = MAP_APPFONT ( 200 , 12 ) ;
80    };
81    FixedText FT_COMMENT
82    {
83        Pos = MAP_APPFONT ( 6 , 163 ) ;
84        Size = MAP_APPFONT ( 248 , 16 ) ;
85        WordBreak = TRUE ;
86        NoLabel = TRUE ;
87    };
88    Edit ED_COMMENT
89    {
90        HelpID = "cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_COMMENT";
91        Hide = TRUE ;
92        Border = TRUE ;
93        Pos = MAP_APPFONT ( 6 , 163 ) ;
94        Size = MAP_APPFONT ( 248 , 12 ) ;
95    };
96    FixedText FT_FORMAT
97    {
98        Pos = MAP_APPFONT ( 82 , 3 ) ;
99        Size = MAP_APPFONT ( 90 , 8 ) ;
100        Text [ en-US ] = "F~ormat" ;
101    };
102
103    ListBox LB_CURRENCY
104    {
105        HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CURRENCY";
106        Border = TRUE ;
107        Pos = MAP_APPFONT ( 82 , 14 ) ;
108        Size = MAP_APPFONT ( 90 , 71 ) ;
109        DropDown = TRUE ;
110        TabStop = TRUE ;
111        StringList [ en-US ] =
112        {
113                < "Automatically" ; Default ; > ;
114        };
115    };
116
117    Control LB_FORMAT
118    {
119        HelpId = HID_NUMBERFORMAT_LB_FORMAT ;
120        Border = TRUE ;
121        Pos = MAP_APPFONT ( 82 , 27 ) ;
122        Size = MAP_APPFONT ( 90 , 58 ) ;
123        TabStop = TRUE ;
124    };
125
126    FixedText FT_DECIMALS
127    {
128        Pos = MAP_APPFONT ( 12 , 104 ) ;
129        Size = MAP_APPFONT ( 69 , 8 ) ;
130        Text [ en-US ] = "~Decimal places" ;
131    };
132    NumericField ED_DECIMALS
133    {
134        HelpID = "cui:NumericField:RID_SVXPAGE_NUMBERFORMAT:ED_DECIMALS";
135        Border = TRUE ;
136        Pos = MAP_APPFONT ( 84 , 102 ) ;
137        Size = MAP_APPFONT ( 24 , 12 ) ;
138        Spin = TRUE ;
139        Maximum = 20 ;
140        Last = 15 ;
141        First = 0 ;
142        StrictFormat = TRUE ;
143        SpinSize = 1 ;
144        Repeat = TRUE ;
145    };
146    FixedText FT_LEADZEROES
147    {
148        Pos = MAP_APPFONT ( 12 , 120 ) ;
149        Size = MAP_APPFONT ( 69 , 8 ) ;
150        /* ### ACHTUNG: Neuer Text in Resource? F�hrende ~Nullen : F�hrende ~Nullen */
151        Text [ en-US ] = "Leading ~zeroes" ;
152    };
153    NumericField ED_LEADZEROES
154    {
155        HelpID = "cui:NumericField:RID_SVXPAGE_NUMBERFORMAT:ED_LEADZEROES";
156        Border = TRUE ;
157        Pos = MAP_APPFONT ( 84 , 118 ) ;
158        Size = MAP_APPFONT ( 24 , 12 ) ;
159        Spin = TRUE ;
160        Maximum = 20 ;
161        Last = 15 ;
162        First = 0 ;
163        StrictFormat = TRUE ;
164        SpinSize = 1 ;
165        Repeat = TRUE ;
166    };
167    CheckBox BTN_NEGRED
168    {
169        HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:BTN_NEGRED";
170        Pos = MAP_APPFONT ( 133 , 104 ) ;
171        Size = MAP_APPFONT ( 100 , 10 ) ;
172        Text [ en-US ] = "~Negative numbers red" ;
173    };
174    CheckBox BTN_THOUSAND
175    {
176        HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:BTN_THOUSAND";
177        Pos = MAP_APPFONT ( 133 , 120 ) ;
178        Size = MAP_APPFONT ( 100 , 10 ) ;
179        Text [ en-US ] = "~Thousands separator" ;
180    };
181    FixedLine FL_OPTIONS
182    {
183        Pos = MAP_APPFONT ( 6 , 91 ) ;
184        Size = MAP_APPFONT ( 248 , 8 ) ;
185        Text [ en-US ] = "Options" ;
186    };
187    FixedText FT_LANGUAGE
188    {
189        Pos = MAP_APPFONT ( 178 , 3 ) ;
190        Size = MAP_APPFONT ( 76 , 8 ) ;
191        Text [ en-US ] = "~Language" ;
192    };
193    ListBox LB_LANGUAGE
194    {
195        HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_LANGUAGE";
196        Border = TRUE ;
197        Sort = TRUE ;
198        Pos = MAP_APPFONT ( 178 , 14 ) ;
199        Size = MAP_APPFONT ( 76 , 71 ) ;
200        DropDown = TRUE ;
201    };
202    CheckBox CB_SOURCEFORMAT
203    {
204        HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:CB_SOURCEFORMAT";
205        Pos = MAP_APPFONT ( 178 , 42 ) ;
206        Size = MAP_APPFONT ( 76 , 10 ) ;
207        Text [ en-US ] = "So~urce format" ;
208    };
209    Window WND_NUMBER_PREVIEW
210    {
211        Border = TRUE ;
212        SVLook = TRUE ;
213        Pos = MAP_APPFONT ( 178 , 67 ) ;
214        Size = MAP_APPFONT ( 76 , 18 ) ;
215        HelpId = HID_NUMBERFORMAT_WND_NUMBER_PREVIEW ;
216    };
217    ImageButton IB_ADD
218    {
219        SVLook = TRUE ;
220        Pos = MAP_APPFONT ( 208 , 146 ) ;
221        Size = MAP_APPFONT ( 14 , 14 ) ;
222        HelpId = HID_NUMBERFORMAT_TBI_ADD ;
223        QuickHelpText [ en-US ] = "Add" ;
224    };
225    ImageButton IB_REMOVE
226    {
227        SVLook = TRUE ;
228        Pos = MAP_APPFONT ( 240 , 146 ) ;
229        Size = MAP_APPFONT ( 14 , 14 ) ;
230        HelpId = HID_NUMBERFORMAT_TBI_REMOVE ;
231        QuickHelpText [ en-US ] = "Remove" ;
232    };
233    ImageButton IB_INFO
234    {
235        SVLook = TRUE ;
236        Pos = MAP_APPFONT ( 224 , 146 ) ;
237        Size = MAP_APPFONT ( 14 , 14 ) ;
238        HelpId = HID_NUMBERFORMAT_TBI_INFO ;
239        QuickHelpText [ en-US ] = "Edit Comment" ;
240    };
241    ImageList IL_ICON
242    {
243        Prefix = "nu";
244        MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
245        IdList =
246        {
247            IID_ADD ;
248            IID_REMOVE ;
249            IID_INFO ;
250        };
251        IdCount = { 3 ; };
252    };
253    ImageList IL_ICON_HC
254    {
255        Prefix = "nuh";
256        MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
257        IdList =
258        {
259            IID_ADD ;
260            IID_REMOVE ;
261            IID_INFO ;
262        };
263        IdCount = { 3 ; };
264    };
265
266    String STR_AUTO_ENTRY
267    {
268        Text [ en-US ] = "Automatic";
269    };
270
271};
272 // ********************************************************************** EOF
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305