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