textattr.src (0e2af6af) textattr.src (cf3a4808)
1/**************************************************************
1/**************************************************************
2 *
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
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 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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.
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 *
19 *
20 *************************************************************/
21
22
20 *************************************************************/
21
22
23 // include ---------------------------------------------------------------
23
24// include ---------------------------------------------------------------
24#include <svtools/controldims.hrc>
25#include <cuires.hrc>
26#include "textattr.hrc"
27#include "helpid.hrc"
28#include <svx/dialogs.hrc>
29
25#include <svtools/controldims.hrc>
26#include <cuires.hrc>
27#include "textattr.hrc"
28#include "helpid.hrc"
29#include <svx/dialogs.hrc>
30
30 // RID_SVXPAGE_TEXTATTR --------------------------------------------------
31// RID_SVXPAGE_TEXTATTR --------------------------------------------------
31TabPage RID_SVXPAGE_TEXTATTR
32{
33 HelpId = HID_PAGE_TEXTATTR ;
34 Hide = TRUE ;
32TabPage RID_SVXPAGE_TEXTATTR
33{
34 HelpId = HID_PAGE_TEXTATTR ;
35 Hide = TRUE ;
35 Size = MAP_APPFONT ( 260 , 185 ) ;
36 Size = MAP_APPFONT ( 260, 185 ) ;
36 Text [ en-US ] = "Text" ;
37 FixedLine FL_TEXT
38 {
37 Text [ en-US ] = "Text" ;
38 FixedLine FL_TEXT
39 {
39 Pos = MAP_APPFONT ( 6 , 3 ) ;
40 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
40 Pos = MAP_APPFONT ( 6, 3 ) ;
41 Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ;
41 Text [ en-US ] = "Text" ;
42 };
43 TriStateBox TSB_AUTOGROW_WIDTH
44 {
42 Text [ en-US ] = "Text" ;
43 };
44 TriStateBox TSB_AUTOGROW_WIDTH
45 {
45 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_WIDTH";
46 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_WIDTH" ;
46 TabStop = TRUE ;
47 TabStop = TRUE ;
47 Pos = MAP_APPFONT ( 12 , 14 ) ;
48 Size = MAP_APPFONT ( 102 , 10 ) ;
48 Pos = MAP_APPFONT ( 12, 14 ) ;
49 Size = MAP_APPFONT ( 102, 10 ) ;
49 Text [ en-US ] = "Fit wi~dth to text" ;
50 };
51 TriStateBox TSB_AUTOGROW_HEIGHT
52 {
50 Text [ en-US ] = "Fit wi~dth to text" ;
51 };
52 TriStateBox TSB_AUTOGROW_HEIGHT
53 {
53 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_HEIGHT";
54 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_HEIGHT" ;
54 TabStop = TRUE ;
55 TabStop = TRUE ;
55 Pos = MAP_APPFONT ( 12 , 28 ) ;
56 Size = MAP_APPFONT ( 102 , 10 ) ;
56 Pos = MAP_APPFONT ( 12, 28 ) ;
57 Size = MAP_APPFONT ( 102, 10 ) ;
57 Text [ en-US ] = "Fit h~eight to text" ;
58 };
59 TriStateBox TSB_FIT_TO_SIZE
60 {
58 Text [ en-US ] = "Fit h~eight to text" ;
59 };
60 TriStateBox TSB_FIT_TO_SIZE
61 {
61 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FIT_TO_SIZE";
62 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FIT_TO_SIZE" ;
62 TabStop = TRUE ;
63 TabStop = TRUE ;
63 Pos = MAP_APPFONT ( 12 , 42 ) ;
64 Size = MAP_APPFONT ( 102 , 10 ) ;
64 Pos = MAP_APPFONT ( 12, 42 ) ;
65 Size = MAP_APPFONT ( 102, 10 ) ;
65 Text [ en-US ] = "~Fit to frame" ;
66 };
67 TriStateBox TSB_CONTOUR
68 {
66 Text [ en-US ] = "~Fit to frame" ;
67 };
68 TriStateBox TSB_CONTOUR
69 {
69 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_CONTOUR";
70 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_CONTOUR" ;
70 TabStop = TRUE ;
71 TabStop = TRUE ;
71 Pos = MAP_APPFONT ( 12 , 56 ) ;
72 Size = MAP_APPFONT ( 102 , 10 ) ;
72 Pos = MAP_APPFONT ( 12, 56 ) ;
73 Size = MAP_APPFONT ( 102, 10 ) ;
73 Text [ en-US ] = "~Adjust to contour" ;
74 };
75 TriStateBox TSB_WORDWRAP_TEXT
76 {
74 Text [ en-US ] = "~Adjust to contour" ;
75 };
76 TriStateBox TSB_WORDWRAP_TEXT
77 {
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";
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" ;
82 };
83 TriStateBox TSB_AUTOGROW_SIZE
84 {
83 };
84 TriStateBox TSB_AUTOGROW_SIZE
85 {
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";
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" ;
90 };
91 FixedLine FL_DISTANCE
92 {
91 };
92 FixedLine FL_DISTANCE
93 {
93 Pos = MAP_APPFONT ( 6 , 72 ) ;
94 Size = MAP_APPFONT ( 114 , RSC_CD_FIXEDLINE_HEIGHT ) ;
94 Pos = MAP_APPFONT ( 6, 72 ) ;
95 Size = MAP_APPFONT ( 114, RSC_CD_FIXEDLINE_HEIGHT ) ;
95 Text [ en-US ] = "Spacing to borders" ;
96 };
97 FixedText FT_LEFT
98 {
96 Text [ en-US ] = "Spacing to borders" ;
97 };
98 FixedText FT_LEFT
99 {
99 Pos = MAP_APPFONT ( 12 , 85 ) ;
100 Size = MAP_APPFONT ( 50 , 8 ) ;
100 Pos = MAP_APPFONT ( 12, 85 ) ;
101 Size = MAP_APPFONT ( 50, 8 ) ;
101 Text [ en-US ] = "~Left" ;
102 };
103 FixedText FT_RIGHT
104 {
102 Text [ en-US ] = "~Left" ;
103 };
104 FixedText FT_RIGHT
105 {
105 Pos = MAP_APPFONT ( 12 , 101 ) ;
106 Size = MAP_APPFONT ( 50 , 8 ) ;
106 Pos = MAP_APPFONT ( 12, 101 ) ;
107 Size = MAP_APPFONT ( 50, 8 ) ;
107 Text [ en-US ] = "~Right" ;
108 };
109 FixedText FT_TOP
110 {
108 Text [ en-US ] = "~Right" ;
109 };
110 FixedText FT_TOP
111 {
111 Pos = MAP_APPFONT ( 12 , 117 ) ;
112 Size = MAP_APPFONT ( 50 , 8 ) ;
112 Pos = MAP_APPFONT ( 12, 117 ) ;
113 Size = MAP_APPFONT ( 50, 8 ) ;
113 Text [ en-US ] = "~Top" ;
114 };
115 FixedText FT_BOTTOM
116 {
114 Text [ en-US ] = "~Top" ;
115 };
116 FixedText FT_BOTTOM
117 {
117 Pos = MAP_APPFONT ( 12 , 133 ) ;
118 Size = MAP_APPFONT ( 50 , 8 ) ;
118 Pos = MAP_APPFONT ( 12, 133 ) ;
119 Size = MAP_APPFONT ( 50, 8 ) ;
119 Text [ en-US ] = "~Bottom" ;
120 };
121 MetricField MTR_FLD_LEFT
122 {
120 Text [ en-US ] = "~Bottom" ;
121 };
122 MetricField MTR_FLD_LEFT
123 {
123 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_LEFT";
124 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_LEFT" ;
124 Border = TRUE ;
125 Border = TRUE ;
125 Pos = MAP_APPFONT ( 69 , 83 ) ;
126 Size = MAP_APPFONT ( 45 , 12 ) ;
126 Pos = MAP_APPFONT ( 69, 83 ) ;
127 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 {
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 {
140 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_RIGHT";
141 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_RIGHT" ;
141 Border = TRUE ;
142 Border = TRUE ;
142 Pos = MAP_APPFONT ( 69 , 99 ) ;
143 Size = MAP_APPFONT ( 45 , 12 ) ;
143 Pos = MAP_APPFONT ( 69, 99 ) ;
144 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 {
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 {
157 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_TOP";
158 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_TOP" ;
158 Border = TRUE ;
159 Border = TRUE ;
159 Pos = MAP_APPFONT ( 69 , 115 ) ;
160 Size = MAP_APPFONT ( 45 , 12 ) ;
160 Pos = MAP_APPFONT ( 69, 115 ) ;
161 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 {
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 {
174 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_BOTTOM";
175 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_BOTTOM" ;
175 Border = TRUE ;
176 Border = TRUE ;
176 Pos = MAP_APPFONT ( 69 , 131 ) ;
177 Size = MAP_APPFONT ( 45 , 12 ) ;
177 Pos = MAP_APPFONT ( 69, 131 ) ;
178 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 {
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 {
191 Pos = MAP_APPFONT ( 121 , 83 ) ;
192 Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH , 66 ) ;
193 Vert = TRUE;
192 Pos = MAP_APPFONT ( 121, 83 ) ;
193 Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH, 66 ) ;
194 Vert = TRUE ;
194 };
195 FixedLine FL_POSITION
196 {
195 };
196 FixedLine FL_POSITION
197 {
197 Pos = MAP_APPFONT ( 126 , 72 ) ;
198 Size = MAP_APPFONT ( 128 , RSC_CD_FIXEDLINE_HEIGHT ) ;
198 Pos = MAP_APPFONT ( 126, 72 ) ;
199 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 ;
200 Text [ en-US ] = "Text anchor" ;
201 };
202 Control CTL_POSITION
203 {
204 HelpId = HID_TEXTATTR_CTL_POSITION ;
205 Border = TRUE ;
205 Pos = MAP_APPFONT ( 132 , 83 ) ;
206 Size = MAP_APPFONT ( 116 , 52 ) ;
206 Pos = MAP_APPFONT ( 132, 83 ) ;
207 Size = MAP_APPFONT ( 116, 52 ) ;
207 TabStop = TRUE ;
208 };
209 TriStateBox TSB_FULL_WIDTH
210 {
208 TabStop = TRUE ;
209 };
210 TriStateBox TSB_FULL_WIDTH
211 {
211 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FULL_WIDTH";
212 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FULL_WIDTH" ;
212 TabStop = TRUE ;
213 TabStop = TRUE ;
213 Pos = MAP_APPFONT ( 132 , 139 ) ;
214 Size = MAP_APPFONT ( 116 , 10 ) ;
214 Pos = MAP_APPFONT ( 132, 139 ) ;
215 Size = MAP_APPFONT ( 116, 10 ) ;
215 Text [ en-US ] = "Full ~width" ;
216 };
217};
216 Text [ en-US ] = "Full ~width" ;
217 };
218};
218 // ********************************************************************** EOF
219
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
220// ********************************************************************** EOF