xref: /aoo41x/main/cui/source/tabpages/grfpage.src (revision 7ea7a1cc)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
100e2af6afSAndrew Rist *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
120e2af6afSAndrew Rist *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
190e2af6afSAndrew Rist *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew 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 ;
200*7ea7a1ccSTsutomu Uchino		Unit = FUNIT_PERCENT ;
201cdf0e10cSrcweir		SpinSize = 10 ;
202cdf0e10cSrcweir	};
203cdf0e10cSrcweir	FixedText FT_HEIGHTZOOM
204cdf0e10cSrcweir	{
205cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 105 ) ;
206cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
207cdf0e10cSrcweir        Text [ en-US ] = "H~eight" ;
208cdf0e10cSrcweir		Left = TRUE ;
209cdf0e10cSrcweir	};
210cdf0e10cSrcweir	MetricField MF_HEIGHTZOOM
211cdf0e10cSrcweir	{
212cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM";
213cdf0e10cSrcweir		Border = TRUE ;
214cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 103 ) ;
215cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
216cdf0e10cSrcweir		TabStop = TRUE ;
217cdf0e10cSrcweir		Left = TRUE ;
218cdf0e10cSrcweir		Repeat = TRUE ;
219cdf0e10cSrcweir		Spin = TRUE ;
220cdf0e10cSrcweir		Minimum = 1 ;
221cdf0e10cSrcweir		Maximum = 9999 ;
222cdf0e10cSrcweir		First = 5 ;
223cdf0e10cSrcweir		Last = 1000 ;
224cdf0e10cSrcweir		Maximum = 9999 ;
225cdf0e10cSrcweir		Value = 100 ;
226*7ea7a1ccSTsutomu Uchino		Unit = FUNIT_PERCENT ;
227cdf0e10cSrcweir		SpinSize = 10 ;
228cdf0e10cSrcweir	};
229cdf0e10cSrcweir    FixedLine FL_SIZE
230cdf0e10cSrcweir	{
231cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 121 ) ;
232cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 8 ) ;
233cdf0e10cSrcweir		Text [ en-US ] = "Image size" ;
234cdf0e10cSrcweir	};
235cdf0e10cSrcweir	FixedText FT_WIDTH
236cdf0e10cSrcweir	{
237cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 134 ) ;
238cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
239cdf0e10cSrcweir		Left = TRUE ;
240cdf0e10cSrcweir		Text [ en-US ] = "~Width" ;
241cdf0e10cSrcweir	};
242cdf0e10cSrcweir	MetricField MF_WIDTH
243cdf0e10cSrcweir	{
244cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH";
245cdf0e10cSrcweir		Border = TRUE ;
246cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 132 ) ;
247cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
248cdf0e10cSrcweir		Text = "12,99" ;
249cdf0e10cSrcweir		TabStop = TRUE ;
250cdf0e10cSrcweir		Left = TRUE ;
251cdf0e10cSrcweir		Repeat = TRUE ;
252cdf0e10cSrcweir		Spin = TRUE ;
253cdf0e10cSrcweir		Minimum = 5 ;
254cdf0e10cSrcweir		Maximum = 20000 ;
255cdf0e10cSrcweir		DecimalDigits = 2 ;
256cdf0e10cSrcweir		Unit = FUNIT_CM ;
257cdf0e10cSrcweir		First = 5 ;
258cdf0e10cSrcweir		Last = 20000 ;
259cdf0e10cSrcweir		SpinSize = 10 ;
260cdf0e10cSrcweir	};
261cdf0e10cSrcweir	FixedText FT_HEIGHT
262cdf0e10cSrcweir	{
263cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 150 ) ;
264cdf0e10cSrcweir        Size = MAP_APPFONT ( 28 , 8 ) ;
265cdf0e10cSrcweir		Left = TRUE ;
266cdf0e10cSrcweir        Text [ en-US ] = "H~eight" ;
267cdf0e10cSrcweir	};
268cdf0e10cSrcweir	MetricField MF_HEIGHT
269cdf0e10cSrcweir	{
270cdf0e10cSrcweir	    HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT";
271cdf0e10cSrcweir		Border = TRUE ;
272cdf0e10cSrcweir        Pos = MAP_APPFONT ( 42 , 148 ) ;
273cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
274cdf0e10cSrcweir		TabStop = TRUE ;
275cdf0e10cSrcweir		Left = TRUE ;
276cdf0e10cSrcweir		Repeat = TRUE ;
277cdf0e10cSrcweir		Spin = TRUE ;
278cdf0e10cSrcweir		Minimum = 5 ;
279cdf0e10cSrcweir		Maximum = 20000 ;
280cdf0e10cSrcweir		DecimalDigits = 2 ;
281cdf0e10cSrcweir		Unit = FUNIT_CM ;
282cdf0e10cSrcweir		First = 5 ;
283cdf0e10cSrcweir		Last = 20000 ;
284cdf0e10cSrcweir		SpinSize = 10 ;
285cdf0e10cSrcweir	};
286cdf0e10cSrcweir	FixedText FT_ORIG_SIZE
287cdf0e10cSrcweir	{
288cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 132 ) ;
289cdf0e10cSrcweir		Size = MAP_APPFONT ( 74 , 8 ) ;
290cdf0e10cSrcweir	};
291cdf0e10cSrcweir	PushButton PB_ORGSIZE
292cdf0e10cSrcweir	{
293cdf0e10cSrcweir	    HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE";
294cdf0e10cSrcweir        Pos = MAP_APPFONT ( 176 , 143 ) ;
295cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
296cdf0e10cSrcweir		TabStop = TRUE ;
297cdf0e10cSrcweir		Text [ en-US ] = "~Original Size" ;
298cdf0e10cSrcweir	};
299cdf0e10cSrcweir};
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
338