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