1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 // include ------------------------------------------------------------------
30 #include "swpossizetabpage.hrc"
31 #include <svx/dialogs.hrc>
33 // RID_SVXPAGE_POSITION_SIZE ------------------------------------------------
34 TabPage RID_SVXPAGE_SWPOSSIZE
36 HelpId = HID_SVXPAGE_SWPOSSIZE;
38 Text[ en-US ] = "Position and Size" ;
39 Size = MAP_APPFONT ( 260 , 185 ) ;
42 Pos = MAP_APPFONT ( 6 , 3 ) ;
43 Size = MAP_APPFONT ( 104 , 8 ) ;
44 Text [ en-US ] = "Size" ;
48 Pos = MAP_APPFONT ( 12 , 16 ) ;
49 Size = MAP_APPFONT ( 43 , 8 ) ;
51 Text [ en-US ] = "~Width" ;
55 HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_WIDTH";
56 Pos = MAP_APPFONT ( 59 , 14 ) ;
57 Size = MAP_APPFONT ( 45 , 12 ) ;
74 Pos = MAP_APPFONT ( 12 , 32 ) ;
75 Size = MAP_APPFONT ( 43 , 8 ) ;
77 Text [ en-US ] = "H~eight" ;
81 HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HEIGHT";
82 Pos = MAP_APPFONT ( 59 , 30 ) ;
83 Size = MAP_APPFONT ( 45 , 12 ) ;
100 HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_KEEPRATIO";
101 Pos = MAP_APPFONT ( 12 , 45 ) ;
102 Size = MAP_APPFONT ( 95 , 10 ) ;
104 Text [ en-US ] = "~Keep ratio" ;
106 FixedLine FL_SEPARATOR
108 Pos = MAP_APPFONT ( 111 , 14 ) ;
109 Size = MAP_APPFONT ( 4 , 66 ) ;
114 Pos = MAP_APPFONT ( 116 , 3 ) ;
115 Size = MAP_APPFONT ( 80 , 8 ) ;
116 Text [ en-US ] = "Anchor" ;
118 RadioButton RB_TOPAGE
120 HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPAGE";
121 Pos = MAP_APPFONT ( 122 , 14 ) ;
122 Size = MAP_APPFONT ( 70 , 10 ) ;
123 Text [ en-US ] = "To ~page";
125 RadioButton RB_TOPARA
127 HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPARA";
128 Pos = MAP_APPFONT ( 122 , 28 ) ;
129 Size = MAP_APPFONT ( 70 , 10 ) ;
130 Text [ en-US ] = "To paragrap~h";
132 RadioButton RB_TOCHAR
134 HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOCHAR";
135 Pos = MAP_APPFONT ( 122 , 42 ) ;
136 Size = MAP_APPFONT ( 70 , 10 ) ;
137 Text [ en-US ] = "To cha~racter";
139 RadioButton RB_ASCHAR
141 HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_ASCHAR";
142 Pos = MAP_APPFONT ( 122 , 56 ) ;
143 Size = MAP_APPFONT ( 70 , 10 ) ;
144 Text [ en-US ] = "~As character" ;
146 RadioButton RB_TOFRAME
148 HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOFRAME";
150 Pos = MAP_APPFONT ( 122 , 70 ) ;
151 Size = MAP_APPFONT ( 70 , 10 ) ;
152 Text [ en-US ] = "To ~frame";
156 Pos = MAP_APPFONT ( 202 , 14 ) ;
157 Size = MAP_APPFONT ( 52 , 66 ) ;
159 FixedLine FL_PROTECTION
161 Pos = MAP_APPFONT ( 6 , 86 ) ;
162 Size = MAP_APPFONT ( 248 , 8 ) ;
163 Text [ en-US ] = "Protect" ;
165 TriStateBox CB_POSITION
167 HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_POSITION";
168 Pos = MAP_APPFONT ( 12 , 97 ) ;
169 Size = MAP_APPFONT ( 113 , 10 ) ;
171 Text [ en-US ] = "Position" ;
175 HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_SIZE";
176 Pos = MAP_APPFONT ( 122 , 97 ) ;
177 Size = MAP_APPFONT ( 113 , 10 ) ;
179 Text [ en-US ] = "~Size" ;
181 FixedLine FL_POSITION
183 Pos = MAP_APPFONT ( 6 , 113 ) ;
184 Size = MAP_APPFONT ( 248 , 8 ) ;
185 Text [ en-US ] = "Position" ;
189 Pos = MAP_APPFONT ( 12 , 126 ) ;
190 Size = MAP_APPFONT ( 35 , 8 ) ;
192 Text [ en-US ] = "Hori~zontal" ;
196 HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORI";
197 Pos = MAP_APPFONT ( 49 , 124 ) ;
198 Size = MAP_APPFONT ( 50 , 60 ) ;
204 Pos = MAP_APPFONT ( 101 , 126 ) ;
205 Size = MAP_APPFONT ( 20 , 8 ) ;
207 Text [ en-US ] = "b~y" ;
209 MetricField MF_HORIBY
211 HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HORIBY";
213 Pos = MAP_APPFONT ( 123 , 124 ) ;
214 Size = MAP_APPFONT ( 35 , 12 ) ;
229 Pos = MAP_APPFONT ( 160 , 126 ) ;
230 Size = MAP_APPFONT ( 21 , 8 ) ;
232 Text [ en-US ] = "~to" ;
236 HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORITO";
237 Pos = MAP_APPFONT ( 183 , 124 ) ;
238 Size = MAP_APPFONT ( 65 , 60 ) ;
242 CheckBox CB_HORIMIRROR
244 HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_HORIMIRROR";
245 Pos = MAP_APPFONT ( 12 , 139 ) ;
246 Size = MAP_APPFONT ( 236 , 10 ) ;
248 Text [ en-US ] = "~Mirror on even pages" ;
252 Pos = MAP_APPFONT ( 12 , 155 ) ;
253 Size = MAP_APPFONT ( 35 , 8 ) ;
255 Text [ en-US ] = "~Vertical" ;
259 HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERT";
260 Pos = MAP_APPFONT ( 49 , 153 ) ;
261 Size = MAP_APPFONT ( 50 , 60 ) ;
267 Pos = MAP_APPFONT ( 101 , 155 ) ;
268 Size = MAP_APPFONT ( 20 , 8 ) ;
270 Text [ en-US ] = "by" ;
272 MetricField MF_VERTBY
274 HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_VERTBY";
276 Pos = MAP_APPFONT ( 123 , 153 ) ;
277 Size = MAP_APPFONT ( 35 , 12 ) ;
292 Pos = MAP_APPFONT ( 160 , 155 ) ;
293 Size = MAP_APPFONT ( 21 , 8 ) ;
295 Text [ en-US ] = "t~o" ;
299 HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERTTO";
300 Pos = MAP_APPFONT ( 183 , 153 ) ;
301 Size = MAP_APPFONT ( 65 , 60 ) ;
307 HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_FOLLOW";
308 Pos = MAP_APPFONT ( 12 , 168 ) ;
309 Size = MAP_APPFONT ( 113 , 10 ) ;
311 Text [ en-US ] = "Follow text flow" ;