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