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