xref: /aoo42x/main/cui/source/tabpages/grfpage.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
28#include <cuires.hrc>
29#include "helpid.hrc"
30#include "grfpage.hrc"
31#include <svx/dialogs.hrc>
32
33/************************************************************/
34/*																													*/
35/*																													*/
36/*									 Crop-Page															*/
37/*																													*/
38/*																													*/
39/************************************************************/
40TabPage RID_SVXPAGE_GRFCROP
41{
42	Hide = TRUE ;
43	HelpID = HID_SVXPAGE_GRFCROP;
44	SVLook = TRUE ;
45	Pos = MAP_APPFONT ( 0 , 0 ) ;
46	Size = MAP_APPFONT ( 260 , 185 ) ;
47    FixedLine FL_CROP
48	{
49		Pos = MAP_APPFONT ( 6 , 3 ) ;
50        Size = MAP_APPFONT ( 164 , 8 ) ;
51		Text [ en-US ] = "Crop" ;
52	};
53	FixedText FT_LEFT
54	{
55        Pos = MAP_APPFONT ( 12 , 44 ) ;
56        Size = MAP_APPFONT ( 28 , 8 ) ;
57		Text [ en-US ] = "~Left" ;
58	};
59	MetricField MF_LEFT
60	{
61	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_LEFT";
62		Border = TRUE ;
63        Pos = MAP_APPFONT ( 42 , 42 ) ;
64		Size = MAP_APPFONT ( 40 , 12 ) ;
65		Text = "12,99" ;
66		TabStop = TRUE ;
67		Left = TRUE ;
68		Repeat = TRUE ;
69		Spin = TRUE ;
70		Minimum = -9999 ;
71		Maximum = 9999 ;
72		DecimalDigits = 2 ;
73		Unit = FUNIT_CM ;
74		First = 0 ;
75		Last = 9999 ;
76		SpinSize = 10 ;
77	};
78	FixedText FT_RIGHT
79	{
80        Pos = MAP_APPFONT ( 12 , 60 ) ;
81        Size = MAP_APPFONT ( 28 , 8 ) ;
82		Left = TRUE ;
83		Text [ en-US ] = "~Right" ;
84	};
85	MetricField MF_RIGHT
86	{
87	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_RIGHT";
88		Border = TRUE ;
89        Pos = MAP_APPFONT ( 42 , 58 ) ;
90		Size = MAP_APPFONT ( 40 , 12 ) ;
91		TabStop = TRUE ;
92		Left = TRUE ;
93		Repeat = TRUE ;
94		Spin = TRUE ;
95		Minimum = -9999 ;
96		Maximum = 9999 ;
97		DecimalDigits = 2 ;
98		Unit = FUNIT_CM ;
99		First = 0 ;
100		Last = 9999 ;
101		SpinSize = 10 ;
102	};
103	FixedText FT_TOP
104	{
105        Pos = MAP_APPFONT ( 94 , 44 ) ;
106        Size = MAP_APPFONT ( 28 , 8 ) ;
107		Text [ en-US ] = "~Top" ;
108	};
109	MetricField MF_TOP
110	{
111	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_TOP";
112		Border = TRUE ;
113        Pos = MAP_APPFONT ( 124 , 42 ) ;
114		Size = MAP_APPFONT ( 40 , 12 ) ;
115		Text = "12,99" ;
116		TabStop = TRUE ;
117		Left = TRUE ;
118		Repeat = TRUE ;
119		Spin = TRUE ;
120		Minimum = -9999 ;
121		Maximum = 9999 ;
122		DecimalDigits = 2 ;
123		Unit = FUNIT_CM ;
124		First = 0 ;
125		Last = 9999 ;
126		SpinSize = 10 ;
127	};
128	FixedText FT_BOTTOM
129	{
130        Pos = MAP_APPFONT ( 94 , 60 ) ;
131        Size = MAP_APPFONT ( 28 , 8 ) ;
132		Left = TRUE ;
133		Text [ en-US ] = "~Bottom" ;
134	};
135	MetricField MF_BOTTOM
136	{
137	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_BOTTOM";
138		Border = TRUE ;
139        Pos = MAP_APPFONT ( 124 , 58 ) ;
140		Size = MAP_APPFONT ( 40 , 12 ) ;
141		TabStop = TRUE ;
142		Left = TRUE ;
143		Repeat = TRUE ;
144		Spin = TRUE ;
145		Minimum = -9999 ;
146		Maximum = 9999 ;
147		DecimalDigits = 2 ;
148		Unit = FUNIT_CM ;
149		First = 0 ;
150		Last = 9999 ;
151		SpinSize = 10 ;
152	};
153	RadioButton RB_SIZECONST
154	{
155	    HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_SIZECONST";
156        Pos = MAP_APPFONT ( 12 , 28 ) ;
157        Size = MAP_APPFONT ( 152 , 10 ) ;
158		Text [ en-US ] = "Keep image si~ze" ;
159	};
160	RadioButton RB_ZOOMCONST
161	{
162	    HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_ZOOMCONST";
163        Pos = MAP_APPFONT ( 12 , 14 ) ;
164        Size = MAP_APPFONT ( 152 , 10 ) ;
165		Check = TRUE ;
166		Text [ en-US ] = "Keep ~scale" ;
167	};
168	Window WN_BSP
169	{
170        Pos = MAP_APPFONT ( 176 , 6 ) ;
171        Size = MAP_APPFONT ( 78 , 78 ) ;
172        Border = TRUE ;
173	};
174    FixedLine FL_ZOOM
175	{
176        Pos = MAP_APPFONT ( 6, 76 ) ;
177        Size = MAP_APPFONT ( 164 , 8 ) ;
178		Text [ en-US ] = "Scale" ;
179	};
180	FixedText FT_WIDTHZOOM
181	{
182		Left = TRUE ;
183        Pos = MAP_APPFONT ( 12 , 89 ) ;
184        Size = MAP_APPFONT ( 28 , 8 ) ;
185        Text [ en-US ] = "~Width" ;
186	};
187	MetricField MF_WIDTHZOOM
188	{
189	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTHZOOM";
190		Border = TRUE ;
191        Pos = MAP_APPFONT ( 42 , 87 ) ;
192		Size = MAP_APPFONT ( 40 , 12 ) ;
193		Text = "12,99" ;
194		TabStop = TRUE ;
195		Left = TRUE ;
196		Repeat = TRUE ;
197		Spin = TRUE ;
198		Minimum = 1 ;
199		Maximum = 9999 ;
200		First = 5 ;
201		Last = 1000 ;
202		Maximum = 9999 ;
203		Value = 100 ;
204		Unit = FUNIT_CUSTOM ;
205		CustomUnitText = "%" ;
206		SpinSize = 10 ;
207	};
208	FixedText FT_HEIGHTZOOM
209	{
210        Pos = MAP_APPFONT ( 12 , 105 ) ;
211        Size = MAP_APPFONT ( 28 , 8 ) ;
212        Text [ en-US ] = "H~eight" ;
213		Left = TRUE ;
214	};
215	MetricField MF_HEIGHTZOOM
216	{
217	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM";
218		Border = TRUE ;
219        Pos = MAP_APPFONT ( 42 , 103 ) ;
220		Size = MAP_APPFONT ( 40 , 12 ) ;
221		TabStop = TRUE ;
222		Left = TRUE ;
223		Repeat = TRUE ;
224		Spin = TRUE ;
225		Minimum = 1 ;
226		Maximum = 9999 ;
227		First = 5 ;
228		Last = 1000 ;
229		Maximum = 9999 ;
230		Value = 100 ;
231		Unit = FUNIT_CUSTOM ;
232		CustomUnitText = "%" ;
233		SpinSize = 10 ;
234	};
235    FixedLine FL_SIZE
236	{
237        Pos = MAP_APPFONT ( 6 , 121 ) ;
238        Size = MAP_APPFONT ( 164 , 8 ) ;
239		Text [ en-US ] = "Image size" ;
240	};
241	FixedText FT_WIDTH
242	{
243        Pos = MAP_APPFONT ( 12 , 134 ) ;
244        Size = MAP_APPFONT ( 28 , 8 ) ;
245		Left = TRUE ;
246		Text [ en-US ] = "~Width" ;
247	};
248	MetricField MF_WIDTH
249	{
250	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH";
251		Border = TRUE ;
252        Pos = MAP_APPFONT ( 42 , 132 ) ;
253		Size = MAP_APPFONT ( 40 , 12 ) ;
254		Text = "12,99" ;
255		TabStop = TRUE ;
256		Left = TRUE ;
257		Repeat = TRUE ;
258		Spin = TRUE ;
259		Minimum = 5 ;
260		Maximum = 20000 ;
261		DecimalDigits = 2 ;
262		Unit = FUNIT_CM ;
263		First = 5 ;
264		Last = 20000 ;
265		SpinSize = 10 ;
266	};
267	FixedText FT_HEIGHT
268	{
269        Pos = MAP_APPFONT ( 12 , 150 ) ;
270        Size = MAP_APPFONT ( 28 , 8 ) ;
271		Left = TRUE ;
272        Text [ en-US ] = "H~eight" ;
273	};
274	MetricField MF_HEIGHT
275	{
276	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT";
277		Border = TRUE ;
278        Pos = MAP_APPFONT ( 42 , 148 ) ;
279		Size = MAP_APPFONT ( 40 , 12 ) ;
280		TabStop = TRUE ;
281		Left = TRUE ;
282		Repeat = TRUE ;
283		Spin = TRUE ;
284		Minimum = 5 ;
285		Maximum = 20000 ;
286		DecimalDigits = 2 ;
287		Unit = FUNIT_CM ;
288		First = 5 ;
289		Last = 20000 ;
290		SpinSize = 10 ;
291	};
292	FixedText FT_ORIG_SIZE
293	{
294        Pos = MAP_APPFONT ( 176 , 132 ) ;
295		Size = MAP_APPFONT ( 74 , 8 ) ;
296	};
297	PushButton PB_ORGSIZE
298	{
299	    HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE";
300        Pos = MAP_APPFONT ( 176 , 143 ) ;
301		Size = MAP_APPFONT ( 50 , 14 ) ;
302		TabStop = TRUE ;
303		Text [ en-US ] = "~Original Size" ;
304	};
305};
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344