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 <svtools/controldims.hrc> 29*cdf0e10cSrcweir#include <cuires.hrc> 30*cdf0e10cSrcweir#include "textattr.hrc" 31*cdf0e10cSrcweir#include "helpid.hrc" 32*cdf0e10cSrcweir#include <svx/dialogs.hrc> 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir // RID_SVXPAGE_TEXTATTR -------------------------------------------------- 35*cdf0e10cSrcweirTabPage RID_SVXPAGE_TEXTATTR 36*cdf0e10cSrcweir{ 37*cdf0e10cSrcweir HelpId = HID_PAGE_TEXTATTR ; 38*cdf0e10cSrcweir Hide = TRUE ; 39*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 40*cdf0e10cSrcweir Text [ en-US ] = "Text" ; 41*cdf0e10cSrcweir FixedLine FL_TEXT 42*cdf0e10cSrcweir { 43*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 44*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ; 45*cdf0e10cSrcweir Text [ en-US ] = "Text" ; 46*cdf0e10cSrcweir }; 47*cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_WIDTH 48*cdf0e10cSrcweir { 49*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_WIDTH"; 50*cdf0e10cSrcweir TabStop = TRUE ; 51*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 52*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 53*cdf0e10cSrcweir Text [ en-US ] = "Fit wi~dth to text" ; 54*cdf0e10cSrcweir }; 55*cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_HEIGHT 56*cdf0e10cSrcweir { 57*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_HEIGHT"; 58*cdf0e10cSrcweir TabStop = TRUE ; 59*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 28 ) ; 60*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 61*cdf0e10cSrcweir Text [ en-US ] = "Fit h~eight to text" ; 62*cdf0e10cSrcweir }; 63*cdf0e10cSrcweir TriStateBox TSB_FIT_TO_SIZE 64*cdf0e10cSrcweir { 65*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FIT_TO_SIZE"; 66*cdf0e10cSrcweir TabStop = TRUE ; 67*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 42 ) ; 68*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 69*cdf0e10cSrcweir Text [ en-US ] = "~Fit to frame" ; 70*cdf0e10cSrcweir }; 71*cdf0e10cSrcweir TriStateBox TSB_CONTOUR 72*cdf0e10cSrcweir { 73*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_CONTOUR"; 74*cdf0e10cSrcweir TabStop = TRUE ; 75*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 56 ) ; 76*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 77*cdf0e10cSrcweir Text [ en-US ] = "~Adjust to contour" ; 78*cdf0e10cSrcweir }; 79*cdf0e10cSrcweir TriStateBox TSB_WORDWRAP_TEXT 80*cdf0e10cSrcweir { 81*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_WORDWRAP_TEXT"; 82*cdf0e10cSrcweir TabStop = TRUE; 83*cdf0e10cSrcweir Pos = MAP_APPFONT( 132, 14 ) ; 84*cdf0e10cSrcweir Size = MAP_APPFONT( 127 , 10 ) ; 85*cdf0e10cSrcweir Text [ en-US ] = "~Word wrap text in shape"; 86*cdf0e10cSrcweir }; 87*cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_SIZE 88*cdf0e10cSrcweir { 89*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_SIZE"; 90*cdf0e10cSrcweir TabStop = TRUE; 91*cdf0e10cSrcweir Pos = MAP_APPFONT( 132, 28 ); 92*cdf0e10cSrcweir Size = MAP_APPFONT( 127 , 10 ); 93*cdf0e10cSrcweir Text [ en-US ] = "~Resize shape to fit text"; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir FixedLine FL_DISTANCE 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 72 ) ; 98*cdf0e10cSrcweir Size = MAP_APPFONT ( 114 , RSC_CD_FIXEDLINE_HEIGHT ) ; 99*cdf0e10cSrcweir Text [ en-US ] = "Spacing to borders" ; 100*cdf0e10cSrcweir }; 101*cdf0e10cSrcweir FixedText FT_LEFT 102*cdf0e10cSrcweir { 103*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 85 ) ; 104*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 105*cdf0e10cSrcweir Text [ en-US ] = "~Left" ; 106*cdf0e10cSrcweir }; 107*cdf0e10cSrcweir FixedText FT_RIGHT 108*cdf0e10cSrcweir { 109*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 101 ) ; 110*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 111*cdf0e10cSrcweir Text [ en-US ] = "~Right" ; 112*cdf0e10cSrcweir }; 113*cdf0e10cSrcweir FixedText FT_TOP 114*cdf0e10cSrcweir { 115*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 117 ) ; 116*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 117*cdf0e10cSrcweir Text [ en-US ] = "~Top" ; 118*cdf0e10cSrcweir }; 119*cdf0e10cSrcweir FixedText FT_BOTTOM 120*cdf0e10cSrcweir { 121*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 133 ) ; 122*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 123*cdf0e10cSrcweir Text [ en-US ] = "~Bottom" ; 124*cdf0e10cSrcweir }; 125*cdf0e10cSrcweir MetricField MTR_FLD_LEFT 126*cdf0e10cSrcweir { 127*cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_LEFT"; 128*cdf0e10cSrcweir Border = TRUE ; 129*cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 83 ) ; 130*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 131*cdf0e10cSrcweir TabStop = TRUE ; 132*cdf0e10cSrcweir Repeat = TRUE ; 133*cdf0e10cSrcweir Spin = TRUE ; 134*cdf0e10cSrcweir DecimalDigits = 2 ; 135*cdf0e10cSrcweir Unit = FUNIT_MM ; 136*cdf0e10cSrcweir Minimum = -10000 ; 137*cdf0e10cSrcweir First = -10000 ; 138*cdf0e10cSrcweir Maximum = 10000 ; 139*cdf0e10cSrcweir Last = 10000 ; 140*cdf0e10cSrcweir SpinSize = 10 ; 141*cdf0e10cSrcweir }; 142*cdf0e10cSrcweir MetricField MTR_FLD_RIGHT 143*cdf0e10cSrcweir { 144*cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_RIGHT"; 145*cdf0e10cSrcweir Border = TRUE ; 146*cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 99 ) ; 147*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 148*cdf0e10cSrcweir TabStop = TRUE ; 149*cdf0e10cSrcweir Repeat = TRUE ; 150*cdf0e10cSrcweir Spin = TRUE ; 151*cdf0e10cSrcweir DecimalDigits = 2 ; 152*cdf0e10cSrcweir Unit = FUNIT_MM ; 153*cdf0e10cSrcweir Minimum = -10000 ; 154*cdf0e10cSrcweir First = -10000 ; 155*cdf0e10cSrcweir Maximum = 10000 ; 156*cdf0e10cSrcweir Last = 10000 ; 157*cdf0e10cSrcweir SpinSize = 10 ; 158*cdf0e10cSrcweir }; 159*cdf0e10cSrcweir MetricField MTR_FLD_TOP 160*cdf0e10cSrcweir { 161*cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_TOP"; 162*cdf0e10cSrcweir Border = TRUE ; 163*cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 115 ) ; 164*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 165*cdf0e10cSrcweir TabStop = TRUE ; 166*cdf0e10cSrcweir Repeat = TRUE ; 167*cdf0e10cSrcweir Spin = TRUE ; 168*cdf0e10cSrcweir DecimalDigits = 2 ; 169*cdf0e10cSrcweir Unit = FUNIT_MM ; 170*cdf0e10cSrcweir Minimum = -10000 ; 171*cdf0e10cSrcweir First = -10000 ; 172*cdf0e10cSrcweir Maximum = 10000 ; 173*cdf0e10cSrcweir Last = 10000 ; 174*cdf0e10cSrcweir SpinSize = 10 ; 175*cdf0e10cSrcweir }; 176*cdf0e10cSrcweir MetricField MTR_FLD_BOTTOM 177*cdf0e10cSrcweir { 178*cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_BOTTOM"; 179*cdf0e10cSrcweir Border = TRUE ; 180*cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 131 ) ; 181*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 182*cdf0e10cSrcweir TabStop = TRUE ; 183*cdf0e10cSrcweir Repeat = TRUE ; 184*cdf0e10cSrcweir Spin = TRUE ; 185*cdf0e10cSrcweir DecimalDigits = 2 ; 186*cdf0e10cSrcweir Unit = FUNIT_MM ; 187*cdf0e10cSrcweir Minimum = -10000 ; 188*cdf0e10cSrcweir First = -10000 ; 189*cdf0e10cSrcweir Maximum = 10000 ; 190*cdf0e10cSrcweir Last = 10000 ; 191*cdf0e10cSrcweir SpinSize = 10 ; 192*cdf0e10cSrcweir }; 193*cdf0e10cSrcweir FixedLine FL_SEPARATOR 194*cdf0e10cSrcweir { 195*cdf0e10cSrcweir Pos = MAP_APPFONT ( 121 , 83 ) ; 196*cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH , 66 ) ; 197*cdf0e10cSrcweir Vert = TRUE; 198*cdf0e10cSrcweir }; 199*cdf0e10cSrcweir FixedLine FL_POSITION 200*cdf0e10cSrcweir { 201*cdf0e10cSrcweir Pos = MAP_APPFONT ( 126 , 72 ) ; 202*cdf0e10cSrcweir Size = MAP_APPFONT ( 128 , RSC_CD_FIXEDLINE_HEIGHT ) ; 203*cdf0e10cSrcweir Text [ en-US ] = "Text anchor" ; 204*cdf0e10cSrcweir }; 205*cdf0e10cSrcweir Control CTL_POSITION 206*cdf0e10cSrcweir { 207*cdf0e10cSrcweir HelpId = HID_TEXTATTR_CTL_POSITION ; 208*cdf0e10cSrcweir Border = TRUE ; 209*cdf0e10cSrcweir Pos = MAP_APPFONT ( 132 , 83 ) ; 210*cdf0e10cSrcweir Size = MAP_APPFONT ( 116 , 52 ) ; 211*cdf0e10cSrcweir TabStop = TRUE ; 212*cdf0e10cSrcweir }; 213*cdf0e10cSrcweir TriStateBox TSB_FULL_WIDTH 214*cdf0e10cSrcweir { 215*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FULL_WIDTH"; 216*cdf0e10cSrcweir TabStop = TRUE ; 217*cdf0e10cSrcweir Pos = MAP_APPFONT ( 132 , 139 ) ; 218*cdf0e10cSrcweir Size = MAP_APPFONT ( 116 , 10 ) ; 219*cdf0e10cSrcweir Text [ en-US ] = "Full ~width" ; 220*cdf0e10cSrcweir }; 221*cdf0e10cSrcweir}; 222*cdf0e10cSrcweir // ********************************************************************** EOF 223*cdf0e10cSrcweir 224*cdf0e10cSrcweir 225*cdf0e10cSrcweir 226*cdf0e10cSrcweir 227*cdf0e10cSrcweir 228*cdf0e10cSrcweir 229*cdf0e10cSrcweir 230*cdf0e10cSrcweir 231*cdf0e10cSrcweir 232*cdf0e10cSrcweir 233*cdf0e10cSrcweir 234*cdf0e10cSrcweir 235*cdf0e10cSrcweir 236*cdf0e10cSrcweir 237*cdf0e10cSrcweir 238*cdf0e10cSrcweir 239*cdf0e10cSrcweir 240*cdf0e10cSrcweir 241*cdf0e10cSrcweir 242*cdf0e10cSrcweir 243*cdf0e10cSrcweir 244*cdf0e10cSrcweir 245*cdf0e10cSrcweir 246*cdf0e10cSrcweir 247*cdf0e10cSrcweir 248*cdf0e10cSrcweir 249*cdf0e10cSrcweir 250*cdf0e10cSrcweir 251*cdf0e10cSrcweir 252*cdf0e10cSrcweir 253*cdf0e10cSrcweir 254*cdf0e10cSrcweir 255*cdf0e10cSrcweir 256