1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <svtools/controldims.hrc>
23 #include "transfrm.hrc"
24 #include <svx/dialogs.hrc>
26 #define MA_TABPAGE_HEIGHT 185
28 // RID_SVXPAGE_POSITION_SIZE ------------------------------------------------
29 TabPage RID_SVXPAGE_POSITION_SIZE
31 HelpId = HID_TRANS_POSITION_SIZE ;
33 Text [ en-US ] = "Position and Size" ;
34 Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
38 Pos = MAP_APPFONT ( 6 , 3 ) ;
39 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
40 Text [ en-US ] = "Position" ;
44 Pos = MAP_APPFONT ( 12 , 16 + 8 ) ;
45 Size = MAP_APPFONT ( 40 , 10 ) ;
46 Text [ en-US ] = "Position ~X" ;
50 Pos = MAP_APPFONT ( 12 , 32 + 8 ) ;
51 Size = MAP_APPFONT ( 40 , 10 ) ;
52 Text [ en-US ] = "Position ~Y" ;
54 MetricField MTR_FLD_POS_X
56 HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_POS_X";
58 Pos = MAP_APPFONT ( 56 , 14 + 8 ) ;
59 Size = MAP_APPFONT ( 54 , 12 ) ;
70 MetricField MTR_FLD_POS_Y
72 HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_POS_Y";
74 Pos = MAP_APPFONT ( 56 , 30 + 8 ) ;
75 Size = MAP_APPFONT ( 54 , 12 ) ;
86 FixedText FT_POSREFERENCE
88 Pos = MAP_APPFONT ( 178 , 2 + 8 ) ;
89 Size = MAP_APPFONT ( 70 , 10 ) ;
90 Text [ en-US ] = "Base point";
94 HelpId = HID_TPPOSITION_CTRL ;
96 Pos = MAP_APPFONT ( 178 , 12 + 8 ) ;
97 Size = MAP_APPFONT ( 48 , 34 ) ;
99 QuickHelpText [ en-US ] = "Base point" ;
106 Pos = MAP_APPFONT ( 6 , 56 ) ;
107 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
108 Text [ en-US ] = "Size" ;
112 Pos = MAP_APPFONT ( 12 , 16 + 61 ) ;
113 Size = MAP_APPFONT ( 40 , 10 ) ;
114 Text [ en-US ] = "Wi~dth" ;
118 Pos = MAP_APPFONT ( 12 , 32 + 61 ) ;
119 Size = MAP_APPFONT ( 40 , 10 ) ;
120 Text [ en-US ] = "H~eight" ;
122 MetricField MTR_FLD_WIDTH
124 HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_WIDTH";
126 Pos = MAP_APPFONT ( 56 , 14 + 61 ) ;
127 Size = MAP_APPFONT ( 54 , 12 ) ;
133 StrictFormat = TRUE ;
138 MetricField MTR_FLD_HEIGHT
140 HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_HEIGHT";
142 Pos = MAP_APPFONT ( 56 , 30 + 61 ) ;
143 Size = MAP_APPFONT ( 54 , 12 ) ;
149 StrictFormat = TRUE ;
154 FixedText FT_SIZEREFERENCE
156 Pos = MAP_APPFONT ( 178 , 2 + 61 ) ;
157 Size = MAP_APPFONT ( 70 , 10 ) ;
158 Text [ en-US ] = "Base point";
162 HelpId = HID_TPSIZE_CTRL ;
164 Pos = MAP_APPFONT ( 178 , 12 + 61 ) ;
165 Size = MAP_APPFONT ( 48 , 34 ) ;
167 QuickHelpText [ en-US ] = "Base point" ;
171 HelpID = "cui:CheckBox:RID_SVXPAGE_POSITION_SIZE:CBX_SCALE";
172 Pos = MAP_APPFONT ( 12 , 47 + 61 ) ;
173 Size = MAP_APPFONT ( 162 , 10 ) ;
175 Text [ en-US ] = "~Keep ratio" ;
182 Pos = MAP_APPFONT ( 6 , 120 ) ;
183 Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
184 Text [ en-US ] = "Protect" ;
187 TriStateBox TSB_POSPROTECT
189 HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_POSPROTECT";
190 Pos = MAP_APPFONT ( 12 , 10 + 120 ) ;
191 Size = MAP_APPFONT ( 113 , 10 ) ;
192 Text [ en-US ] = "Position" ;
196 TriStateBox TSB_SIZEPROTECT
198 HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_SIZEPROTECT";
199 Pos = MAP_APPFONT ( 12 , 24 + 120 ) ;
200 Size = MAP_APPFONT ( 113 , 10 ) ;
201 Text [ en-US ] = "~Size" ;
209 Pos = MAP_APPFONT ( 6 + 123 + 6 , 120 ) ;
210 Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
211 Text [ en-US ] = "Adapt" ;
213 TriStateBox TSB_AUTOGROW_WIDTH
215 HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_AUTOGROW_WIDTH";
216 Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ;
217 Size = MAP_APPFONT ( 113 , 10 ) ;
218 Text [ en-US ] = "~Fit width to text" ;
221 TriStateBox TSB_AUTOGROW_HEIGHT
223 HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_AUTOGROW_HEIGHT";
224 Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ;
225 Size = MAP_APPFONT ( 113 , 10 ) ;
226 Text [ en-US ] = "Fit ~height to text" ;
232 Pos = MAP_APPFONT( 6 + 119 + 5, 128 );
233 Size = MAP_APPFONT( RSC_CD_FIXEDLINE_WIDTH, 26 );
241 Pos = MAP_APPFONT ( 6 + 123 + 6 , 120 ) ;
242 Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
244 Text [ en-US ] = "Anchor" ;
248 Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ;
249 Size = MAP_APPFONT ( 37 , 10 ) ;
251 Text [ en-US ] = "~Anchor" ;
255 HelpID = "cui:ListBox:RID_SVXPAGE_POSITION_SIZE:LB_ANCHOR";
256 Pos = MAP_APPFONT ( 46 + 121 + 16 , 8 + 120 ) ;
257 Size = MAP_APPFONT ( 54 , 60 ) ;
260 StringList [ en-US ] =
262 < "To paragraph" ; > ;
263 < "As character" ; > ;
270 Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ;
271 Size = MAP_APPFONT ( 37 , 10 ) ;
273 Text [ en-US ] = "P~osition";
277 HelpID = "cui:ListBox:RID_SVXPAGE_POSITION_SIZE:LB_ORIENT";
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
325 HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_POS_X";
327 Pos = MAP_APPFONT ( 56 , 14 + 11 ) ;
328 Size = MAP_APPFONT ( 54 , 12 ) ;
334 StrictFormat = TRUE ;
339 MetricField MTR_FLD_POS_Y
341 HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_POS_Y";
343 Pos = MAP_APPFONT ( 56 , 30 + 11 ) ;
344 Size = MAP_APPFONT ( 54 , 12 ) ;
350 StrictFormat = TRUE ;
355 FixedText FT_POSPRESETS
357 Pos = MAP_APPFONT ( 178 , 14 ) ;
358 Size = MAP_APPFONT ( 70 , 8 ) ;
359 Text [ en-US ] = "Default settings";
363 HelpId = HID_TPROTATION_CTRL1 ;
365 Pos = MAP_APPFONT ( 178 , 14 + 11 ) ;
366 Size = MAP_APPFONT ( 70 , 48 ) ;
368 QuickHelpText [ en-US ] = "Rotation point" ;
372 Pos = MAP_APPFONT ( 6 , 71 + 11 ) ;
373 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
374 Text [ en-US ] = "Rotation angle" ;
378 Pos = MAP_APPFONT ( 12 , 84 + 22 ) ;
379 Size = MAP_APPFONT ( 40 , 10 ) ;
380 Text [ en-US ] = "~Angle" ;
382 NumericField NF_ANGLE
384 HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_ANGLE";
386 Pos = MAP_APPFONT ( 56 , 82 + 22 ) ;
387 Size = MAP_APPFONT ( 30 , 12 ) ;
397 FixedText FT_ANGLEPRESETS
399 Pos = MAP_APPFONT ( 178 , 82 + 11 ) ;
400 Size = MAP_APPFONT ( 64 , 8 ) ;
401 Text [ en-US ] = "Default settings";
405 HelpId = HID_TPROTATION_CTRL2 ;
407 Pos = MAP_APPFONT ( 178 , 82 + 22 ) ;
408 Size = MAP_APPFONT ( 48 , 48 ) ;
410 QuickHelpText [ en-US ] = "Rotation Angle";
413 // RID_SVXPAGE_SLANT -----------------------------------------------------
414 TabPage RID_SVXPAGE_SLANT
416 HelpId = HID_TRANS_SLANT ;
418 Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
419 Text [ en-US ] = "Slant & Corner Radius" ;
422 Pos = MAP_APPFONT ( 6 , 3 ) ;
423 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
424 Text [ en-US ] = "Corner radius" ;
428 Pos = MAP_APPFONT ( 12 , 16 ) ;
429 Size = MAP_APPFONT ( 40 , 10 ) ;
430 Text [ en-US ] = "~Radius" ;
432 MetricField MTR_FLD_RADIUS
434 HelpID = "cui:MetricField:RID_SVXPAGE_SLANT:MTR_FLD_RADIUS";
436 Pos = MAP_APPFONT ( 56 , 14 ) ;
437 Size = MAP_APPFONT ( 54 , 12 ) ;
443 StrictFormat = TRUE ;
450 Pos = MAP_APPFONT ( 6 , 35 ) ;
451 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
452 Text [ en-US ] = "Slant" ;
456 Pos = MAP_APPFONT ( 12 , 48 ) ;
457 Size = MAP_APPFONT ( 40 , 10 ) ;
458 Text [ en-US ] = "~Angle" ;
460 MetricField MTR_FLD_ANGLE
462 HelpID = "cui:MetricField:RID_SVXPAGE_SLANT:MTR_FLD_ANGLE";
464 Pos = MAP_APPFONT ( 56 , 46 ) ;
465 Size = MAP_APPFONT ( 54 , 12 ) ;
473 StrictFormat = TRUE ;
475 Unit = FUNIT_CUSTOM ;
477 CustomUnitText [ en-US ] = " degrees" ;
480 // RID_SVXDLG_TRANSFORM -----------------------------------------------------
482 #define _POS_SIZE_TEXT \
483 Text [ en-US ] = "Position and Size" ; \
486 TabDialog RID_SVXDLG_TRANSFORM\
490 Size = MAP_APPFONT ( 289 , MA_TABPAGE_HEIGHT + 41 ) ;
491 Text [ en-US ] = "Position and Size" ;\
493 TabControl TAB_CONTROL\
496 Pos = MAP_APPFONT ( 3 , 3 ) ;
497 Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
502 Identifier = RID_SVXPAGE_POSITION_SIZE ;
503 PageResID = RID_SVXPAGE_POSITION_SIZE ;
508 Identifier = RID_SVXPAGE_SWPOSSIZE;
509 PageResID = RID_SVXPAGE_SWPOSSIZE;
514 Identifier = RID_SVXPAGE_ANGLE ;
515 Text [ en-US ] = "Rotation" ;
516 PageResID = RID_SVXPAGE_ANGLE ;
520 Identifier = RID_SVXPAGE_SLANT ;
521 PageResID = RID_SVXPAGE_SLANT ;
522 Text [ en-US ] = "Slant & Corner Radius" ;
527 // ********************************************************************** EOF
529 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */