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