xref: /AOO41X/main/cui/source/tabpages/grfpage.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#include <cuires.hrc>
29*cdf0e10cSrcweir#include "helpid.hrc"
30*cdf0e10cSrcweir#include "grfpage.hrc"
31*cdf0e10cSrcweir#include <svx/dialogs.hrc>
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir/************************************************************/
34*cdf0e10cSrcweir/*																													*/
35*cdf0e10cSrcweir/*																													*/
36*cdf0e10cSrcweir/*									 Crop-Page															*/
37*cdf0e10cSrcweir/*																													*/
38*cdf0e10cSrcweir/*																													*/
39*cdf0e10cSrcweir/************************************************************/
40*cdf0e10cSrcweirTabPage RID_SVXPAGE_GRFCROP
41*cdf0e10cSrcweir{
42*cdf0e10cSrcweir	Hide = TRUE ;
43*cdf0e10cSrcweir	HelpID = HID_SVXPAGE_GRFCROP;
44*cdf0e10cSrcweir	SVLook = TRUE ;
45*cdf0e10cSrcweir	Pos = MAP_APPFONT ( 0 , 0 ) ;
46*cdf0e10cSrcweir	Size = MAP_APPFONT ( 260 , 185 ) ;
47*cdf0e10cSrcweir    FixedLine FL_CROP
48*cdf0e10cSrcweir	{
49*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3 ) ;
50*cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 8 ) ;
51*cdf0e10cSrcweir		Text [ en-US ] = "Crop" ;
52*cdf0e10cSrcweir	};
53*cdf0e10cSrcweir	FixedText FT_LEFT
54*cdf0e10cSrcweir	{
55*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 44 ) ;
56*cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
57*cdf0e10cSrcweir		Text [ en-US ] = "~Left" ;
58*cdf0e10cSrcweir	};
59*cdf0e10cSrcweir	MetricField MF_LEFT
60*cdf0e10cSrcweir	{
61*cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_LEFT";
62*cdf0e10cSrcweir		Border = TRUE ;
63*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 42 ) ;
64*cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
65*cdf0e10cSrcweir		Text = "12,99" ;
66*cdf0e10cSrcweir		TabStop = TRUE ;
67*cdf0e10cSrcweir		Left = TRUE ;
68*cdf0e10cSrcweir		Repeat = TRUE ;
69*cdf0e10cSrcweir		Spin = TRUE ;
70*cdf0e10cSrcweir		Minimum = -9999 ;
71*cdf0e10cSrcweir		Maximum = 9999 ;
72*cdf0e10cSrcweir		DecimalDigits = 2 ;
73*cdf0e10cSrcweir		Unit = FUNIT_CM ;
74*cdf0e10cSrcweir		First = 0 ;
75*cdf0e10cSrcweir		Last = 9999 ;
76*cdf0e10cSrcweir		SpinSize = 10 ;
77*cdf0e10cSrcweir	};
78*cdf0e10cSrcweir	FixedText FT_RIGHT
79*cdf0e10cSrcweir	{
80*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 60 ) ;
81*cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
82*cdf0e10cSrcweir		Left = TRUE ;
83*cdf0e10cSrcweir		Text [ en-US ] = "~Right" ;
84*cdf0e10cSrcweir	};
85*cdf0e10cSrcweir	MetricField MF_RIGHT
86*cdf0e10cSrcweir	{
87*cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_RIGHT";
88*cdf0e10cSrcweir		Border = TRUE ;
89*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 58 ) ;
90*cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
91*cdf0e10cSrcweir		TabStop = TRUE ;
92*cdf0e10cSrcweir		Left = TRUE ;
93*cdf0e10cSrcweir		Repeat = TRUE ;
94*cdf0e10cSrcweir		Spin = TRUE ;
95*cdf0e10cSrcweir		Minimum = -9999 ;
96*cdf0e10cSrcweir		Maximum = 9999 ;
97*cdf0e10cSrcweir		DecimalDigits = 2 ;
98*cdf0e10cSrcweir		Unit = FUNIT_CM ;
99*cdf0e10cSrcweir		First = 0 ;
100*cdf0e10cSrcweir		Last = 9999 ;
101*cdf0e10cSrcweir		SpinSize = 10 ;
102*cdf0e10cSrcweir	};
103*cdf0e10cSrcweir	FixedText FT_TOP
104*cdf0e10cSrcweir	{
105*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 44 ) ;
106*cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
107*cdf0e10cSrcweir		Text [ en-US ] = "~Top" ;
108*cdf0e10cSrcweir	};
109*cdf0e10cSrcweir	MetricField MF_TOP
110*cdf0e10cSrcweir	{
111*cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_TOP";
112*cdf0e10cSrcweir		Border = TRUE ;
113*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 124 , 42 ) ;
114*cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
115*cdf0e10cSrcweir		Text = "12,99" ;
116*cdf0e10cSrcweir		TabStop = TRUE ;
117*cdf0e10cSrcweir		Left = TRUE ;
118*cdf0e10cSrcweir		Repeat = TRUE ;
119*cdf0e10cSrcweir		Spin = TRUE ;
120*cdf0e10cSrcweir		Minimum = -9999 ;
121*cdf0e10cSrcweir		Maximum = 9999 ;
122*cdf0e10cSrcweir		DecimalDigits = 2 ;
123*cdf0e10cSrcweir		Unit = FUNIT_CM ;
124*cdf0e10cSrcweir		First = 0 ;
125*cdf0e10cSrcweir		Last = 9999 ;
126*cdf0e10cSrcweir		SpinSize = 10 ;
127*cdf0e10cSrcweir	};
128*cdf0e10cSrcweir	FixedText FT_BOTTOM
129*cdf0e10cSrcweir	{
130*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 60 ) ;
131*cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
132*cdf0e10cSrcweir		Left = TRUE ;
133*cdf0e10cSrcweir		Text [ en-US ] = "~Bottom" ;
134*cdf0e10cSrcweir	};
135*cdf0e10cSrcweir	MetricField MF_BOTTOM
136*cdf0e10cSrcweir	{
137*cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_BOTTOM";
138*cdf0e10cSrcweir		Border = TRUE ;
139*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 124 , 58 ) ;
140*cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
141*cdf0e10cSrcweir		TabStop = TRUE ;
142*cdf0e10cSrcweir		Left = TRUE ;
143*cdf0e10cSrcweir		Repeat = TRUE ;
144*cdf0e10cSrcweir		Spin = TRUE ;
145*cdf0e10cSrcweir		Minimum = -9999 ;
146*cdf0e10cSrcweir		Maximum = 9999 ;
147*cdf0e10cSrcweir		DecimalDigits = 2 ;
148*cdf0e10cSrcweir		Unit = FUNIT_CM ;
149*cdf0e10cSrcweir		First = 0 ;
150*cdf0e10cSrcweir		Last = 9999 ;
151*cdf0e10cSrcweir		SpinSize = 10 ;
152*cdf0e10cSrcweir	};
153*cdf0e10cSrcweir	RadioButton RB_SIZECONST
154*cdf0e10cSrcweir	{
155*cdf0e10cSrcweir	    HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_SIZECONST";
156*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 28 ) ;
157*cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 10 ) ;
158*cdf0e10cSrcweir		Text [ en-US ] = "Keep image si~ze" ;
159*cdf0e10cSrcweir	};
160*cdf0e10cSrcweir	RadioButton RB_ZOOMCONST
161*cdf0e10cSrcweir	{
162*cdf0e10cSrcweir	    HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_ZOOMCONST";
163*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
164*cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 10 ) ;
165*cdf0e10cSrcweir		Check = TRUE ;
166*cdf0e10cSrcweir		Text [ en-US ] = "Keep ~scale" ;
167*cdf0e10cSrcweir	};
168*cdf0e10cSrcweir	Window WN_BSP
169*cdf0e10cSrcweir	{
170*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 6 ) ;
171*cdf0e10cSrcweir        Size = MAP_APPFONT ( 78 , 78 ) ;
172*cdf0e10cSrcweir        Border = TRUE ;
173*cdf0e10cSrcweir	};
174*cdf0e10cSrcweir    FixedLine FL_ZOOM
175*cdf0e10cSrcweir	{
176*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 76 ) ;
177*cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 8 ) ;
178*cdf0e10cSrcweir		Text [ en-US ] = "Scale" ;
179*cdf0e10cSrcweir	};
180*cdf0e10cSrcweir	FixedText FT_WIDTHZOOM
181*cdf0e10cSrcweir	{
182*cdf0e10cSrcweir		Left = TRUE ;
183*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 89 ) ;
184*cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
185*cdf0e10cSrcweir        Text [ en-US ] = "~Width" ;
186*cdf0e10cSrcweir	};
187*cdf0e10cSrcweir	MetricField MF_WIDTHZOOM
188*cdf0e10cSrcweir	{
189*cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTHZOOM";
190*cdf0e10cSrcweir		Border = TRUE ;
191*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 87 ) ;
192*cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
193*cdf0e10cSrcweir		Text = "12,99" ;
194*cdf0e10cSrcweir		TabStop = TRUE ;
195*cdf0e10cSrcweir		Left = TRUE ;
196*cdf0e10cSrcweir		Repeat = TRUE ;
197*cdf0e10cSrcweir		Spin = TRUE ;
198*cdf0e10cSrcweir		Minimum = 1 ;
199*cdf0e10cSrcweir		Maximum = 9999 ;
200*cdf0e10cSrcweir		First = 5 ;
201*cdf0e10cSrcweir		Last = 1000 ;
202*cdf0e10cSrcweir		Maximum = 9999 ;
203*cdf0e10cSrcweir		Value = 100 ;
204*cdf0e10cSrcweir		Unit = FUNIT_CUSTOM ;
205*cdf0e10cSrcweir		CustomUnitText = "%" ;
206*cdf0e10cSrcweir		SpinSize = 10 ;
207*cdf0e10cSrcweir	};
208*cdf0e10cSrcweir	FixedText FT_HEIGHTZOOM
209*cdf0e10cSrcweir	{
210*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 105 ) ;
211*cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
212*cdf0e10cSrcweir        Text [ en-US ] = "H~eight" ;
213*cdf0e10cSrcweir		Left = TRUE ;
214*cdf0e10cSrcweir	};
215*cdf0e10cSrcweir	MetricField MF_HEIGHTZOOM
216*cdf0e10cSrcweir	{
217*cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM";
218*cdf0e10cSrcweir		Border = TRUE ;
219*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 103 ) ;
220*cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
221*cdf0e10cSrcweir		TabStop = TRUE ;
222*cdf0e10cSrcweir		Left = TRUE ;
223*cdf0e10cSrcweir		Repeat = TRUE ;
224*cdf0e10cSrcweir		Spin = TRUE ;
225*cdf0e10cSrcweir		Minimum = 1 ;
226*cdf0e10cSrcweir		Maximum = 9999 ;
227*cdf0e10cSrcweir		First = 5 ;
228*cdf0e10cSrcweir		Last = 1000 ;
229*cdf0e10cSrcweir		Maximum = 9999 ;
230*cdf0e10cSrcweir		Value = 100 ;
231*cdf0e10cSrcweir		Unit = FUNIT_CUSTOM ;
232*cdf0e10cSrcweir		CustomUnitText = "%" ;
233*cdf0e10cSrcweir		SpinSize = 10 ;
234*cdf0e10cSrcweir	};
235*cdf0e10cSrcweir    FixedLine FL_SIZE
236*cdf0e10cSrcweir	{
237*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 121 ) ;
238*cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 8 ) ;
239*cdf0e10cSrcweir		Text [ en-US ] = "Image size" ;
240*cdf0e10cSrcweir	};
241*cdf0e10cSrcweir	FixedText FT_WIDTH
242*cdf0e10cSrcweir	{
243*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 134 ) ;
244*cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
245*cdf0e10cSrcweir		Left = TRUE ;
246*cdf0e10cSrcweir		Text [ en-US ] = "~Width" ;
247*cdf0e10cSrcweir	};
248*cdf0e10cSrcweir	MetricField MF_WIDTH
249*cdf0e10cSrcweir	{
250*cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH";
251*cdf0e10cSrcweir		Border = TRUE ;
252*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 132 ) ;
253*cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
254*cdf0e10cSrcweir		Text = "12,99" ;
255*cdf0e10cSrcweir		TabStop = TRUE ;
256*cdf0e10cSrcweir		Left = TRUE ;
257*cdf0e10cSrcweir		Repeat = TRUE ;
258*cdf0e10cSrcweir		Spin = TRUE ;
259*cdf0e10cSrcweir		Minimum = 5 ;
260*cdf0e10cSrcweir		Maximum = 20000 ;
261*cdf0e10cSrcweir		DecimalDigits = 2 ;
262*cdf0e10cSrcweir		Unit = FUNIT_CM ;
263*cdf0e10cSrcweir		First = 5 ;
264*cdf0e10cSrcweir		Last = 20000 ;
265*cdf0e10cSrcweir		SpinSize = 10 ;
266*cdf0e10cSrcweir	};
267*cdf0e10cSrcweir	FixedText FT_HEIGHT
268*cdf0e10cSrcweir	{
269*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 150 ) ;
270*cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
271*cdf0e10cSrcweir		Left = TRUE ;
272*cdf0e10cSrcweir        Text [ en-US ] = "H~eight" ;
273*cdf0e10cSrcweir	};
274*cdf0e10cSrcweir	MetricField MF_HEIGHT
275*cdf0e10cSrcweir	{
276*cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT";
277*cdf0e10cSrcweir		Border = TRUE ;
278*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 148 ) ;
279*cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
280*cdf0e10cSrcweir		TabStop = TRUE ;
281*cdf0e10cSrcweir		Left = TRUE ;
282*cdf0e10cSrcweir		Repeat = TRUE ;
283*cdf0e10cSrcweir		Spin = TRUE ;
284*cdf0e10cSrcweir		Minimum = 5 ;
285*cdf0e10cSrcweir		Maximum = 20000 ;
286*cdf0e10cSrcweir		DecimalDigits = 2 ;
287*cdf0e10cSrcweir		Unit = FUNIT_CM ;
288*cdf0e10cSrcweir		First = 5 ;
289*cdf0e10cSrcweir		Last = 20000 ;
290*cdf0e10cSrcweir		SpinSize = 10 ;
291*cdf0e10cSrcweir	};
292*cdf0e10cSrcweir	FixedText FT_ORIG_SIZE
293*cdf0e10cSrcweir	{
294*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 132 ) ;
295*cdf0e10cSrcweir		Size = MAP_APPFONT ( 74 , 8 ) ;
296*cdf0e10cSrcweir	};
297*cdf0e10cSrcweir	PushButton PB_ORGSIZE
298*cdf0e10cSrcweir	{
299*cdf0e10cSrcweir	    HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE";
300*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 143 ) ;
301*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
302*cdf0e10cSrcweir		TabStop = TRUE ;
303*cdf0e10cSrcweir		Text [ en-US ] = "~Original Size" ;
304*cdf0e10cSrcweir	};
305*cdf0e10cSrcweir};
306*cdf0e10cSrcweir
307*cdf0e10cSrcweir
308*cdf0e10cSrcweir
309*cdf0e10cSrcweir
310*cdf0e10cSrcweir
311*cdf0e10cSrcweir
312*cdf0e10cSrcweir
313*cdf0e10cSrcweir
314*cdf0e10cSrcweir
315*cdf0e10cSrcweir
316*cdf0e10cSrcweir
317*cdf0e10cSrcweir
318*cdf0e10cSrcweir
319*cdf0e10cSrcweir
320*cdf0e10cSrcweir
321*cdf0e10cSrcweir
322*cdf0e10cSrcweir
323*cdf0e10cSrcweir
324*cdf0e10cSrcweir
325*cdf0e10cSrcweir
326*cdf0e10cSrcweir
327*cdf0e10cSrcweir
328*cdf0e10cSrcweir
329*cdf0e10cSrcweir
330*cdf0e10cSrcweir
331*cdf0e10cSrcweir
332*cdf0e10cSrcweir
333*cdf0e10cSrcweir
334*cdf0e10cSrcweir
335*cdf0e10cSrcweir
336*cdf0e10cSrcweir
337*cdf0e10cSrcweir
338*cdf0e10cSrcweir
339*cdf0e10cSrcweir
340*cdf0e10cSrcweir
341*cdf0e10cSrcweir
342*cdf0e10cSrcweir
343*cdf0e10cSrcweir
344