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