1*0e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0e2af6afSAndrew Rist * distributed with this work for additional information 6*0e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 9*0e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10*0e2af6afSAndrew Rist * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0e2af6afSAndrew Rist * 13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an 15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 17*0e2af6afSAndrew Rist * specific language governing permissions and limitations 18*0e2af6afSAndrew Rist * under the License. 19*0e2af6afSAndrew Rist * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir // include --------------------------------------------------------------- 24cdf0e10cSrcweir#include <svtools/controldims.hrc> 25cdf0e10cSrcweir#include <cuires.hrc> 26cdf0e10cSrcweir#include "textattr.hrc" 27cdf0e10cSrcweir#include "helpid.hrc" 28cdf0e10cSrcweir#include <svx/dialogs.hrc> 29cdf0e10cSrcweir 30cdf0e10cSrcweir // RID_SVXPAGE_TEXTATTR -------------------------------------------------- 31cdf0e10cSrcweirTabPage RID_SVXPAGE_TEXTATTR 32cdf0e10cSrcweir{ 33cdf0e10cSrcweir HelpId = HID_PAGE_TEXTATTR ; 34cdf0e10cSrcweir Hide = TRUE ; 35cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 36cdf0e10cSrcweir Text [ en-US ] = "Text" ; 37cdf0e10cSrcweir FixedLine FL_TEXT 38cdf0e10cSrcweir { 39cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 40cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ; 41cdf0e10cSrcweir Text [ en-US ] = "Text" ; 42cdf0e10cSrcweir }; 43cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_WIDTH 44cdf0e10cSrcweir { 45cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_WIDTH"; 46cdf0e10cSrcweir TabStop = TRUE ; 47cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 48cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 49cdf0e10cSrcweir Text [ en-US ] = "Fit wi~dth to text" ; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_HEIGHT 52cdf0e10cSrcweir { 53cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_HEIGHT"; 54cdf0e10cSrcweir TabStop = TRUE ; 55cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 28 ) ; 56cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 57cdf0e10cSrcweir Text [ en-US ] = "Fit h~eight to text" ; 58cdf0e10cSrcweir }; 59cdf0e10cSrcweir TriStateBox TSB_FIT_TO_SIZE 60cdf0e10cSrcweir { 61cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FIT_TO_SIZE"; 62cdf0e10cSrcweir TabStop = TRUE ; 63cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 42 ) ; 64cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 65cdf0e10cSrcweir Text [ en-US ] = "~Fit to frame" ; 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir TriStateBox TSB_CONTOUR 68cdf0e10cSrcweir { 69cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_CONTOUR"; 70cdf0e10cSrcweir TabStop = TRUE ; 71cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 56 ) ; 72cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 10 ) ; 73cdf0e10cSrcweir Text [ en-US ] = "~Adjust to contour" ; 74cdf0e10cSrcweir }; 75cdf0e10cSrcweir TriStateBox TSB_WORDWRAP_TEXT 76cdf0e10cSrcweir { 77cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_WORDWRAP_TEXT"; 78cdf0e10cSrcweir TabStop = TRUE; 79cdf0e10cSrcweir Pos = MAP_APPFONT( 132, 14 ) ; 80cdf0e10cSrcweir Size = MAP_APPFONT( 127 , 10 ) ; 81cdf0e10cSrcweir Text [ en-US ] = "~Word wrap text in shape"; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_SIZE 84cdf0e10cSrcweir { 85cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_SIZE"; 86cdf0e10cSrcweir TabStop = TRUE; 87cdf0e10cSrcweir Pos = MAP_APPFONT( 132, 28 ); 88cdf0e10cSrcweir Size = MAP_APPFONT( 127 , 10 ); 89cdf0e10cSrcweir Text [ en-US ] = "~Resize shape to fit text"; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir FixedLine FL_DISTANCE 92cdf0e10cSrcweir { 93cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 72 ) ; 94cdf0e10cSrcweir Size = MAP_APPFONT ( 114 , RSC_CD_FIXEDLINE_HEIGHT ) ; 95cdf0e10cSrcweir Text [ en-US ] = "Spacing to borders" ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir FixedText FT_LEFT 98cdf0e10cSrcweir { 99cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 85 ) ; 100cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 101cdf0e10cSrcweir Text [ en-US ] = "~Left" ; 102cdf0e10cSrcweir }; 103cdf0e10cSrcweir FixedText FT_RIGHT 104cdf0e10cSrcweir { 105cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 101 ) ; 106cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 107cdf0e10cSrcweir Text [ en-US ] = "~Right" ; 108cdf0e10cSrcweir }; 109cdf0e10cSrcweir FixedText FT_TOP 110cdf0e10cSrcweir { 111cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 117 ) ; 112cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 113cdf0e10cSrcweir Text [ en-US ] = "~Top" ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir FixedText FT_BOTTOM 116cdf0e10cSrcweir { 117cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 133 ) ; 118cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 119cdf0e10cSrcweir Text [ en-US ] = "~Bottom" ; 120cdf0e10cSrcweir }; 121cdf0e10cSrcweir MetricField MTR_FLD_LEFT 122cdf0e10cSrcweir { 123cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_LEFT"; 124cdf0e10cSrcweir Border = TRUE ; 125cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 83 ) ; 126cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 127cdf0e10cSrcweir TabStop = TRUE ; 128cdf0e10cSrcweir Repeat = TRUE ; 129cdf0e10cSrcweir Spin = TRUE ; 130cdf0e10cSrcweir DecimalDigits = 2 ; 131cdf0e10cSrcweir Unit = FUNIT_MM ; 132cdf0e10cSrcweir Minimum = -10000 ; 133cdf0e10cSrcweir First = -10000 ; 134cdf0e10cSrcweir Maximum = 10000 ; 135cdf0e10cSrcweir Last = 10000 ; 136cdf0e10cSrcweir SpinSize = 10 ; 137cdf0e10cSrcweir }; 138cdf0e10cSrcweir MetricField MTR_FLD_RIGHT 139cdf0e10cSrcweir { 140cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_RIGHT"; 141cdf0e10cSrcweir Border = TRUE ; 142cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 99 ) ; 143cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 144cdf0e10cSrcweir TabStop = TRUE ; 145cdf0e10cSrcweir Repeat = TRUE ; 146cdf0e10cSrcweir Spin = TRUE ; 147cdf0e10cSrcweir DecimalDigits = 2 ; 148cdf0e10cSrcweir Unit = FUNIT_MM ; 149cdf0e10cSrcweir Minimum = -10000 ; 150cdf0e10cSrcweir First = -10000 ; 151cdf0e10cSrcweir Maximum = 10000 ; 152cdf0e10cSrcweir Last = 10000 ; 153cdf0e10cSrcweir SpinSize = 10 ; 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir MetricField MTR_FLD_TOP 156cdf0e10cSrcweir { 157cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_TOP"; 158cdf0e10cSrcweir Border = TRUE ; 159cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 115 ) ; 160cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 161cdf0e10cSrcweir TabStop = TRUE ; 162cdf0e10cSrcweir Repeat = TRUE ; 163cdf0e10cSrcweir Spin = TRUE ; 164cdf0e10cSrcweir DecimalDigits = 2 ; 165cdf0e10cSrcweir Unit = FUNIT_MM ; 166cdf0e10cSrcweir Minimum = -10000 ; 167cdf0e10cSrcweir First = -10000 ; 168cdf0e10cSrcweir Maximum = 10000 ; 169cdf0e10cSrcweir Last = 10000 ; 170cdf0e10cSrcweir SpinSize = 10 ; 171cdf0e10cSrcweir }; 172cdf0e10cSrcweir MetricField MTR_FLD_BOTTOM 173cdf0e10cSrcweir { 174cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_BOTTOM"; 175cdf0e10cSrcweir Border = TRUE ; 176cdf0e10cSrcweir Pos = MAP_APPFONT ( 69 , 131 ) ; 177cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 178cdf0e10cSrcweir TabStop = TRUE ; 179cdf0e10cSrcweir Repeat = TRUE ; 180cdf0e10cSrcweir Spin = TRUE ; 181cdf0e10cSrcweir DecimalDigits = 2 ; 182cdf0e10cSrcweir Unit = FUNIT_MM ; 183cdf0e10cSrcweir Minimum = -10000 ; 184cdf0e10cSrcweir First = -10000 ; 185cdf0e10cSrcweir Maximum = 10000 ; 186cdf0e10cSrcweir Last = 10000 ; 187cdf0e10cSrcweir SpinSize = 10 ; 188cdf0e10cSrcweir }; 189cdf0e10cSrcweir FixedLine FL_SEPARATOR 190cdf0e10cSrcweir { 191cdf0e10cSrcweir Pos = MAP_APPFONT ( 121 , 83 ) ; 192cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH , 66 ) ; 193cdf0e10cSrcweir Vert = TRUE; 194cdf0e10cSrcweir }; 195cdf0e10cSrcweir FixedLine FL_POSITION 196cdf0e10cSrcweir { 197cdf0e10cSrcweir Pos = MAP_APPFONT ( 126 , 72 ) ; 198cdf0e10cSrcweir Size = MAP_APPFONT ( 128 , RSC_CD_FIXEDLINE_HEIGHT ) ; 199cdf0e10cSrcweir Text [ en-US ] = "Text anchor" ; 200cdf0e10cSrcweir }; 201cdf0e10cSrcweir Control CTL_POSITION 202cdf0e10cSrcweir { 203cdf0e10cSrcweir HelpId = HID_TEXTATTR_CTL_POSITION ; 204cdf0e10cSrcweir Border = TRUE ; 205cdf0e10cSrcweir Pos = MAP_APPFONT ( 132 , 83 ) ; 206cdf0e10cSrcweir Size = MAP_APPFONT ( 116 , 52 ) ; 207cdf0e10cSrcweir TabStop = TRUE ; 208cdf0e10cSrcweir }; 209cdf0e10cSrcweir TriStateBox TSB_FULL_WIDTH 210cdf0e10cSrcweir { 211cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FULL_WIDTH"; 212cdf0e10cSrcweir TabStop = TRUE ; 213cdf0e10cSrcweir Pos = MAP_APPFONT ( 132 , 139 ) ; 214cdf0e10cSrcweir Size = MAP_APPFONT ( 116 , 10 ) ; 215cdf0e10cSrcweir Text [ en-US ] = "Full ~width" ; 216cdf0e10cSrcweir }; 217cdf0e10cSrcweir}; 218cdf0e10cSrcweir // ********************************************************************** EOF 219cdf0e10cSrcweir 220cdf0e10cSrcweir 221cdf0e10cSrcweir 222cdf0e10cSrcweir 223cdf0e10cSrcweir 224cdf0e10cSrcweir 225cdf0e10cSrcweir 226cdf0e10cSrcweir 227cdf0e10cSrcweir 228cdf0e10cSrcweir 229cdf0e10cSrcweir 230cdf0e10cSrcweir 231cdf0e10cSrcweir 232cdf0e10cSrcweir 233cdf0e10cSrcweir 234cdf0e10cSrcweir 235cdf0e10cSrcweir 236cdf0e10cSrcweir 237cdf0e10cSrcweir 238cdf0e10cSrcweir 239cdf0e10cSrcweir 240cdf0e10cSrcweir 241cdf0e10cSrcweir 242cdf0e10cSrcweir 243cdf0e10cSrcweir 244cdf0e10cSrcweir 245cdf0e10cSrcweir 246cdf0e10cSrcweir 247cdf0e10cSrcweir 248cdf0e10cSrcweir 249cdf0e10cSrcweir 250cdf0e10cSrcweir 251cdf0e10cSrcweir 252