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