xref: /aoo41x/main/cui/source/tabpages/grfpage.src (revision 0e2af6af)
1*0e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*0e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*0e2af6afSAndrew Rist * distributed with this work for additional information
6*0e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
9*0e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10*0e2af6afSAndrew Rist *
11*0e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*0e2af6afSAndrew Rist *
13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an
15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*0e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
17*0e2af6afSAndrew Rist * specific language governing permissions and limitations
18*0e2af6afSAndrew Rist * under the License.
19*0e2af6afSAndrew Rist *
20*0e2af6afSAndrew Rist *************************************************************/
21*0e2af6afSAndrew Rist
22*0e2af6afSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include <cuires.hrc>
25cdf0e10cSrcweir#include "helpid.hrc"
26cdf0e10cSrcweir#include "grfpage.hrc"
27cdf0e10cSrcweir#include <svx/dialogs.hrc>
28cdf0e10cSrcweir
29cdf0e10cSrcweir/************************************************************/
30cdf0e10cSrcweir/*																													*/
31cdf0e10cSrcweir/*																													*/
32cdf0e10cSrcweir/*									 Crop-Page															*/
33cdf0e10cSrcweir/*																													*/
34cdf0e10cSrcweir/*																													*/
35cdf0e10cSrcweir/************************************************************/
36cdf0e10cSrcweirTabPage RID_SVXPAGE_GRFCROP
37cdf0e10cSrcweir{
38cdf0e10cSrcweir	Hide = TRUE ;
39cdf0e10cSrcweir	HelpID = HID_SVXPAGE_GRFCROP;
40cdf0e10cSrcweir	SVLook = TRUE ;
41cdf0e10cSrcweir	Pos = MAP_APPFONT ( 0 , 0 ) ;
42cdf0e10cSrcweir	Size = MAP_APPFONT ( 260 , 185 ) ;
43cdf0e10cSrcweir    FixedLine FL_CROP
44cdf0e10cSrcweir	{
45cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 3 ) ;
46cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 8 ) ;
47cdf0e10cSrcweir		Text [ en-US ] = "Crop" ;
48cdf0e10cSrcweir	};
49cdf0e10cSrcweir	FixedText FT_LEFT
50cdf0e10cSrcweir	{
51cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 44 ) ;
52cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
53cdf0e10cSrcweir		Text [ en-US ] = "~Left" ;
54cdf0e10cSrcweir	};
55cdf0e10cSrcweir	MetricField MF_LEFT
56cdf0e10cSrcweir	{
57cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_LEFT";
58cdf0e10cSrcweir		Border = TRUE ;
59cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 42 ) ;
60cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
61cdf0e10cSrcweir		Text = "12,99" ;
62cdf0e10cSrcweir		TabStop = TRUE ;
63cdf0e10cSrcweir		Left = TRUE ;
64cdf0e10cSrcweir		Repeat = TRUE ;
65cdf0e10cSrcweir		Spin = TRUE ;
66cdf0e10cSrcweir		Minimum = -9999 ;
67cdf0e10cSrcweir		Maximum = 9999 ;
68cdf0e10cSrcweir		DecimalDigits = 2 ;
69cdf0e10cSrcweir		Unit = FUNIT_CM ;
70cdf0e10cSrcweir		First = 0 ;
71cdf0e10cSrcweir		Last = 9999 ;
72cdf0e10cSrcweir		SpinSize = 10 ;
73cdf0e10cSrcweir	};
74cdf0e10cSrcweir	FixedText FT_RIGHT
75cdf0e10cSrcweir	{
76cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 60 ) ;
77cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
78cdf0e10cSrcweir		Left = TRUE ;
79cdf0e10cSrcweir		Text [ en-US ] = "~Right" ;
80cdf0e10cSrcweir	};
81cdf0e10cSrcweir	MetricField MF_RIGHT
82cdf0e10cSrcweir	{
83cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_RIGHT";
84cdf0e10cSrcweir		Border = TRUE ;
85cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 58 ) ;
86cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
87cdf0e10cSrcweir		TabStop = TRUE ;
88cdf0e10cSrcweir		Left = TRUE ;
89cdf0e10cSrcweir		Repeat = TRUE ;
90cdf0e10cSrcweir		Spin = TRUE ;
91cdf0e10cSrcweir		Minimum = -9999 ;
92cdf0e10cSrcweir		Maximum = 9999 ;
93cdf0e10cSrcweir		DecimalDigits = 2 ;
94cdf0e10cSrcweir		Unit = FUNIT_CM ;
95cdf0e10cSrcweir		First = 0 ;
96cdf0e10cSrcweir		Last = 9999 ;
97cdf0e10cSrcweir		SpinSize = 10 ;
98cdf0e10cSrcweir	};
99cdf0e10cSrcweir	FixedText FT_TOP
100cdf0e10cSrcweir	{
101cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 44 ) ;
102cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
103cdf0e10cSrcweir		Text [ en-US ] = "~Top" ;
104cdf0e10cSrcweir	};
105cdf0e10cSrcweir	MetricField MF_TOP
106cdf0e10cSrcweir	{
107cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_TOP";
108cdf0e10cSrcweir		Border = TRUE ;
109cdf0e10cSrcweir        Pos = MAP_APPFONT ( 124 , 42 ) ;
110cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
111cdf0e10cSrcweir		Text = "12,99" ;
112cdf0e10cSrcweir		TabStop = TRUE ;
113cdf0e10cSrcweir		Left = TRUE ;
114cdf0e10cSrcweir		Repeat = TRUE ;
115cdf0e10cSrcweir		Spin = TRUE ;
116cdf0e10cSrcweir		Minimum = -9999 ;
117cdf0e10cSrcweir		Maximum = 9999 ;
118cdf0e10cSrcweir		DecimalDigits = 2 ;
119cdf0e10cSrcweir		Unit = FUNIT_CM ;
120cdf0e10cSrcweir		First = 0 ;
121cdf0e10cSrcweir		Last = 9999 ;
122cdf0e10cSrcweir		SpinSize = 10 ;
123cdf0e10cSrcweir	};
124cdf0e10cSrcweir	FixedText FT_BOTTOM
125cdf0e10cSrcweir	{
126cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94 , 60 ) ;
127cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
128cdf0e10cSrcweir		Left = TRUE ;
129cdf0e10cSrcweir		Text [ en-US ] = "~Bottom" ;
130cdf0e10cSrcweir	};
131cdf0e10cSrcweir	MetricField MF_BOTTOM
132cdf0e10cSrcweir	{
133cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_BOTTOM";
134cdf0e10cSrcweir		Border = TRUE ;
135cdf0e10cSrcweir        Pos = MAP_APPFONT ( 124 , 58 ) ;
136cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
137cdf0e10cSrcweir		TabStop = TRUE ;
138cdf0e10cSrcweir		Left = TRUE ;
139cdf0e10cSrcweir		Repeat = TRUE ;
140cdf0e10cSrcweir		Spin = TRUE ;
141cdf0e10cSrcweir		Minimum = -9999 ;
142cdf0e10cSrcweir		Maximum = 9999 ;
143cdf0e10cSrcweir		DecimalDigits = 2 ;
144cdf0e10cSrcweir		Unit = FUNIT_CM ;
145cdf0e10cSrcweir		First = 0 ;
146cdf0e10cSrcweir		Last = 9999 ;
147cdf0e10cSrcweir		SpinSize = 10 ;
148cdf0e10cSrcweir	};
149cdf0e10cSrcweir	RadioButton RB_SIZECONST
150cdf0e10cSrcweir	{
151cdf0e10cSrcweir	    HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_SIZECONST";
152cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 28 ) ;
153cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 10 ) ;
154cdf0e10cSrcweir		Text [ en-US ] = "Keep image si~ze" ;
155cdf0e10cSrcweir	};
156cdf0e10cSrcweir	RadioButton RB_ZOOMCONST
157cdf0e10cSrcweir	{
158cdf0e10cSrcweir	    HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_ZOOMCONST";
159cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
160cdf0e10cSrcweir        Size = MAP_APPFONT ( 152 , 10 ) ;
161cdf0e10cSrcweir		Check = TRUE ;
162cdf0e10cSrcweir		Text [ en-US ] = "Keep ~scale" ;
163cdf0e10cSrcweir	};
164cdf0e10cSrcweir	Window WN_BSP
165cdf0e10cSrcweir	{
166cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 6 ) ;
167cdf0e10cSrcweir        Size = MAP_APPFONT ( 78 , 78 ) ;
168cdf0e10cSrcweir        Border = TRUE ;
169cdf0e10cSrcweir	};
170cdf0e10cSrcweir    FixedLine FL_ZOOM
171cdf0e10cSrcweir	{
172cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 76 ) ;
173cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 8 ) ;
174cdf0e10cSrcweir		Text [ en-US ] = "Scale" ;
175cdf0e10cSrcweir	};
176cdf0e10cSrcweir	FixedText FT_WIDTHZOOM
177cdf0e10cSrcweir	{
178cdf0e10cSrcweir		Left = TRUE ;
179cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 89 ) ;
180cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
181cdf0e10cSrcweir        Text [ en-US ] = "~Width" ;
182cdf0e10cSrcweir	};
183cdf0e10cSrcweir	MetricField MF_WIDTHZOOM
184cdf0e10cSrcweir	{
185cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTHZOOM";
186cdf0e10cSrcweir		Border = TRUE ;
187cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 87 ) ;
188cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
189cdf0e10cSrcweir		Text = "12,99" ;
190cdf0e10cSrcweir		TabStop = TRUE ;
191cdf0e10cSrcweir		Left = TRUE ;
192cdf0e10cSrcweir		Repeat = TRUE ;
193cdf0e10cSrcweir		Spin = TRUE ;
194cdf0e10cSrcweir		Minimum = 1 ;
195cdf0e10cSrcweir		Maximum = 9999 ;
196cdf0e10cSrcweir		First = 5 ;
197cdf0e10cSrcweir		Last = 1000 ;
198cdf0e10cSrcweir		Maximum = 9999 ;
199cdf0e10cSrcweir		Value = 100 ;
200cdf0e10cSrcweir		Unit = FUNIT_CUSTOM ;
201cdf0e10cSrcweir		CustomUnitText = "%" ;
202cdf0e10cSrcweir		SpinSize = 10 ;
203cdf0e10cSrcweir	};
204cdf0e10cSrcweir	FixedText FT_HEIGHTZOOM
205cdf0e10cSrcweir	{
206cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 105 ) ;
207cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
208cdf0e10cSrcweir        Text [ en-US ] = "H~eight" ;
209cdf0e10cSrcweir		Left = TRUE ;
210cdf0e10cSrcweir	};
211cdf0e10cSrcweir	MetricField MF_HEIGHTZOOM
212cdf0e10cSrcweir	{
213cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM";
214cdf0e10cSrcweir		Border = TRUE ;
215cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 103 ) ;
216cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
217cdf0e10cSrcweir		TabStop = TRUE ;
218cdf0e10cSrcweir		Left = TRUE ;
219cdf0e10cSrcweir		Repeat = TRUE ;
220cdf0e10cSrcweir		Spin = TRUE ;
221cdf0e10cSrcweir		Minimum = 1 ;
222cdf0e10cSrcweir		Maximum = 9999 ;
223cdf0e10cSrcweir		First = 5 ;
224cdf0e10cSrcweir		Last = 1000 ;
225cdf0e10cSrcweir		Maximum = 9999 ;
226cdf0e10cSrcweir		Value = 100 ;
227cdf0e10cSrcweir		Unit = FUNIT_CUSTOM ;
228cdf0e10cSrcweir		CustomUnitText = "%" ;
229cdf0e10cSrcweir		SpinSize = 10 ;
230cdf0e10cSrcweir	};
231cdf0e10cSrcweir    FixedLine FL_SIZE
232cdf0e10cSrcweir	{
233cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 121 ) ;
234cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 8 ) ;
235cdf0e10cSrcweir		Text [ en-US ] = "Image size" ;
236cdf0e10cSrcweir	};
237cdf0e10cSrcweir	FixedText FT_WIDTH
238cdf0e10cSrcweir	{
239cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 134 ) ;
240cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
241cdf0e10cSrcweir		Left = TRUE ;
242cdf0e10cSrcweir		Text [ en-US ] = "~Width" ;
243cdf0e10cSrcweir	};
244cdf0e10cSrcweir	MetricField MF_WIDTH
245cdf0e10cSrcweir	{
246cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH";
247cdf0e10cSrcweir		Border = TRUE ;
248cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 132 ) ;
249cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
250cdf0e10cSrcweir		Text = "12,99" ;
251cdf0e10cSrcweir		TabStop = TRUE ;
252cdf0e10cSrcweir		Left = TRUE ;
253cdf0e10cSrcweir		Repeat = TRUE ;
254cdf0e10cSrcweir		Spin = TRUE ;
255cdf0e10cSrcweir		Minimum = 5 ;
256cdf0e10cSrcweir		Maximum = 20000 ;
257cdf0e10cSrcweir		DecimalDigits = 2 ;
258cdf0e10cSrcweir		Unit = FUNIT_CM ;
259cdf0e10cSrcweir		First = 5 ;
260cdf0e10cSrcweir		Last = 20000 ;
261cdf0e10cSrcweir		SpinSize = 10 ;
262cdf0e10cSrcweir	};
263cdf0e10cSrcweir	FixedText FT_HEIGHT
264cdf0e10cSrcweir	{
265cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 150 ) ;
266cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
267cdf0e10cSrcweir		Left = TRUE ;
268cdf0e10cSrcweir        Text [ en-US ] = "H~eight" ;
269cdf0e10cSrcweir	};
270cdf0e10cSrcweir	MetricField MF_HEIGHT
271cdf0e10cSrcweir	{
272cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT";
273cdf0e10cSrcweir		Border = TRUE ;
274cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 148 ) ;
275cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
276cdf0e10cSrcweir		TabStop = TRUE ;
277cdf0e10cSrcweir		Left = TRUE ;
278cdf0e10cSrcweir		Repeat = TRUE ;
279cdf0e10cSrcweir		Spin = TRUE ;
280cdf0e10cSrcweir		Minimum = 5 ;
281cdf0e10cSrcweir		Maximum = 20000 ;
282cdf0e10cSrcweir		DecimalDigits = 2 ;
283cdf0e10cSrcweir		Unit = FUNIT_CM ;
284cdf0e10cSrcweir		First = 5 ;
285cdf0e10cSrcweir		Last = 20000 ;
286cdf0e10cSrcweir		SpinSize = 10 ;
287cdf0e10cSrcweir	};
288cdf0e10cSrcweir	FixedText FT_ORIG_SIZE
289cdf0e10cSrcweir	{
290cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 132 ) ;
291cdf0e10cSrcweir		Size = MAP_APPFONT ( 74 , 8 ) ;
292cdf0e10cSrcweir	};
293cdf0e10cSrcweir	PushButton PB_ORGSIZE
294cdf0e10cSrcweir	{
295cdf0e10cSrcweir	    HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE";
296cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 143 ) ;
297cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
298cdf0e10cSrcweir		TabStop = TRUE ;
299cdf0e10cSrcweir		Text [ en-US ] = "~Original Size" ;
300cdf0e10cSrcweir	};
301cdf0e10cSrcweir};
302cdf0e10cSrcweir
303cdf0e10cSrcweir
304cdf0e10cSrcweir
305cdf0e10cSrcweir
306cdf0e10cSrcweir
307cdf0e10cSrcweir
308cdf0e10cSrcweir
309cdf0e10cSrcweir
310cdf0e10cSrcweir
311cdf0e10cSrcweir
312cdf0e10cSrcweir
313cdf0e10cSrcweir
314cdf0e10cSrcweir
315cdf0e10cSrcweir
316cdf0e10cSrcweir
317cdf0e10cSrcweir
318cdf0e10cSrcweir
319cdf0e10cSrcweir
320cdf0e10cSrcweir
321cdf0e10cSrcweir
322cdf0e10cSrcweir
323cdf0e10cSrcweir
324cdf0e10cSrcweir
325cdf0e10cSrcweir
326cdf0e10cSrcweir
327cdf0e10cSrcweir
328cdf0e10cSrcweir
329cdf0e10cSrcweir
330cdf0e10cSrcweir
331cdf0e10cSrcweir
332cdf0e10cSrcweir
333cdf0e10cSrcweir
334cdf0e10cSrcweir
335cdf0e10cSrcweir
336cdf0e10cSrcweir
337cdf0e10cSrcweir
338cdf0e10cSrcweir
339cdf0e10cSrcweir
340