xref: /aoo4110/main/svx/source/dialog/optgrid.src (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23 // include ---------------------------------------------------------------
24#include <sfx2/sfx.hrc>
25#include "helpid.hrc"
26#include <svx/dialogs.hrc>
27#include "optgrid.hrc"
28 // pragma ----------------------------------------------------------------
29
30TabPage RID_SVXPAGE_GRID
31{
32	HelpId = HID_OPTIONS_GRID ;
33	SVLook = TRUE ;
34	Hide = TRUE ;
35	Size = MAP_APPFONT ( 260 , 185 ) ;
36    FixedLine GRP_DRAWGRID
37	{
38        Pos = MAP_APPFONT ( 6 , 3 ) ;
39        Size = MAP_APPFONT ( 248 , 8 ) ;
40		Text [ en-US ] = "Grid" ;
41	};
42    CheckBox CBX_USE_GRIDSNAP
43	{
44        HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_USE_GRIDSNAP";
45		Pos = MAP_APPFONT ( 12 , 14 ) ;
46		Size = MAP_APPFONT ( 204 , 10 ) ;
47		TabStop = TRUE ;
48        Text [ en-US ] = "Sn~ap to grid" ;
49	};
50	CheckBox CBX_GRID_VISIBLE
51	{
52	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_GRID_VISIBLE";
53        Pos = MAP_APPFONT ( 12 , 27 ) ;
54		Size = MAP_APPFONT ( 204 , 10 ) ;
55		TabStop = TRUE ;
56		Text [ en-US ] = "V~isible grid" ;
57	};
58    FixedLine FL_RESOLUTION
59	{
60        Pos = MAP_APPFONT ( 6 , 45 ) ;
61        Size = MAP_APPFONT ( 120 , 8 ) ;
62        Text [ en-US ] = "Resolution" ;
63	};
64    FixedText FT_DRAW_X
65	{
66        Pos = MAP_APPFONT ( 12 , 56 ) ;
67        Size = MAP_APPFONT ( 60 , 8 ) ;
68    	Text [ en-US ] = "H~orizontal";
69	};
70	FixedText FT_DRAW_Y
71	{
72        Pos = MAP_APPFONT ( 12 , 71 ) ;
73        Size = MAP_APPFONT ( 60 , 8 ) ;
74    	Text [ en-US ] = "~Vertical";
75	};
76	MetricField MTR_FLD_DRAW_X
77	{
78	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_DRAW_X";
79		Border = TRUE ;
80        Pos = MAP_APPFONT ( 75 , 54 ) ;
81		Size = MAP_APPFONT ( 45 , 12 ) ;
82		TabStop = TRUE ;
83		Repeat = TRUE ;
84		Spin = TRUE ;
85		Minimum = 10 ;
86		First = 10 ;
87		Maximum = 10000 ;
88		Last = 10000 ;
89		StrictFormat = TRUE ;
90		DecimalDigits = 2 ;
91		Unit = FUNIT_MM ;
92		SpinSize = 50 ;
93	};
94	MetricField MTR_FLD_DRAW_Y
95	{
96	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_DRAW_Y";
97		Border = TRUE ;
98        Pos = MAP_APPFONT ( 75 , 69 ) ;
99		Size = MAP_APPFONT ( 45 , 12 ) ;
100		TabStop = TRUE ;
101		Repeat = TRUE ;
102		Spin = TRUE ;
103		Minimum = 10 ;
104		First = 10 ;
105		Maximum = 10000 ;
106		Last = 10000 ;
107		StrictFormat = TRUE ;
108		DecimalDigits = 2 ;
109		Unit = FUNIT_MM ;
110		SpinSize = 50 ;
111	};
112    FixedLine FL_DIVISION
113	{
114        Pos = MAP_APPFONT ( 130 , 45 ) ;
115        Size = MAP_APPFONT ( 124 , 8 ) ;
116        Text [ en-US ] = "Subdivision" ;
117	};
118    FixedText FT_DIVISION_X
119	{
120        Pos = MAP_APPFONT ( 136 , 56 ) ;
121        Size = MAP_APPFONT ( 50 , 8 ) ;
122        Text [ en-US ] = "Horizont~al";
123	};
124    FixedText FT_DIVISION_Y
125	{
126        Pos = MAP_APPFONT ( 136 , 71 ) ;
127        Size = MAP_APPFONT ( 50 , 8 ) ;
128        Text [ en-US ] = "V~ertical";
129	};
130    NumericField NUM_FLD_DIVISION_X
131	{
132        HelpID = "svx:NumericField:RID_SVXPAGE_GRID:NUM_FLD_DIVISION_X";
133		Border = TRUE ;
134        Pos = MAP_APPFONT ( 195 , 54 ) ;
135        Size = MAP_APPFONT ( 25 , 12 ) ;
136		TabStop = TRUE ;
137		Repeat = TRUE ;
138		Spin = TRUE ;
139		Minimum = 1 ;
140		Maximum = 99 ;
141		Last = 99 ;
142		StrictFormat = TRUE ;
143        SpinSize = 1 ;
144    };
145    FixedText FT_HORZ_POINTS
146    {
147        Pos = MAP_APPFONT ( 223 , 56 ) ;
148        Size = MAP_APPFONT ( 29 , 8 ) ;
149        Text [ en-US ] = "space(s)" ;
150	};
151    NumericField NUM_FLD_DIVISION_Y
152	{
153        HelpID = "svx:NumericField:RID_SVXPAGE_GRID:NUM_FLD_DIVISION_Y";
154		Border = TRUE ;
155        Pos = MAP_APPFONT ( 195 , 69 ) ;
156        Size = MAP_APPFONT ( 25 , 12 ) ;
157		TabStop = TRUE ;
158		Repeat = TRUE ;
159		Spin = TRUE ;
160		Minimum = 1 ;
161		Maximum = 99 ;
162		Last = 99 ;
163		StrictFormat = TRUE ;
164        SpinSize = 1 ;
165    };
166    FixedText FT_VERT_POINTS
167    {
168        Pos = MAP_APPFONT ( 223 , 71 ) ;
169        Size = MAP_APPFONT ( 29 , 8 ) ;
170
171    };
172	CheckBox CBX_SYNCHRONIZE
173	{
174	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SYNCHRONIZE";
175        Pos = MAP_APPFONT ( 12 , 84 ) ;
176		Size = MAP_APPFONT ( 127 , 10 ) ;
177		TabStop = TRUE ;
178		Text [ en-US ] = "Synchronize a~xes" ;
179	};
180    FixedLine GRP_SNAP
181	{
182        Pos = MAP_APPFONT ( 6 , 100  ) ;
183        Size = MAP_APPFONT ( 120 , 8 ) ;
184        Hide = TRUE;
185		Text [ en-US ] = "Snap" ;
186	};
187
188    CheckBox CBX_SNAP_HELPLINES
189	{
190        HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_HELPLINES";
191        Pos = MAP_APPFONT ( 12 , 111  ) ;
192		Size = MAP_APPFONT ( 106 , 10 ) ;
193        Hide = TRUE;
194        TabStop = TRUE ;
195        Text [ en-US ] = "To snap lines" ;
196	};
197	CheckBox CBX_SNAP_BORDER
198	{
199	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_BORDER";
200        Hide = TRUE;
201        TabStop = TRUE ;
202        Pos = MAP_APPFONT ( 12 , 125  ) ;
203		Size = MAP_APPFONT ( 106 , 10 ) ;
204		Text [ en-US ] = "To the ~page margins" ;
205	};
206	CheckBox CBX_SNAP_FRAME
207	{
208	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_FRAME";
209        Pos = MAP_APPFONT ( 12 , 139  ) ;
210		Size = MAP_APPFONT ( 106 , 10 ) ;
211        Hide = TRUE;
212        TabStop = TRUE ;
213		Text [ en-US ] = "To object ~frame" ;
214	};
215	CheckBox CBX_SNAP_POINTS
216	{
217	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_POINTS";
218        Pos = MAP_APPFONT ( 12 , 153  ) ;
219		Size = MAP_APPFONT ( 106 , 10 ) ;
220        Hide = TRUE;
221        TabStop = TRUE ;
222		Text [ en-US ] = "To obje~ct points" ;
223	};
224	FixedText FT_SNAP_AREA
225	{
226        Pos = MAP_APPFONT ( 12 , 169  ) ;
227        Size = MAP_APPFONT ( 69 , 10 ) ;
228        Hide = TRUE;
229		Text [ en-US ] = "~Snap range" ;
230	};
231	MetricField MTR_FLD_SNAP_AREA
232	{
233	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_SNAP_AREA";
234		Border = TRUE ;
235        Pos = MAP_APPFONT ( 83 , 167  ) ;
236        Size = MAP_APPFONT ( 35 , 12 ) ;
237        Hide = TRUE;
238        TabStop = TRUE ;
239		Repeat = TRUE ;
240		Spin = TRUE ;
241		Minimum = 1 ;
242		Maximum = 50 ;
243		StrictFormat = TRUE ;
244		Unit = FUNIT_CUSTOM ;
245		First = 1 ;
246		Last = 999 ;
247		CustomUnitText [ en-US ] = " Pixels" ;
248	};
249    FixedLine FL_SEPARATOR
250	{
251        Pos = MAP_APPFONT ( 127 , 111 ) ;
252        Size = MAP_APPFONT ( 4 , 68 ) ;
253        Hide = TRUE;
254        Vert = TRUE;
255    };
256    FixedLine GRP_ORTHO
257	{
258        Pos = MAP_APPFONT ( 130 , 100  ) ;
259        Size = MAP_APPFONT ( 124 , 8 ) ;
260        Hide = TRUE;
261		Text [ en-US ] = "Snap position" ;
262	};
263    CheckBox CBX_ORTHO
264	{
265        HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_ORTHO";
266        Pos = MAP_APPFONT ( 136 , 111  ) ;
267		Size = MAP_APPFONT ( 112 , 10 ) ;
268        Hide = TRUE;
269        TabStop = TRUE ;
270		Text [ en-US ] = "~When creating or moving objects" ;
271	};
272	CheckBox CBX_BIGORTHO
273	{
274	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_BIGORTHO";
275        Pos = MAP_APPFONT ( 136 , 125  ) ;
276		Size = MAP_APPFONT ( 112 , 10 ) ;
277        Hide = TRUE;
278        TabStop = TRUE ;
279		Text [ en-US ] = "~Extend edges" ;
280	};
281	CheckBox CBX_ROTATE
282	{
283	    HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_ROTATE";
284        Pos = MAP_APPFONT ( 136 , 139  ) ;
285		 // 136, 111
286		Size = MAP_APPFONT ( 55 , 10 ) ;
287        Hide = TRUE;
288        TabStop = TRUE ;
289		Text [ en-US ] = "When ro~tating" ;
290	};
291	MetricField MTR_FLD_ANGLE
292	{
293	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_ANGLE";
294		Border = TRUE ;
295        Pos = MAP_APPFONT ( 194 , 137  ) ;
296		 // 190, 111
297		Size = MAP_APPFONT ( 54 , 12 ) ;
298        Hide = TRUE;
299        TabStop = TRUE ;
300		Repeat = TRUE ;
301		Spin = TRUE ;
302		Maximum = 18000 ;
303		Last = 18000 ;
304		DecimalDigits = 2 ;
305		StrictFormat = TRUE ;
306		Unit = FUNIT_CUSTOM ;
307		SpinSize = 500 ;
308		CustomUnitText [ en-US ] = " degrees" ;
309	};
310	FixedText FT_BEZ_ANGLE
311	{
312        Pos = MAP_APPFONT ( 136 , 156  ) ;
313		Size = MAP_APPFONT ( 55 , 10 ) ;
314        Hide = TRUE;
315		Text [ en-US ] = "Point reducti~on" ;
316	};
317	MetricField MTR_FLD_BEZ_ANGLE
318	{
319	    HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_BEZ_ANGLE";
320		Border = TRUE ;
321        Pos = MAP_APPFONT ( 194 , 154  ) ;
322		Size = MAP_APPFONT ( 54 , 12 ) ;
323        Hide = TRUE;
324        TabStop = TRUE ;
325		Repeat = TRUE ;
326		Spin = TRUE ;
327		Maximum = 9000 ;
328		Last = 9000 ;
329		DecimalDigits = 2 ;
330		StrictFormat = TRUE ;
331		Unit = FUNIT_CUSTOM ;
332		SpinSize = 500 ;
333		CustomUnitText [ en-US ] = " degrees" ;
334	};
335};
336
337
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