xref: /aoo42x/main/svx/source/dialog/optgrid.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include <sfx2/sfx.hrc>
29#include "helpid.hrc"
30#include <svx/dialogs.hrc>
31#include "optgrid.hrc"
32 // pragma ----------------------------------------------------------------
33
34TabPage RID_SVXPAGE_GRID
35{
36	HelpId = HID_OPTIONS_GRID ;
37	SVLook = TRUE ;
38	Hide = TRUE ;
39	Size = MAP_APPFONT ( 260 , 185 ) ;
40    FixedLine GRP_DRAWGRID
41	{
42        Pos = MAP_APPFONT ( 6 , 3 ) ;
43        Size = MAP_APPFONT ( 248 , 8 ) ;
44		Text [ en-US ] = "Grid" ;
45	};
46    CheckBox CBX_USE_GRIDSNAP
47	{
48        HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_USE_GRIDSNAP";
49		Pos = MAP_APPFONT ( 12 , 14 ) ;
50		Size = MAP_APPFONT ( 204 , 10 ) ;
51		TabStop = TRUE ;
52        Text [ en-US ] = "Sn~ap to grid" ;
53	};
54	CheckBox CBX_GRID_VISIBLE
55	{
56	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_GRID_VISIBLE";
57        Pos = MAP_APPFONT ( 12 , 27 ) ;
58		Size = MAP_APPFONT ( 204 , 10 ) ;
59		TabStop = TRUE ;
60		Text [ en-US ] = "V~isible grid" ;
61	};
62    FixedLine FL_RESOLUTION
63	{
64        Pos = MAP_APPFONT ( 6 , 45 ) ;
65        Size = MAP_APPFONT ( 120 , 8 ) ;
66        Text [ en-US ] = "Resolution" ;
67	};
68    FixedText FT_DRAW_X
69	{
70        Pos = MAP_APPFONT ( 12 , 56 ) ;
71        Size = MAP_APPFONT ( 60 , 8 ) ;
72    	Text [ en-US ] = "H~orizontal";
73	};
74	FixedText FT_DRAW_Y
75	{
76        Pos = MAP_APPFONT ( 12 , 71 ) ;
77        Size = MAP_APPFONT ( 60 , 8 ) ;
78    	Text [ en-US ] = "~Vertical";
79	};
80	MetricField MTR_FLD_DRAW_X
81	{
82	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_DRAW_X";
83		Border = TRUE ;
84        Pos = MAP_APPFONT ( 75 , 54 ) ;
85		Size = MAP_APPFONT ( 45 , 12 ) ;
86		TabStop = TRUE ;
87		Repeat = TRUE ;
88		Spin = TRUE ;
89		Minimum = 10 ;
90		First = 10 ;
91		Maximum = 10000 ;
92		Last = 10000 ;
93		StrictFormat = TRUE ;
94		DecimalDigits = 2 ;
95		Unit = FUNIT_MM ;
96		SpinSize = 50 ;
97	};
98	MetricField MTR_FLD_DRAW_Y
99	{
100	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_DRAW_Y";
101		Border = TRUE ;
102        Pos = MAP_APPFONT ( 75 , 69 ) ;
103		Size = MAP_APPFONT ( 45 , 12 ) ;
104		TabStop = TRUE ;
105		Repeat = TRUE ;
106		Spin = TRUE ;
107		Minimum = 10 ;
108		First = 10 ;
109		Maximum = 10000 ;
110		Last = 10000 ;
111		StrictFormat = TRUE ;
112		DecimalDigits = 2 ;
113		Unit = FUNIT_MM ;
114		SpinSize = 50 ;
115	};
116    FixedLine FL_DIVISION
117	{
118        Pos = MAP_APPFONT ( 130 , 45 ) ;
119        Size = MAP_APPFONT ( 124 , 8 ) ;
120        Text [ en-US ] = "Subdivision" ;
121	};
122    FixedText FT_DIVISION_X
123	{
124        Pos = MAP_APPFONT ( 136 , 56 ) ;
125        Size = MAP_APPFONT ( 50 , 8 ) ;
126        Text [ en-US ] = "Horizont~al";
127	};
128    FixedText FT_DIVISION_Y
129	{
130        Pos = MAP_APPFONT ( 136 , 71 ) ;
131        Size = MAP_APPFONT ( 50 , 8 ) ;
132        Text [ en-US ] = "V~ertical";
133	};
134    NumericField NUM_FLD_DIVISION_X
135	{
136        HelpID = "svx:NumericField:RID_SVXPAGE_GRID:NUM_FLD_DIVISION_X";
137		Border = TRUE ;
138        Pos = MAP_APPFONT ( 195 , 54 ) ;
139        Size = MAP_APPFONT ( 25 , 12 ) ;
140		TabStop = TRUE ;
141		Repeat = TRUE ;
142		Spin = TRUE ;
143		Minimum = 1 ;
144		Maximum = 99 ;
145		Last = 99 ;
146		StrictFormat = TRUE ;
147        SpinSize = 1 ;
148    };
149    FixedText FT_HORZ_POINTS
150    {
151        Pos = MAP_APPFONT ( 223 , 56 ) ;
152        Size = MAP_APPFONT ( 29 , 8 ) ;
153        Text [ en-US ] = "space(s)" ;
154	};
155    NumericField NUM_FLD_DIVISION_Y
156	{
157        HelpID = "svx:NumericField:RID_SVXPAGE_GRID:NUM_FLD_DIVISION_Y";
158		Border = TRUE ;
159        Pos = MAP_APPFONT ( 195 , 69 ) ;
160        Size = MAP_APPFONT ( 25 , 12 ) ;
161		TabStop = TRUE ;
162		Repeat = TRUE ;
163		Spin = TRUE ;
164		Minimum = 1 ;
165		Maximum = 99 ;
166		Last = 99 ;
167		StrictFormat = TRUE ;
168        SpinSize = 1 ;
169    };
170    FixedText FT_VERT_POINTS
171    {
172        Pos = MAP_APPFONT ( 223 , 71 ) ;
173        Size = MAP_APPFONT ( 29 , 8 ) ;
174
175    };
176	CheckBox CBX_SYNCHRONIZE
177	{
178	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SYNCHRONIZE";
179        Pos = MAP_APPFONT ( 12 , 84 ) ;
180		Size = MAP_APPFONT ( 127 , 10 ) ;
181		TabStop = TRUE ;
182		Text [ en-US ] = "Synchronize a~xes" ;
183	};
184    FixedLine GRP_SNAP
185	{
186        Pos = MAP_APPFONT ( 6 , 100  ) ;
187        Size = MAP_APPFONT ( 120 , 8 ) ;
188        Hide = TRUE;
189		Text [ en-US ] = "Snap" ;
190	};
191
192    CheckBox CBX_SNAP_HELPLINES
193	{
194        HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_HELPLINES";
195        Pos = MAP_APPFONT ( 12 , 111  ) ;
196		Size = MAP_APPFONT ( 106 , 10 ) ;
197        Hide = TRUE;
198        TabStop = TRUE ;
199        Text [ en-US ] = "To snap lines" ;
200	};
201	CheckBox CBX_SNAP_BORDER
202	{
203	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_BORDER";
204        Hide = TRUE;
205        TabStop = TRUE ;
206        Pos = MAP_APPFONT ( 12 , 125  ) ;
207		Size = MAP_APPFONT ( 106 , 10 ) ;
208		Text [ en-US ] = "To the ~page margins" ;
209	};
210	CheckBox CBX_SNAP_FRAME
211	{
212	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_FRAME";
213        Pos = MAP_APPFONT ( 12 , 139  ) ;
214		Size = MAP_APPFONT ( 106 , 10 ) ;
215        Hide = TRUE;
216        TabStop = TRUE ;
217		Text [ en-US ] = "To object ~frame" ;
218	};
219	CheckBox CBX_SNAP_POINTS
220	{
221	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_POINTS";
222        Pos = MAP_APPFONT ( 12 , 153  ) ;
223		Size = MAP_APPFONT ( 106 , 10 ) ;
224        Hide = TRUE;
225        TabStop = TRUE ;
226		Text [ en-US ] = "To obje~ct points" ;
227	};
228	FixedText FT_SNAP_AREA
229	{
230        Pos = MAP_APPFONT ( 12 , 169  ) ;
231        Size = MAP_APPFONT ( 69 , 10 ) ;
232        Hide = TRUE;
233		Text [ en-US ] = "~Snap range" ;
234	};
235	MetricField MTR_FLD_SNAP_AREA
236	{
237	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_SNAP_AREA";
238		Border = TRUE ;
239        Pos = MAP_APPFONT ( 83 , 167  ) ;
240        Size = MAP_APPFONT ( 35 , 12 ) ;
241        Hide = TRUE;
242        TabStop = TRUE ;
243		Repeat = TRUE ;
244		Spin = TRUE ;
245		Minimum = 1 ;
246		Maximum = 50 ;
247		StrictFormat = TRUE ;
248		Unit = FUNIT_CUSTOM ;
249		First = 1 ;
250		Last = 999 ;
251		CustomUnitText [ en-US ] = " Pixels" ;
252	};
253    FixedLine FL_SEPARATOR
254	{
255        Pos = MAP_APPFONT ( 127 , 111 ) ;
256        Size = MAP_APPFONT ( 4 , 68 ) ;
257        Hide = TRUE;
258        Vert = TRUE;
259    };
260    FixedLine GRP_ORTHO
261	{
262        Pos = MAP_APPFONT ( 130 , 100  ) ;
263        Size = MAP_APPFONT ( 124 , 8 ) ;
264        Hide = TRUE;
265		Text [ en-US ] = "Snap position" ;
266	};
267    CheckBox CBX_ORTHO
268	{
269        HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_ORTHO";
270        Pos = MAP_APPFONT ( 136 , 111  ) ;
271		Size = MAP_APPFONT ( 112 , 10 ) ;
272        Hide = TRUE;
273        TabStop = TRUE ;
274		Text [ en-US ] = "~When creating or moving objects" ;
275	};
276	CheckBox CBX_BIGORTHO
277	{
278	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_BIGORTHO";
279        Pos = MAP_APPFONT ( 136 , 125  ) ;
280		Size = MAP_APPFONT ( 112 , 10 ) ;
281        Hide = TRUE;
282        TabStop = TRUE ;
283		Text [ en-US ] = "~Extend edges" ;
284	};
285	CheckBox CBX_ROTATE
286	{
287	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_ROTATE";
288        Pos = MAP_APPFONT ( 136 , 139  ) ;
289		 // 136, 111
290		Size = MAP_APPFONT ( 55 , 10 ) ;
291        Hide = TRUE;
292        TabStop = TRUE ;
293		Text [ en-US ] = "When ro~tating" ;
294	};
295	MetricField MTR_FLD_ANGLE
296	{
297	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_ANGLE";
298		Border = TRUE ;
299        Pos = MAP_APPFONT ( 194 , 137  ) ;
300		 // 190, 111
301		Size = MAP_APPFONT ( 54 , 12 ) ;
302        Hide = TRUE;
303        TabStop = TRUE ;
304		Repeat = TRUE ;
305		Spin = TRUE ;
306		Maximum = 18000 ;
307		Last = 18000 ;
308		DecimalDigits = 2 ;
309		StrictFormat = TRUE ;
310		Unit = FUNIT_CUSTOM ;
311		SpinSize = 500 ;
312		CustomUnitText [ en-US ] = " degrees" ;
313	};
314	FixedText FT_BEZ_ANGLE
315	{
316        Pos = MAP_APPFONT ( 136 , 156  ) ;
317		Size = MAP_APPFONT ( 55 , 10 ) ;
318        Hide = TRUE;
319		Text [ en-US ] = "Point reducti~on" ;
320	};
321	MetricField MTR_FLD_BEZ_ANGLE
322	{
323	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_BEZ_ANGLE";
324		Border = TRUE ;
325        Pos = MAP_APPFONT ( 194 , 154  ) ;
326		Size = MAP_APPFONT ( 54 , 12 ) ;
327        Hide = TRUE;
328        TabStop = TRUE ;
329		Repeat = TRUE ;
330		Spin = TRUE ;
331		Maximum = 9000 ;
332		Last = 9000 ;
333		DecimalDigits = 2 ;
334		StrictFormat = TRUE ;
335		Unit = FUNIT_CUSTOM ;
336		SpinSize = 500 ;
337		CustomUnitText [ en-US ] = " degrees" ;
338	};
339};
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373