1/************************************************************** 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 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 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. 19 * 20 *************************************************************/ 21 22 23 // include --------------------------------------------------------------- 24#include <cuires.hrc> 25#include "helpid.hrc" 26#include "numfmt.hrc" 27#include <svx/dialogs.hrc> 28 29 // RID_SVXPAGE_NUMBERFORMAT ---------------------------------------------- 30TabPage RID_SVXPAGE_NUMBERFORMAT 31{ 32 HelpId = HID_NUMBERFORMAT ; 33 Hide = TRUE ; 34 Text [ en-US ] = "Number Format" ; 35 Size = MAP_APPFONT ( 260 , 185 ) ; 36 FixedText FT_CATEGORY 37 { 38 Pos = MAP_APPFONT ( 6 , 3 ) ; 39 Size = MAP_APPFONT ( 70 , 8 ) ; 40 Text [ en-US ] = "~Category" ; 41 }; 42 ListBox LB_CATEGORY 43 { 44 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CATEGORY"; 45 Border = TRUE ; 46 Pos = MAP_APPFONT ( 6 , 14 ) ; 47 Size = MAP_APPFONT ( 70 , 71 ) ; 48 AutoHScroll = TRUE ; 49 StringList [ en-US ] = 50 { 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 ; > ; 62 }; 63 }; 64 FixedText FT_EDFORMAT 65 { 66 Pos = MAP_APPFONT ( 6 , 136 ) ; 67 Size = MAP_APPFONT ( 248 , 8 ) ; 68 Text [ en-US ] = "~Format code" ; 69 }; 70 Edit ED_FORMAT 71 { 72 HelpID = "cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_FORMAT"; 73 Border = TRUE ; 74 Pos = MAP_APPFONT ( 6 , 147 ) ; 75 Size = MAP_APPFONT ( 200 , 12 ) ; 76 }; 77 FixedText FT_COMMENT 78 { 79 Pos = MAP_APPFONT ( 6 , 163 ) ; 80 Size = MAP_APPFONT ( 248 , 16 ) ; 81 WordBreak = TRUE ; 82 NoLabel = TRUE ; 83 }; 84 Edit ED_COMMENT 85 { 86 HelpID = "cui:Edit:RID_SVXPAGE_NUMBERFORMAT:ED_COMMENT"; 87 Hide = TRUE ; 88 Border = TRUE ; 89 Pos = MAP_APPFONT ( 6 , 163 ) ; 90 Size = MAP_APPFONT ( 248 , 12 ) ; 91 }; 92 FixedText FT_FORMAT 93 { 94 Pos = MAP_APPFONT ( 82 , 3 ) ; 95 Size = MAP_APPFONT ( 90 , 8 ) ; 96 Text [ en-US ] = "F~ormat" ; 97 }; 98 99 ListBox LB_CURRENCY 100 { 101 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_CURRENCY"; 102 Border = TRUE ; 103 Pos = MAP_APPFONT ( 82 , 14 ) ; 104 Size = MAP_APPFONT ( 90 , 71 ) ; 105 DropDown = TRUE ; 106 TabStop = TRUE ; 107 StringList [ en-US ] = 108 { 109 < "Automatically" ; Default ; > ; 110 }; 111 }; 112 113 Control LB_FORMAT 114 { 115 HelpId = HID_NUMBERFORMAT_LB_FORMAT ; 116 Border = TRUE ; 117 Pos = MAP_APPFONT ( 82 , 27 ) ; 118 Size = MAP_APPFONT ( 90 , 58 ) ; 119 TabStop = TRUE ; 120 }; 121 122 FixedText FT_DECIMALS 123 { 124 Pos = MAP_APPFONT ( 12 , 104 ) ; 125 Size = MAP_APPFONT ( 69 , 8 ) ; 126 Text [ en-US ] = "~Decimal places" ; 127 }; 128 NumericField ED_DECIMALS 129 { 130 HelpID = "cui:NumericField:RID_SVXPAGE_NUMBERFORMAT:ED_DECIMALS"; 131 Border = TRUE ; 132 Pos = MAP_APPFONT ( 84 , 102 ) ; 133 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 { 144 Pos = MAP_APPFONT ( 12 , 120 ) ; 145 Size = MAP_APPFONT ( 69 , 8 ) ; 146 /* ### ACHTUNG: Neuer Text in Resource? F�hrende ~Nullen : F�hrende ~Nullen */ 147 Text [ en-US ] = "Leading ~zeroes" ; 148 }; 149 NumericField ED_LEADZEROES 150 { 151 HelpID = "cui:NumericField:RID_SVXPAGE_NUMBERFORMAT:ED_LEADZEROES"; 152 Border = TRUE ; 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 { 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 { 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 }; 177 FixedLine FL_OPTIONS 178 { 179 Pos = MAP_APPFONT ( 6 , 91 ) ; 180 Size = MAP_APPFONT ( 248 , 8 ) ; 181 Text [ en-US ] = "Options" ; 182 }; 183 FixedText FT_LANGUAGE 184 { 185 Pos = MAP_APPFONT ( 178 , 3 ) ; 186 Size = MAP_APPFONT ( 76 , 8 ) ; 187 Text [ en-US ] = "~Language" ; 188 }; 189 ListBox LB_LANGUAGE 190 { 191 HelpID = "cui:ListBox:RID_SVXPAGE_NUMBERFORMAT:LB_LANGUAGE"; 192 Border = TRUE ; 193 Sort = TRUE ; 194 Pos = MAP_APPFONT ( 178 , 14 ) ; 195 Size = MAP_APPFONT ( 76 , 71 ) ; 196 DropDown = TRUE ; 197 }; 198 CheckBox CB_SOURCEFORMAT 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" ; 204 }; 205 Window WND_NUMBER_PREVIEW 206 { 207 Border = TRUE ; 208 SVLook = TRUE ; 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 ; 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 ; 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 ; 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 { 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 { 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 262 String STR_AUTO_ENTRY 263 { 264 Text [ en-US ] = "Automatic"; 265 }; 266 267}; 268 // ********************************************************************** EOF 269 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 301