numfmt.src (0e2af6af) numfmt.src (ef4882fc)
1/**************************************************************
1/**************************************************************
2 *
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
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 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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.
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 *
19 *
20 *************************************************************/
21
22
20 *************************************************************/
21
22
23 // include ---------------------------------------------------------------
23
24// include ---------------------------------------------------------------
24#include <cuires.hrc>
25#include "helpid.hrc"
26#include "numfmt.hrc"
27#include <svx/dialogs.hrc>
28
25#include <cuires.hrc>
26#include "helpid.hrc"
27#include "numfmt.hrc"
28#include <svx/dialogs.hrc>
29
29 // RID_SVXPAGE_NUMBERFORMAT ----------------------------------------------
30// RID_SVXPAGE_NUMBERFORMAT ----------------------------------------------
30TabPage RID_SVXPAGE_NUMBERFORMAT
31{
32 HelpId = HID_NUMBERFORMAT ;
33 Hide = TRUE ;
34 Text [ en-US ] = "Number Format" ;
31TabPage RID_SVXPAGE_NUMBERFORMAT
32{
33 HelpId = HID_NUMBERFORMAT ;
34 Hide = TRUE ;
35 Text [ en-US ] = "Number Format" ;
35 Size = MAP_APPFONT ( 260 , 185 ) ;
36 Size = MAP_APPFONT ( 260, 185 ) ;
36 FixedText FT_CATEGORY
37 {
37 FixedText FT_CATEGORY
38 {
38 Pos = MAP_APPFONT ( 6 , 3 ) ;
39 Size = MAP_APPFONT ( 70 , 8 ) ;
39 Pos = MAP_APPFONT ( 6, 3 ) ;
40 Size = MAP_APPFONT ( 70, 8 ) ;
40 Text [ en-US ] = "~Category" ;
41 };
42 ListBox LB_CATEGORY
43 {
41 Text [ en-US ] = "~Category" ;
42 };
43 ListBox LB_CATEGORY
44 {
44 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CATEGORY";
45 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CATEGORY" ;
45 Border = TRUE ;
46 Border = TRUE ;
46 Pos = MAP_APPFONT ( 6 , 14 ) ;
47 Size = MAP_APPFONT ( 70 , 71 ) ;
47 Pos = MAP_APPFONT ( 6, 14 ) ;
48 Size = MAP_APPFONT ( 70, 71 ) ;
48 AutoHScroll = TRUE ;
49 StringList [ en-US ] =
50 {
49 AutoHScroll = TRUE ;
50 StringList [ en-US ] =
51 {
51 < "All" ; Default ; > ;
52 < "User-defined" ; Default ; > ;
53 < "Number" ; Default ; > ;
54 < "Percent" ; Default ; > ;
55 < "Currency" ; Default ; > ;
56 < "Date" ; Default ; > ;
57 < "Time" ; Default ; > ;
58 < "Scientific" ; Default ; > ;
59 < "Fraction" ; Default ; > ;
60 < "Boolean Value" ; Default ; > ;
61 < "Text" ; Default ; > ;
52 < "All" ; Default ; > ;
53 < "User-defined" ; Default ; > ;
54 < "Number" ; Default ; > ;
55 < "Percent" ; Default ; > ;
56 < "Currency" ; Default ; > ;
57 < "Date" ; Default ; > ;
58 < "Time" ; Default ; > ;
59 < "Scientific" ; Default ; > ;
60 < "Fraction" ; Default ; > ;
61 < "Boolean Value" ; Default ; > ;
62 < "Text" ; Default ; > ;
62 };
63 };
64 FixedText FT_EDFORMAT
65 {
63 };
64 };
65 FixedText FT_EDFORMAT
66 {
66 Pos = MAP_APPFONT ( 6 , 136 ) ;
67 Size = MAP_APPFONT ( 248 , 8 ) ;
67 Pos = MAP_APPFONT ( 6, 136 ) ;
68 Size = MAP_APPFONT ( 248, 8 ) ;
68 Text [ en-US ] = "~Format code" ;
69 };
70 Edit ED_FORMAT
71 {
69 Text [ en-US ] = "~Format code" ;
70 };
71 Edit ED_FORMAT
72 {
72 HelpID = "cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_FORMAT";
73 HelpID = "cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_FORMAT" ;
73 Border = TRUE ;
74 Border = TRUE ;
74 Pos = MAP_APPFONT ( 6 , 147 ) ;
75 Size = MAP_APPFONT ( 200 , 12 ) ;
75 Pos = MAP_APPFONT ( 6, 147 ) ;
76 Size = MAP_APPFONT ( 200, 12 ) ;
76 };
77 FixedText FT_COMMENT
78 {
77 };
78 FixedText FT_COMMENT
79 {
79 Pos = MAP_APPFONT ( 6 , 163 ) ;
80 Size = MAP_APPFONT ( 248 , 16 ) ;
80 Pos = MAP_APPFONT ( 6, 163 ) ;
81 Size = MAP_APPFONT ( 248, 16 ) ;
81 WordBreak = TRUE ;
82 NoLabel = TRUE ;
83 };
84 Edit ED_COMMENT
85 {
82 WordBreak = TRUE ;
83 NoLabel = TRUE ;
84 };
85 Edit ED_COMMENT
86 {
86 HelpID = "cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_COMMENT";
87 HelpID = "cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_COMMENT" ;
87 Hide = TRUE ;
88 Border = TRUE ;
88 Hide = TRUE ;
89 Border = TRUE ;
89 Pos = MAP_APPFONT ( 6 , 163 ) ;
90 Size = MAP_APPFONT ( 248 , 12 ) ;
90 Pos = MAP_APPFONT ( 6, 163 ) ;
91 Size = MAP_APPFONT ( 248, 12 ) ;
91 };
92 FixedText FT_FORMAT
93 {
92 };
93 FixedText FT_FORMAT
94 {
94 Pos = MAP_APPFONT ( 82 , 3 ) ;
95 Size = MAP_APPFONT ( 90 , 8 ) ;
95 Pos = MAP_APPFONT ( 82, 3 ) ;
96 Size = MAP_APPFONT ( 90, 8 ) ;
96 Text [ en-US ] = "F~ormat" ;
97 };
98
97 Text [ en-US ] = "F~ormat" ;
98 };
99
99 ListBox LB_CURRENCY
100 ListBox LB_CURRENCY
100 {
101 {
101 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CURRENCY";
102 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CURRENCY" ;
102 Border = TRUE ;
103 Border = TRUE ;
103 Pos = MAP_APPFONT ( 82 , 14 ) ;
104 Size = MAP_APPFONT ( 90 , 71 ) ;
104 Pos = MAP_APPFONT ( 82, 14 ) ;
105 Size = MAP_APPFONT ( 90, 71 ) ;
105 DropDown = TRUE ;
106 TabStop = TRUE ;
106 DropDown = TRUE ;
107 TabStop = TRUE ;
107 StringList [ en-US ] =
108 {
109 < "Automatically" ; Default ; > ;
110 };
108 StringList [ en-US ] =
109 {
110 < "Automatically" ; Default ; > ;
111 };
111 };
112
113 Control LB_FORMAT
114 {
115 HelpId = HID_NUMBERFORMAT_LB_FORMAT ;
116 Border = TRUE ;
112 };
113
114 Control LB_FORMAT
115 {
116 HelpId = HID_NUMBERFORMAT_LB_FORMAT ;
117 Border = TRUE ;
117 Pos = MAP_APPFONT ( 82 , 27 ) ;
118 Size = MAP_APPFONT ( 90 , 58 ) ;
118 Pos = MAP_APPFONT ( 82, 27 ) ;
119 Size = MAP_APPFONT ( 90, 58 ) ;
119 TabStop = TRUE ;
120 };
121
122 FixedText FT_DECIMALS
123 {
120 TabStop = TRUE ;
121 };
122
123 FixedText FT_DECIMALS
124 {
124 Pos = MAP_APPFONT ( 12 , 104 ) ;
125 Size = MAP_APPFONT ( 69 , 8 ) ;
125 Pos = MAP_APPFONT ( 12, 104 ) ;
126 Size = MAP_APPFONT ( 69, 8 ) ;
126 Text [ en-US ] = "~Decimal places" ;
127 };
128 NumericField ED_DECIMALS
129 {
127 Text [ en-US ] = "~Decimal places" ;
128 };
129 NumericField ED_DECIMALS
130 {
130 HelpID = "cui:NumericField:RID_SVXPAGE_NUMBERFORMAT:ED_DECIMALS";
131 HelpID = "cui:NumericField:RID_SVXPAGE_NUMBERFORMAT:ED_DECIMALS" ;
131 Border = TRUE ;
132 Border = TRUE ;
132 Pos = MAP_APPFONT ( 84 , 102 ) ;
133 Size = MAP_APPFONT ( 24 , 12 ) ;
133 Pos = MAP_APPFONT ( 84, 102 ) ;
134 Size = MAP_APPFONT ( 24, 12 ) ;
134 Spin = TRUE ;
135 Maximum = 20 ;
136 Last = 15 ;
137 First = 0 ;
138 StrictFormat = TRUE ;
139 SpinSize = 1 ;
140 Repeat = TRUE ;
141 };
142 FixedText FT_LEADZEROES
143 {
135 Spin = TRUE ;
136 Maximum = 20 ;
137 Last = 15 ;
138 First = 0 ;
139 StrictFormat = TRUE ;
140 SpinSize = 1 ;
141 Repeat = TRUE ;
142 };
143 FixedText FT_LEADZEROES
144 {
144 Pos = MAP_APPFONT ( 12 , 120 ) ;
145 Size = MAP_APPFONT ( 69 , 8 ) ;
146 /* ### ACHTUNG: Neuer Text in Resource? F�hrende ~Nullen : F�hrende ~Nullen */
145 Pos = MAP_APPFONT ( 12, 120 ) ;
146 Size = MAP_APPFONT ( 69, 8 ) ;
147 Text [ en-US ] = "Leading ~zeroes" ;
148 };
149 NumericField ED_LEADZEROES
150 {
147 Text [ en-US ] = "Leading ~zeroes" ;
148 };
149 NumericField ED_LEADZEROES
150 {
151 HelpID = "cui:NumericField:RID_SVXPAGE_NUMBERFORMAT:ED_LEADZEROES";
151 HelpID = "cui:NumericField:RID_SVXPAGE_NUMBERFORMAT:ED_LEADZEROES" ;
152 Border = TRUE ;
152 Border = TRUE ;
153 Pos = MAP_APPFONT ( 84 , 118 ) ;
154 Size = MAP_APPFONT ( 24 , 12 ) ;
153 Pos = MAP_APPFONT ( 84, 118 ) ;
154 Size = MAP_APPFONT ( 24, 12 ) ;
155 Spin = TRUE ;
156 Maximum = 20 ;
157 Last = 15 ;
158 First = 0 ;
159 StrictFormat = TRUE ;
160 SpinSize = 1 ;
161 Repeat = TRUE ;
162 };
163 CheckBox BTN_NEGRED
164 {
155 Spin = TRUE ;
156 Maximum = 20 ;
157 Last = 15 ;
158 First = 0 ;
159 StrictFormat = TRUE ;
160 SpinSize = 1 ;
161 Repeat = TRUE ;
162 };
163 CheckBox BTN_NEGRED
164 {
165 HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:BTN_NEGRED";
166 Pos = MAP_APPFONT ( 133 , 104 ) ;
167 Size = MAP_APPFONT ( 100 , 10 ) ;
165 HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:BTN_NEGRED" ;
166 Pos = MAP_APPFONT ( 133, 104 ) ;
167 Size = MAP_APPFONT ( 100, 10 ) ;
168 Text [ en-US ] = "~Negative numbers red" ;
169 };
170 CheckBox BTN_THOUSAND
171 {
168 Text [ en-US ] = "~Negative numbers red" ;
169 };
170 CheckBox BTN_THOUSAND
171 {
172 HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:BTN_THOUSAND";
173 Pos = MAP_APPFONT ( 133 , 120 ) ;
174 Size = MAP_APPFONT ( 100 , 10 ) ;
172 HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:BTN_THOUSAND" ;
173 Pos = MAP_APPFONT ( 133, 120 ) ;
174 Size = MAP_APPFONT ( 100, 10 ) ;
175 Text [ en-US ] = "~Thousands separator" ;
176 };
175 Text [ en-US ] = "~Thousands separator" ;
176 };
177 FixedLine FL_OPTIONS
177 FixedLine FL_OPTIONS
178 {
178 {
179 Pos = MAP_APPFONT ( 6 , 91 ) ;
180 Size = MAP_APPFONT ( 248 , 8 ) ;
179 Pos = MAP_APPFONT ( 6, 91 ) ;
180 Size = MAP_APPFONT ( 248, 8 ) ;
181 Text [ en-US ] = "Options" ;
182 };
183 FixedText FT_LANGUAGE
184 {
181 Text [ en-US ] = "Options" ;
182 };
183 FixedText FT_LANGUAGE
184 {
185 Pos = MAP_APPFONT ( 178 , 3 ) ;
186 Size = MAP_APPFONT ( 76 , 8 ) ;
185 Pos = MAP_APPFONT ( 178, 3 ) ;
186 Size = MAP_APPFONT ( 76, 8 ) ;
187 Text [ en-US ] = "~Language" ;
188 };
189 ListBox LB_LANGUAGE
190 {
187 Text [ en-US ] = "~Language" ;
188 };
189 ListBox LB_LANGUAGE
190 {
191 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_LANGUAGE";
191 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_LANGUAGE" ;
192 Border = TRUE ;
193 Sort = TRUE ;
192 Border = TRUE ;
193 Sort = TRUE ;
194 Pos = MAP_APPFONT ( 178 , 14 ) ;
195 Size = MAP_APPFONT ( 76 , 71 ) ;
194 Pos = MAP_APPFONT ( 178, 14 ) ;
195 Size = MAP_APPFONT ( 76, 71 ) ;
196 DropDown = TRUE ;
197 };
196 DropDown = TRUE ;
197 };
198 CheckBox CB_SOURCEFORMAT
198 CheckBox CB_SOURCEFORMAT
199 {
199 {
200 HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:CB_SOURCEFORMAT";
201 Pos = MAP_APPFONT ( 178 , 42 ) ;
202 Size = MAP_APPFONT ( 76 , 10 ) ;
203 Text [ en-US ] = "So~urce format" ;
200 HelpID = "cui:CheckBox:RID_SVXPAGE_NUMBERFORMAT:CB_SOURCEFORMAT" ;
201 Pos = MAP_APPFONT ( 178, 42 ) ;
202 Size = MAP_APPFONT ( 76, 10 ) ;
203 Text [ en-US ] = "So~urce format" ;
204 };
205 Window WND_NUMBER_PREVIEW
206 {
204 };
205 Window WND_NUMBER_PREVIEW
206 {
207 Border = TRUE ;
207 Border = TRUE ;
208 SVLook = TRUE ;
208 SVLook = TRUE ;
209 Pos = MAP_APPFONT ( 178 , 67 ) ;
210 Size = MAP_APPFONT ( 76 , 18 ) ;
209 Pos = MAP_APPFONT ( 178, 67 ) ;
210 Size = MAP_APPFONT ( 76, 18 ) ;
211 HelpId = HID_NUMBERFORMAT_WND_NUMBER_PREVIEW ;
212 };
213 ImageButton IB_ADD
214 {
215 SVLook = TRUE ;
211 HelpId = HID_NUMBERFORMAT_WND_NUMBER_PREVIEW ;
212 };
213 ImageButton IB_ADD
214 {
215 SVLook = TRUE ;
216 Pos = MAP_APPFONT ( 208 , 146 ) ;
217 Size = MAP_APPFONT ( 14 , 14 ) ;
216 Pos = MAP_APPFONT ( 208, 146 ) ;
217 Size = MAP_APPFONT ( 14, 14 ) ;
218 HelpId = HID_NUMBERFORMAT_TBI_ADD ;
219 QuickHelpText [ en-US ] = "Add" ;
220 };
221 ImageButton IB_REMOVE
222 {
223 SVLook = TRUE ;
218 HelpId = HID_NUMBERFORMAT_TBI_ADD ;
219 QuickHelpText [ en-US ] = "Add" ;
220 };
221 ImageButton IB_REMOVE
222 {
223 SVLook = TRUE ;
224 Pos = MAP_APPFONT ( 240 , 146 ) ;
225 Size = MAP_APPFONT ( 14 , 14 ) ;
224 Pos = MAP_APPFONT ( 240, 146 ) ;
225 Size = MAP_APPFONT ( 14, 14 ) ;
226 HelpId = HID_NUMBERFORMAT_TBI_REMOVE ;
227 QuickHelpText [ en-US ] = "Remove" ;
228 };
229 ImageButton IB_INFO
230 {
231 SVLook = TRUE ;
226 HelpId = HID_NUMBERFORMAT_TBI_REMOVE ;
227 QuickHelpText [ en-US ] = "Remove" ;
228 };
229 ImageButton IB_INFO
230 {
231 SVLook = TRUE ;
232 Pos = MAP_APPFONT ( 224 , 146 ) ;
233 Size = MAP_APPFONT ( 14 , 14 ) ;
232 Pos = MAP_APPFONT ( 224, 146 ) ;
233 Size = MAP_APPFONT ( 14, 14 ) ;
234 HelpId = HID_NUMBERFORMAT_TBI_INFO ;
235 QuickHelpText [ en-US ] = "Edit Comment" ;
236 };
237 ImageList IL_ICON
238 {
234 HelpId = HID_NUMBERFORMAT_TBI_INFO ;
235 QuickHelpText [ en-US ] = "Edit Comment" ;
236 };
237 ImageList IL_ICON
238 {
239 Prefix = "nu";
239 Prefix = "nu" ;
240 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
241 IdList =
242 {
243 IID_ADD ;
244 IID_REMOVE ;
245 IID_INFO ;
246 };
247 IdCount = { 3 ; };
248 };
249 ImageList IL_ICON_HC
250 {
240 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
241 IdList =
242 {
243 IID_ADD ;
244 IID_REMOVE ;
245 IID_INFO ;
246 };
247 IdCount = { 3 ; };
248 };
249 ImageList IL_ICON_HC
250 {
251 Prefix = "nuh";
251 Prefix = "nuh" ;
252 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
253 IdList =
254 {
255 IID_ADD ;
256 IID_REMOVE ;
257 IID_INFO ;
258 };
259 IdCount = { 3 ; };
260 };
261
252 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
253 IdList =
254 {
255 IID_ADD ;
256 IID_REMOVE ;
257 IID_INFO ;
258 };
259 IdCount = { 3 ; };
260 };
261
262 String STR_AUTO_ENTRY
263 {
264 Text [ en-US ] = "Automatic";
262 String STR_AUTO_ENTRY
263 {
264 Text [ en-US ] = "Automatic" ;
265 };
266
267};
265 };
266
267};
268 // ********************************************************************** EOF
269
268
270
271
272
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
269// ********************************************************************** EOF