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