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 <sfx2/sfx.hrc>
22 #include <svx/dialogs.hrc>
23 #include "optgrid.hrc"
25 TabPage RID_SVXPAGE_GRID
27 HelpId = HID_OPTIONS_GRID ;
30 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
31 FixedLine GRP_DRAWGRID
33 Pos = MAP_APPFONT ( 6 , 3 ) ;
34 Size = MAP_APPFONT ( 248 , 8 ) ;
35 Text [ en-US ] = "Grid" ;
37 CheckBox CBX_USE_GRIDSNAP
39 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_USE_GRIDSNAP";
40 Pos = MAP_APPFONT ( 12 , 14 ) ;
41 Size = MAP_APPFONT ( 204 , 10 ) ;
43 Text [ en-US ] = "Sn~ap to grid" ;
45 CheckBox CBX_GRID_VISIBLE
47 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_GRID_VISIBLE";
48 Pos = MAP_APPFONT ( 12 , 27 ) ;
49 Size = MAP_APPFONT ( 204 , 10 ) ;
51 Text [ en-US ] = "V~isible grid" ;
53 FixedLine FL_RESOLUTION
55 Pos = MAP_APPFONT ( 6 , 45 ) ;
56 Size = MAP_APPFONT ( 120 , 8 ) ;
57 Text [ en-US ] = "Resolution" ;
61 Pos = MAP_APPFONT ( 12 , 56 ) ;
62 Size = MAP_APPFONT ( 60 , 8 ) ;
63 Text [ en-US ] = "H~orizontal";
67 Pos = MAP_APPFONT ( 12 , 71 ) ;
68 Size = MAP_APPFONT ( 60 , 8 ) ;
69 Text [ en-US ] = "~Vertical";
71 MetricField MTR_FLD_DRAW_X
73 HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_DRAW_X";
75 Pos = MAP_APPFONT ( 75 , 54 ) ;
76 Size = MAP_APPFONT ( 45 , 12 ) ;
89 MetricField MTR_FLD_DRAW_Y
91 HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_DRAW_Y";
93 Pos = MAP_APPFONT ( 75 , 69 ) ;
94 Size = MAP_APPFONT ( 45 , 12 ) ;
102 StrictFormat = TRUE ;
107 FixedLine FL_DIVISION
109 Pos = MAP_APPFONT ( 130 , 45 ) ;
110 Size = MAP_APPFONT ( 124 , 8 ) ;
111 Text [ en-US ] = "Subdivision" ;
113 FixedText FT_DIVISION_X
115 Pos = MAP_APPFONT ( 136 , 56 ) ;
116 Size = MAP_APPFONT ( 50 , 8 ) ;
117 Text [ en-US ] = "Horizont~al";
119 FixedText FT_DIVISION_Y
121 Pos = MAP_APPFONT ( 136 , 71 ) ;
122 Size = MAP_APPFONT ( 50 , 8 ) ;
123 Text [ en-US ] = "V~ertical";
125 NumericField NUM_FLD_DIVISION_X
127 HelpID = "svx:NumericField:RID_SVXPAGE_GRID:NUM_FLD_DIVISION_X";
129 Pos = MAP_APPFONT ( 195 , 54 ) ;
130 Size = MAP_APPFONT ( 25 , 12 ) ;
137 StrictFormat = TRUE ;
140 FixedText FT_HORZ_POINTS
142 Pos = MAP_APPFONT ( 223 , 56 ) ;
143 Size = MAP_APPFONT ( 29 , 8 ) ;
144 Text [ en-US ] = "space(s)" ;
146 NumericField NUM_FLD_DIVISION_Y
148 HelpID = "svx:NumericField:RID_SVXPAGE_GRID:NUM_FLD_DIVISION_Y";
150 Pos = MAP_APPFONT ( 195 , 69 ) ;
151 Size = MAP_APPFONT ( 25 , 12 ) ;
158 StrictFormat = TRUE ;
161 FixedText FT_VERT_POINTS
163 Pos = MAP_APPFONT ( 223 , 71 ) ;
164 Size = MAP_APPFONT ( 29 , 8 ) ;
167 CheckBox CBX_SYNCHRONIZE
169 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SYNCHRONIZE";
170 Pos = MAP_APPFONT ( 12 , 84 ) ;
171 Size = MAP_APPFONT ( 127 , 10 ) ;
173 Text [ en-US ] = "Synchronize a~xes" ;
177 Pos = MAP_APPFONT ( 6 , 100 ) ;
178 Size = MAP_APPFONT ( 120 , 8 ) ;
180 Text [ en-US ] = "Snap" ;
183 CheckBox CBX_SNAP_HELPLINES
185 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_HELPLINES";
186 Pos = MAP_APPFONT ( 12 , 111 ) ;
187 Size = MAP_APPFONT ( 106 , 10 ) ;
190 Text [ en-US ] = "To snap lines" ;
192 CheckBox CBX_SNAP_BORDER
194 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_BORDER";
197 Pos = MAP_APPFONT ( 12 , 125 ) ;
198 Size = MAP_APPFONT ( 106 , 10 ) ;
199 Text [ en-US ] = "To the ~page margins" ;
201 CheckBox CBX_SNAP_FRAME
203 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_FRAME";
204 Pos = MAP_APPFONT ( 12 , 139 ) ;
205 Size = MAP_APPFONT ( 106 , 10 ) ;
208 Text [ en-US ] = "To object ~frame" ;
210 CheckBox CBX_SNAP_POINTS
212 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_POINTS";
213 Pos = MAP_APPFONT ( 12 , 153 ) ;
214 Size = MAP_APPFONT ( 106 , 10 ) ;
217 Text [ en-US ] = "To obje~ct points" ;
219 FixedText FT_SNAP_AREA
221 Pos = MAP_APPFONT ( 12 , 169 ) ;
222 Size = MAP_APPFONT ( 69 , 10 ) ;
224 Text [ en-US ] = "~Snap range" ;
226 MetricField MTR_FLD_SNAP_AREA
228 HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_SNAP_AREA";
230 Pos = MAP_APPFONT ( 83 , 167 ) ;
231 Size = MAP_APPFONT ( 35 , 12 ) ;
238 StrictFormat = TRUE ;
239 Unit = FUNIT_CUSTOM ;
242 CustomUnitText [ en-US ] = " Pixels" ;
244 FixedLine FL_SEPARATOR
246 Pos = MAP_APPFONT ( 127 , 111 ) ;
247 Size = MAP_APPFONT ( 4 , 68 ) ;
253 Pos = MAP_APPFONT ( 130 , 100 ) ;
254 Size = MAP_APPFONT ( 124 , 8 ) ;
256 Text [ en-US ] = "Snap position" ;
260 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_ORTHO";
261 Pos = MAP_APPFONT ( 136 , 111 ) ;
262 Size = MAP_APPFONT ( 112 , 10 ) ;
265 Text [ en-US ] = "~When creating or moving objects" ;
267 CheckBox CBX_BIGORTHO
269 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_BIGORTHO";
270 Pos = MAP_APPFONT ( 136 , 125 ) ;
271 Size = MAP_APPFONT ( 112 , 10 ) ;
274 Text [ en-US ] = "~Extend edges" ;
278 HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_ROTATE";
279 Pos = MAP_APPFONT ( 136 , 139 ) ;
281 Size = MAP_APPFONT ( 55 , 10 ) ;
284 Text [ en-US ] = "When ro~tating" ;
286 MetricField MTR_FLD_ANGLE
288 HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_ANGLE";
290 Pos = MAP_APPFONT ( 194 , 137 ) ;
292 Size = MAP_APPFONT ( 54 , 12 ) ;
300 StrictFormat = TRUE ;
301 Unit = FUNIT_CUSTOM ;
303 CustomUnitText [ en-US ] = " degrees" ;
305 FixedText FT_BEZ_ANGLE
307 Pos = MAP_APPFONT ( 136 , 156 ) ;
308 Size = MAP_APPFONT ( 55 , 10 ) ;
310 Text [ en-US ] = "Point reducti~on" ;
312 MetricField MTR_FLD_BEZ_ANGLE
314 HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_BEZ_ANGLE";
316 Pos = MAP_APPFONT ( 194 , 154 ) ;
317 Size = MAP_APPFONT ( 54 , 12 ) ;
325 StrictFormat = TRUE ;
326 Unit = FUNIT_CUSTOM ;
328 CustomUnitText [ en-US ] = " degrees" ;
332 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */