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 28*cdf0e10cSrcweir // #include ***************************************************************** 29*cdf0e10cSrcweir#include "globals.hrc" 30*cdf0e10cSrcweir#include "chrdlg.hrc" 31*cdf0e10cSrcweir#include "drpcps.hrc" 32*cdf0e10cSrcweir#include "helpid.h" 33*cdf0e10cSrcweir // TabDialog **************************************************************** 34*cdf0e10cSrcweirTabDialog DLG_DROPCAPS 35*cdf0e10cSrcweir{ 36*cdf0e10cSrcweir OutputSize = TRUE ; 37*cdf0e10cSrcweir SVLook = TRUE ; 38*cdf0e10cSrcweir Text [ en-US ] = "Drop Caps" ; 39*cdf0e10cSrcweir Moveable = TRUE ; 40*cdf0e10cSrcweir TabControl 1 41*cdf0e10cSrcweir { 42*cdf0e10cSrcweir OutputSize = TRUE ; 43*cdf0e10cSrcweir PageList = 44*cdf0e10cSrcweir { 45*cdf0e10cSrcweir PageItem 46*cdf0e10cSrcweir { 47*cdf0e10cSrcweir Identifier = TP_DROPCAPS ; 48*cdf0e10cSrcweir Text [ en-US ] = "Drop Caps" ; 49*cdf0e10cSrcweir PageResID = TP_DROPCAPS ; 50*cdf0e10cSrcweir }; 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir }; 53*cdf0e10cSrcweir}; 54*cdf0e10cSrcweir // TabPage ****************************************************************** 55*cdf0e10cSrcweirTabPage TP_DROPCAPS 56*cdf0e10cSrcweir{ 57*cdf0e10cSrcweir HelpID = HID_DROPCAPS ; 58*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 59*cdf0e10cSrcweir Hide = TRUE ; 60*cdf0e10cSrcweir CheckBox CB_SWITCH 61*cdf0e10cSrcweir { 62*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_DROPCAPS:CB_SWITCH"; 63*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 64*cdf0e10cSrcweir Size = MAP_APPFONT ( 90 , 10 ) ; 65*cdf0e10cSrcweir Text [ en-US ] = "Display drop caps" ; 66*cdf0e10cSrcweir }; 67*cdf0e10cSrcweir CheckBox CB_WORD 68*cdf0e10cSrcweir { 69*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_DROPCAPS:CB_WORD"; 70*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 28 ) ; 71*cdf0e10cSrcweir Size = MAP_APPFONT ( 90 , 10 ) ; 72*cdf0e10cSrcweir Text [ en-US ] = "~Whole word" ; 73*cdf0e10cSrcweir }; 74*cdf0e10cSrcweir FixedText FT_DROPCAPS 75*cdf0e10cSrcweir { 76*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 44 ) ; 77*cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 8 ) ; 78*cdf0e10cSrcweir Text [ en-US ] = "Number of ~characters:" ; 79*cdf0e10cSrcweir }; 80*cdf0e10cSrcweir NumericField FLD_DROPCAPS 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir HelpID = "sw:NumericField:TP_DROPCAPS:FLD_DROPCAPS"; 83*cdf0e10cSrcweir Border = TRUE ; 84*cdf0e10cSrcweir First = 1 ; 85*cdf0e10cSrcweir Last = 9 ; 86*cdf0e10cSrcweir Left = TRUE ; 87*cdf0e10cSrcweir Maximum = 9 ; 88*cdf0e10cSrcweir Minimum = 1 ; 89*cdf0e10cSrcweir Pos = MAP_APPFONT ( 89 , 42 ) ; 90*cdf0e10cSrcweir Repeat = TRUE ; 91*cdf0e10cSrcweir Size = MAP_APPFONT ( 36 , 12 ) ; 92*cdf0e10cSrcweir Spin = TRUE ; 93*cdf0e10cSrcweir TabStop = TRUE ; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir FixedText TXT_LINES 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir Left = TRUE ; 98*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 60 ) ; 99*cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 8 ) ; 100*cdf0e10cSrcweir Text [ en-US ] = "~Lines" ; 101*cdf0e10cSrcweir }; 102*cdf0e10cSrcweir NumericField FLD_LINES 103*cdf0e10cSrcweir { 104*cdf0e10cSrcweir HelpID = "sw:NumericField:TP_DROPCAPS:FLD_LINES"; 105*cdf0e10cSrcweir Border = TRUE ; 106*cdf0e10cSrcweir First = 2 ; 107*cdf0e10cSrcweir Last = 9 ; 108*cdf0e10cSrcweir Left = TRUE ; 109*cdf0e10cSrcweir Maximum = 9 ; 110*cdf0e10cSrcweir Minimum = 2 ; 111*cdf0e10cSrcweir Pos = MAP_APPFONT ( 89 , 58 ) ; 112*cdf0e10cSrcweir Repeat = TRUE ; 113*cdf0e10cSrcweir Size = MAP_APPFONT ( 36 , 12 ) ; 114*cdf0e10cSrcweir Spin = TRUE ; 115*cdf0e10cSrcweir TabStop = TRUE ; 116*cdf0e10cSrcweir }; 117*cdf0e10cSrcweir FixedText TXT_DISTANCE 118*cdf0e10cSrcweir { 119*cdf0e10cSrcweir Left = TRUE ; 120*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 76 ) ; 121*cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 8 ) ; 122*cdf0e10cSrcweir Text [ en-US ] = "Space to text" ; 123*cdf0e10cSrcweir }; 124*cdf0e10cSrcweir MetricField FLD_DISTANCE 125*cdf0e10cSrcweir { 126*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_DROPCAPS:FLD_DISTANCE"; 127*cdf0e10cSrcweir Border = TRUE ; 128*cdf0e10cSrcweir DecimalDigits = 2 ; 129*cdf0e10cSrcweir First = 0 ; 130*cdf0e10cSrcweir Last = 200 ; 131*cdf0e10cSrcweir Left = TRUE ; 132*cdf0e10cSrcweir Maximum = 200 ; 133*cdf0e10cSrcweir Minimum = 0 ; 134*cdf0e10cSrcweir Pos = MAP_APPFONT ( 89 , 74 ) ; 135*cdf0e10cSrcweir Repeat = TRUE ; 136*cdf0e10cSrcweir Size = MAP_APPFONT ( 36 , 12 ) ; 137*cdf0e10cSrcweir Spin = TRUE ; 138*cdf0e10cSrcweir SpinSize = 10 ; 139*cdf0e10cSrcweir TabStop = TRUE ; 140*cdf0e10cSrcweir Unit = FUNIT_CM ; 141*cdf0e10cSrcweir }; 142*cdf0e10cSrcweir FixedLine FL_SETTINGS 143*cdf0e10cSrcweir { 144*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 145*cdf0e10cSrcweir Size = MAP_APPFONT ( 125 , 8 ) ; 146*cdf0e10cSrcweir Text [ en-US ] = "Settings" ; 147*cdf0e10cSrcweir }; 148*cdf0e10cSrcweir Control CNT_PICT 149*cdf0e10cSrcweir { 150*cdf0e10cSrcweir Border = TRUE ; 151*cdf0e10cSrcweir Pos = MAP_APPFONT ( 143 , 7 ) ; 152*cdf0e10cSrcweir Size = MAP_APPFONT ( 105 , 80 ) ; 153*cdf0e10cSrcweir }; 154*cdf0e10cSrcweir FixedText TXT_TEXT 155*cdf0e10cSrcweir { 156*cdf0e10cSrcweir Left = TRUE ; 157*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 102 ) ; 158*cdf0e10cSrcweir Size = MAP_APPFONT ( 125 , 8 ) ; 159*cdf0e10cSrcweir Text [ en-US ] = "~Text" ; 160*cdf0e10cSrcweir }; 161*cdf0e10cSrcweir Edit EDT_TEXT 162*cdf0e10cSrcweir { 163*cdf0e10cSrcweir HelpID = "sw:Edit:TP_DROPCAPS:EDT_TEXT"; 164*cdf0e10cSrcweir Border = TRUE ; 165*cdf0e10cSrcweir Left = TRUE ; 166*cdf0e10cSrcweir Pos = MAP_APPFONT ( 143 , 100 ) ; 167*cdf0e10cSrcweir Size = MAP_APPFONT ( 105 , 12 ) ; 168*cdf0e10cSrcweir TabStop = TRUE ; 169*cdf0e10cSrcweir MaxTextLength = 9 ; 170*cdf0e10cSrcweir }; 171*cdf0e10cSrcweir FixedText TXT_TEMPLATE 172*cdf0e10cSrcweir { 173*cdf0e10cSrcweir Left = TRUE ; 174*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 118 ) ; 175*cdf0e10cSrcweir Size = MAP_APPFONT ( 125 , 8 ) ; 176*cdf0e10cSrcweir Text [ en-US ] = "Character St~yle" ; 177*cdf0e10cSrcweir }; 178*cdf0e10cSrcweir ListBox BOX_TEMPLATE 179*cdf0e10cSrcweir { 180*cdf0e10cSrcweir HelpID = "sw:ListBox:TP_DROPCAPS:BOX_TEMPLATE"; 181*cdf0e10cSrcweir Border = TRUE ; 182*cdf0e10cSrcweir DropDown = TRUE ; 183*cdf0e10cSrcweir Pos = MAP_APPFONT ( 143 , 116 ) ; 184*cdf0e10cSrcweir Size = MAP_APPFONT ( 105 , 61 ) ; 185*cdf0e10cSrcweir TabStop = TRUE ; 186*cdf0e10cSrcweir }; 187*cdf0e10cSrcweir FixedLine FL_CONTENT 188*cdf0e10cSrcweir { 189*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 89 ) ; 190*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 191*cdf0e10cSrcweir Text [ en-US ] = "Contents" ; 192*cdf0e10cSrcweir }; 193*cdf0e10cSrcweir}; 194*cdf0e10cSrcweir // ********************************************************************** EOF 195*cdf0e10cSrcweir 196*cdf0e10cSrcweir 197*cdf0e10cSrcweir 198*cdf0e10cSrcweir 199*cdf0e10cSrcweir 200*cdf0e10cSrcweir 201*cdf0e10cSrcweir 202*cdf0e10cSrcweir 203*cdf0e10cSrcweir 204*cdf0e10cSrcweir 205*cdf0e10cSrcweir 206*cdf0e10cSrcweir 207*cdf0e10cSrcweir 208*cdf0e10cSrcweir 209*cdf0e10cSrcweir 210*cdf0e10cSrcweir 211*cdf0e10cSrcweir 212*cdf0e10cSrcweir 213*cdf0e10cSrcweir 214*cdf0e10cSrcweir 215*cdf0e10cSrcweir 216*cdf0e10cSrcweir 217*cdf0e10cSrcweir 218*cdf0e10cSrcweir 219*cdf0e10cSrcweir 220*cdf0e10cSrcweir 221*cdf0e10cSrcweir 222*cdf0e10cSrcweir 223*cdf0e10cSrcweir 224*cdf0e10cSrcweir 225*cdf0e10cSrcweir 226*cdf0e10cSrcweir 227*cdf0e10cSrcweir 228*cdf0e10cSrcweir 229*cdf0e10cSrcweir 230*cdf0e10cSrcweir 231*cdf0e10cSrcweir 232*cdf0e10cSrcweir 233*cdf0e10cSrcweir 234