1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: transfrm.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 // include ------------------------------------------------------------------
31 #include <svtools/controldims.hrc>
33 #include <svx/dialogs.hrc>
34 #include "transfrm.hrc"
35 // pragma -------------------------------------------------------------------
37 #define MA_TABPAGE_HEIGHT 185
39 // RID_SVXPAGE_POSITION_SIZE ------------------------------------------------
40 TabPage RID_SVXPAGE_POSITION_SIZE
42 HelpId = HID_TRANS_POSITION_SIZE ;
44 Text [ en-US ] = "Position and Size" ;
45 Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
49 Pos = MAP_APPFONT ( 6 , 3 ) ;
50 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
51 Text [ en-US ] = "Position" ;
55 Pos = MAP_APPFONT ( 12 , 16 + 8 ) ;
56 Size = MAP_APPFONT ( 40 , 10 ) ;
57 Text [ en-US ] = "Position ~X" ;
61 Pos = MAP_APPFONT ( 12 , 32 + 8 ) ;
62 Size = MAP_APPFONT ( 40 , 10 ) ;
63 Text [ en-US ] = "Position ~Y" ;
65 MetricField MTR_FLD_POS_X
68 Pos = MAP_APPFONT ( 56 , 14 + 8 ) ;
69 Size = MAP_APPFONT ( 54 , 12 ) ;
80 MetricField MTR_FLD_POS_Y
83 Pos = MAP_APPFONT ( 56 , 30 + 8 ) ;
84 Size = MAP_APPFONT ( 54 , 12 ) ;
95 FixedText FT_POSREFERENCE
97 Pos = MAP_APPFONT ( 178 , 2 + 8 ) ;
98 Size = MAP_APPFONT ( 70 , 10 ) ;
99 Text [ en-US ] = "Base point";
103 HelpId = HID_TPPOSITION_CTRL ;
105 Pos = MAP_APPFONT ( 178 , 12 + 8 ) ;
106 Size = MAP_APPFONT ( 48 , 34 ) ;
108 QuickHelpText [ en-US ] = "Base point" ;
115 Pos = MAP_APPFONT ( 6 , 56 ) ;
116 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
117 Text [ en-US ] = "Size" ;
121 Pos = MAP_APPFONT ( 12 , 16 + 61 ) ;
122 Size = MAP_APPFONT ( 40 , 10 ) ;
123 Text [ en-US ] = "Wi~dth" ;
127 Pos = MAP_APPFONT ( 12 , 32 + 61 ) ;
128 Size = MAP_APPFONT ( 40 , 10 ) ;
129 Text [ en-US ] = "H~eight" ;
131 MetricField MTR_FLD_WIDTH
134 Pos = MAP_APPFONT ( 56 , 14 + 61 ) ;
135 Size = MAP_APPFONT ( 54 , 12 ) ;
141 StrictFormat = TRUE ;
146 MetricField MTR_FLD_HEIGHT
149 Pos = MAP_APPFONT ( 56 , 30 + 61 ) ;
150 Size = MAP_APPFONT ( 54 , 12 ) ;
156 StrictFormat = TRUE ;
161 FixedText FT_SIZEREFERENCE
163 Pos = MAP_APPFONT ( 178 , 2 + 61 ) ;
164 Size = MAP_APPFONT ( 70 , 10 ) ;
165 Text [ en-US ] = "Base point";
169 HelpId = HID_TPSIZE_CTRL ;
171 Pos = MAP_APPFONT ( 178 , 12 + 61 ) ;
172 Size = MAP_APPFONT ( 48 , 34 ) ;
174 QuickHelpText [ en-US ] = "Base point" ;
178 Pos = MAP_APPFONT ( 12 , 47 + 61 ) ;
179 Size = MAP_APPFONT ( 162 , 10 ) ;
181 Text [ en-US ] = "~Keep ratio" ;
188 Pos = MAP_APPFONT ( 6 , 120 ) ;
189 Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
190 Text [ en-US ] = "Protect" ;
193 TriStateBox TSB_POSPROTECT
195 Pos = MAP_APPFONT ( 12 , 10 + 120 ) ;
196 Size = MAP_APPFONT ( 113 , 10 ) ;
197 Text [ en-US ] = "Position" ;
201 TriStateBox TSB_SIZEPROTECT
203 Pos = MAP_APPFONT ( 12 , 24 + 120 ) ;
204 Size = MAP_APPFONT ( 113 , 10 ) ;
205 Text [ en-US ] = "~Size" ;
213 Pos = MAP_APPFONT ( 6 + 123 + 6 , 120 ) ;
214 Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
215 Text [ en-US ] = "Adapt" ;
217 TriStateBox TSB_AUTOGROW_WIDTH
219 Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ;
220 Size = MAP_APPFONT ( 113 , 10 ) ;
221 Text [ en-US ] = "~Fit width to text" ;
224 TriStateBox TSB_AUTOGROW_HEIGHT
226 Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ;
227 Size = MAP_APPFONT ( 113 , 10 ) ;
228 Text [ en-US ] = "Fit ~height to text" ;
234 Pos = MAP_APPFONT( 6 + 119 + 5, 128 );
235 Size = MAP_APPFONT( RSC_CD_FIXEDLINE_WIDTH, 26 );
243 Pos = MAP_APPFONT ( 6 + 123 + 6 , 120 ) ;
244 Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
246 Text [ en-US ] = "Anchor" ;
250 Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ;
251 Size = MAP_APPFONT ( 37 , 10 ) ;
253 Text [ en-US ] = "~Anchor" ;
257 Pos = MAP_APPFONT ( 46 + 121 + 16 , 8 + 120 ) ;
258 Size = MAP_APPFONT ( 54 , 60 ) ;
261 StringList [ en-US ] =
263 < "To paragraph" ; > ;
264 < "As character" ; > ;
271 Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ;
272 Size = MAP_APPFONT ( 37 , 10 ) ;
274 Text [ en-US ] = "P~osition";
278 Pos = MAP_APPFONT ( 46 + 121 + 16 , 22 + 120 );
279 Size = MAP_APPFONT ( 54 , 60 ) ;
282 StringList [ en-US ] =
288 < "Top of character" ; > ;
289 < "Center of character" ; > ;
290 < "Bottom of character" ; > ;
291 < "Top of line" ; > ;
292 < "Center of line" ; > ;
293 < "Bottom of line" ; > ;
298 // RID_SVXPAGE_ANGLE --------------------------------------------------------
299 TabPage RID_SVXPAGE_ANGLE
301 HelpId = HID_TRANS_ANGLE ;
303 Text [ en-US ] = "Angle" ;
304 Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
305 FixedLine FL_POSITION
307 Pos = MAP_APPFONT ( 6 , 3 ) ;
308 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
309 Text [ en-US ] = "Pivot point" ;
313 Pos = MAP_APPFONT ( 12 , 16 + 11 ) ;
314 Size = MAP_APPFONT ( 40 , 10 ) ;
315 Text [ en-US ] = "Position ~X" ;
319 Pos = MAP_APPFONT ( 12 , 32 + 11 ) ;
320 Size = MAP_APPFONT ( 40 , 10 ) ;
321 Text [ en-US ] = "Position ~Y" ;
323 MetricField MTR_FLD_POS_X
326 Pos = MAP_APPFONT ( 56 , 14 + 11 ) ;
327 Size = MAP_APPFONT ( 54 , 12 ) ;
333 StrictFormat = TRUE ;
338 MetricField MTR_FLD_POS_Y
341 Pos = MAP_APPFONT ( 56 , 30 + 11 ) ;
342 Size = MAP_APPFONT ( 54 , 12 ) ;
348 StrictFormat = TRUE ;
353 FixedText FT_POSPRESETS
355 Pos = MAP_APPFONT ( 178 , 14 ) ;
356 Size = MAP_APPFONT ( 70 , 8 ) ;
357 Text [ en-US ] = "Default settings";
361 HelpId = HID_TPROTATION_CTRL1 ;
363 Pos = MAP_APPFONT ( 178 , 14 + 11 ) ;
364 Size = MAP_APPFONT ( 70 , 48 ) ;
366 QuickHelpText [ en-US ] = "Rotation point" ;
370 Pos = MAP_APPFONT ( 6 , 71 + 11 ) ;
371 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
372 Text [ en-US ] = "Rotation angle" ;
376 Pos = MAP_APPFONT ( 12 , 84 + 22 ) ;
377 Size = MAP_APPFONT ( 40 , 10 ) ;
378 Text [ en-US ] = "~Angle" ;
380 MetricField MTR_FLD_ANGLE
383 Pos = MAP_APPFONT ( 56 , 82 + 22 ) ;
384 Size = MAP_APPFONT ( 54 , 12 ) ;
390 StrictFormat = TRUE ;
392 Unit = FUNIT_CUSTOM ;
393 CustomUnitText [ en-US ] = " degrees" ;
396 FixedText FT_ANGLEPRESETS
398 Pos = MAP_APPFONT ( 178 , 82 + 11 ) ;
399 Size = MAP_APPFONT ( 70 , 8 ) ;
400 Text [ en-US ] = "Default settings";
404 HelpId = HID_TPROTATION_CTRL2 ;
406 Pos = MAP_APPFONT ( 178 , 82 + 22 ) ;
407 Size = MAP_APPFONT ( 70 , 48 ) ;
409 QuickHelpText [ en-US ] = "Rotation Angle";
412 // RID_SVXPAGE_SLANT -----------------------------------------------------
413 TabPage RID_SVXPAGE_SLANT
415 HelpId = HID_TRANS_SLANT ;
417 Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
418 Text [ en-US ] = "Slant & Corner Radius" ;
421 Pos = MAP_APPFONT ( 6 , 3 ) ;
422 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
423 Text [ en-US ] = "Corner radius" ;
427 Pos = MAP_APPFONT ( 12 , 16 ) ;
428 Size = MAP_APPFONT ( 40 , 10 ) ;
429 Text [ en-US ] = "~Radius" ;
431 MetricField MTR_FLD_RADIUS
434 Pos = MAP_APPFONT ( 56 , 14 ) ;
435 Size = MAP_APPFONT ( 54 , 12 ) ;
441 StrictFormat = TRUE ;
448 Pos = MAP_APPFONT ( 6 , 35 ) ;
449 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
450 Text [ en-US ] = "Slant" ;
454 Pos = MAP_APPFONT ( 12 , 48 ) ;
455 Size = MAP_APPFONT ( 40 , 10 ) ;
456 Text [ en-US ] = "~Angle" ;
458 MetricField MTR_FLD_ANGLE
461 Pos = MAP_APPFONT ( 56 , 46 ) ;
462 Size = MAP_APPFONT ( 54 , 12 ) ;
470 StrictFormat = TRUE ;
472 Unit = FUNIT_CUSTOM ;
474 CustomUnitText [ en-US ] = " degrees" ;
477 // RID_SVXDLG_TRANSFORM -----------------------------------------------------
479 #define _POS_SIZE_TEXT \
480 Text [ en-US ] = "Position and Size" ; \
483 TabDialog RID_SVXDLG_TRANSFORM\
487 Size = MAP_APPFONT ( 289 , MA_TABPAGE_HEIGHT + 41 ) ;
488 Text [ en-US ] = "Position and Size" ;\
490 TabControl TAB_CONTROL\
493 Pos = MAP_APPFONT ( 3 , 3 ) ;
494 Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
499 Identifier = RID_SVXPAGE_POSITION_SIZE ;
500 PageResID = RID_SVXPAGE_POSITION_SIZE ;
505 Identifier = RID_SVXPAGE_SWPOSSIZE;
506 PageResID = RID_SVXPAGE_SWPOSSIZE;
511 Identifier = RID_SVXPAGE_ANGLE ;
512 Text [ en-US ] = "Rotation" ;
513 PageResID = RID_SVXPAGE_ANGLE ;
517 Identifier = RID_SVXPAGE_SLANT ;
518 PageResID = RID_SVXPAGE_SLANT ;
519 Text [ en-US ] = "Slant & Corner Radius" ;
524 // ********************************************************************** EOF