xref: /AOO41X/main/cui/source/dialogs/grfflt.src (revision 7ea7a1cc0485d11251efeb72154f72ac1c990b6e)
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
10cdf0e10cSrcweir *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
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.
19cdf0e10cSrcweir *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include <svtools/controldims.hrc>
25cdf0e10cSrcweir#include <cuires.hrc>
26cdf0e10cSrcweir#include "helpid.hrc"
27cdf0e10cSrcweir#include "grfflt.hrc"
28cdf0e10cSrcweir#include <svx/dialogs.hrc>
29cdf0e10cSrcweir
30cdf0e10cSrcweir// --------------------
31cdf0e10cSrcweir// - DLG_FILTERMOSAIC -
32cdf0e10cSrcweir// --------------------
33cdf0e10cSrcweir
34cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_MOSAIC
35cdf0e10cSrcweir{
36cdf0e10cSrcweir    HelpID = CMD_SID_GRFFILTER_MOSAIC;
37cdf0e10cSrcweir    OutputSize = TRUE ;
38cdf0e10cSrcweir    Moveable = TRUE ;
39cdf0e10cSrcweir    SVLook = TRUE ;
40cdf0e10cSrcweir    Size = MAP_APPFONT ( 250, 100 ) ;
41cdf0e10cSrcweir
42cdf0e10cSrcweir    Text [ en-US ] = "Mosaic" ;
43cdf0e10cSrcweir
44cdf0e10cSrcweir    FixedLine FL_PARAMETER
45cdf0e10cSrcweir    {
46cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
47cdf0e10cSrcweir        Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
48cdf0e10cSrcweir		Text [ en-US ] = "Parameters";
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir	Control CTL_PREVIEW
51cdf0e10cSrcweir	{
52cdf0e10cSrcweir        Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
53cdf0e10cSrcweir        Size = MAP_APPFONT ( 81, 73 ) ;
54cdf0e10cSrcweir	};
55cdf0e10cSrcweir#define MA_Y0	3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
56cdf0e10cSrcweir    FixedText DLG_FILTERMOSAIC_FT_WIDTH
57cdf0e10cSrcweir    {
58cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, MA_Y0 ) ;
59cdf0e10cSrcweir        Size = MAP_APPFONT ( 77, 10 ) ;
60cdf0e10cSrcweir        Text [ en-US ] = "~Width" ;
61cdf0e10cSrcweir	};
62cdf0e10cSrcweir#define MA_Y1	MA_Y0 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
63cdf0e10cSrcweir    MetricField DLG_FILTERMOSAIC_MTR_WIDTH
64cdf0e10cSrcweir    {
65cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_MTR_WIDTH";
66cdf0e10cSrcweir        Border = TRUE ;
67cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , MA_Y1 ) ;
68cdf0e10cSrcweir        Size = MAP_APPFONT ( 35 , 12 ) ;
69cdf0e10cSrcweir        TabStop = TRUE ;
70cdf0e10cSrcweir        Repeat = TRUE ;
71cdf0e10cSrcweir        Spin = TRUE ;
72cdf0e10cSrcweir        Minimum = 1 ;
73cdf0e10cSrcweir        Maximum = 999 ;
74cdf0e10cSrcweir        StrictFormat = TRUE ;
75cdf0e10cSrcweir        Unit = FUNIT_CUSTOM ;
76cdf0e10cSrcweir        CustomUnitText = " Pixel" ;
77cdf0e10cSrcweir        First = 1 ;
78cdf0e10cSrcweir        Last = 999 ;
79cdf0e10cSrcweir        SpinSize = 1 ;
80cdf0e10cSrcweir    };
81cdf0e10cSrcweir#define MA_Y2	MA_Y1 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y
82cdf0e10cSrcweir    FixedText DLG_FILTERMOSAIC_FT_HEIGHT
83cdf0e10cSrcweir    {
84cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, MA_Y2 ) ;
85cdf0e10cSrcweir        Size = MAP_APPFONT ( 77, 10 ) ;
86cdf0e10cSrcweir        Text [ en-US ] = "H~eight" ;
87cdf0e10cSrcweir	};
88cdf0e10cSrcweir#define MA_Y3	MA_Y2 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
89cdf0e10cSrcweir    MetricField DLG_FILTERMOSAIC_MTR_HEIGHT
90cdf0e10cSrcweir    {
91cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_MTR_HEIGHT";
92cdf0e10cSrcweir        Border = TRUE ;
93cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, MA_Y3 ) ;
94cdf0e10cSrcweir        Size = MAP_APPFONT ( 35, 12 ) ;
95cdf0e10cSrcweir        TabStop = TRUE ;
96cdf0e10cSrcweir        Repeat = TRUE ;
97cdf0e10cSrcweir        Spin = TRUE ;
98cdf0e10cSrcweir        Minimum = 1 ;
99cdf0e10cSrcweir        Maximum = 999 ;
100cdf0e10cSrcweir        StrictFormat = TRUE ;
101cdf0e10cSrcweir        Unit = FUNIT_CUSTOM ;
102cdf0e10cSrcweir        CustomUnitText = " Pixel" ;
103cdf0e10cSrcweir        First = 1 ;
104cdf0e10cSrcweir        Last = 999 ;
105cdf0e10cSrcweir        SpinSize = 1 ;
106cdf0e10cSrcweir    };
107cdf0e10cSrcweir#define MA_Y4	MA_Y3 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_Y
108cdf0e10cSrcweir	CheckBox DLG_FILTERMOSAIC_CBX_EDGES
109cdf0e10cSrcweir	{
110cdf0e10cSrcweir	    HelpID = "cui:CheckBox:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_CBX_EDGES";
111cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, MA_Y4 ) ;
112cdf0e10cSrcweir        Size = MAP_APPFONT ( 91, 12 ) ;
113cdf0e10cSrcweir        TabStop = TRUE ;
114cdf0e10cSrcweir        Text [ en-US ] = "E~nhance edges" ;
115cdf0e10cSrcweir	};
116cdf0e10cSrcweir	OKButton BTN_OK
117cdf0e10cSrcweir    {
118cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 6 ) ;
119cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
120cdf0e10cSrcweir        TabStop = TRUE ;
121cdf0e10cSrcweir        DefButton = TRUE ;
122cdf0e10cSrcweir    };
123cdf0e10cSrcweir    CancelButton BTN_CANCEL
124cdf0e10cSrcweir    {
125cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 23 ) ;
126cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
127cdf0e10cSrcweir        TabStop = TRUE ;
128cdf0e10cSrcweir    };
129cdf0e10cSrcweir    HelpButton BTN_HELP
130cdf0e10cSrcweir    {
131cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 43 ) ;
132cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
133cdf0e10cSrcweir        TabStop = TRUE ;
134cdf0e10cSrcweir    };
135cdf0e10cSrcweir};
136cdf0e10cSrcweir
137cdf0e10cSrcweir// ----------------------
138cdf0e10cSrcweir// - DLG_FILTERSOLARIZE -
139cdf0e10cSrcweir// ----------------------
140cdf0e10cSrcweir
141cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_SOLARIZE
142cdf0e10cSrcweir{
143cdf0e10cSrcweir    HelpID = CMD_SID_GRFFILTER_SOLARIZE;
144cdf0e10cSrcweir    OutputSize = TRUE ;
145cdf0e10cSrcweir    Moveable = TRUE ;
146cdf0e10cSrcweir    SVLook = TRUE ;
147cdf0e10cSrcweir    Size = MAP_APPFONT ( 250, 100 ) ;
148cdf0e10cSrcweir
149cdf0e10cSrcweir    Text [ en-US ] = "Solarization" ;
150cdf0e10cSrcweir
151cdf0e10cSrcweir    FixedLine FL_PARAMETER
152cdf0e10cSrcweir    {
153cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
154cdf0e10cSrcweir        Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
155cdf0e10cSrcweir		Text [ en-US ] = "Parameters";
156cdf0e10cSrcweir	};
157cdf0e10cSrcweir	Control CTL_PREVIEW
158cdf0e10cSrcweir	{
159cdf0e10cSrcweir        Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
160cdf0e10cSrcweir        Size = MAP_APPFONT ( 81, 73 ) ;
161cdf0e10cSrcweir	};
162cdf0e10cSrcweir#define MA_Y5	3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
163cdf0e10cSrcweir    FixedText DLG_FILTERSOLARIZE_FT_THRESHOLD
164cdf0e10cSrcweir    {
165cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, MA_Y5 ) ;
166cdf0e10cSrcweir        Size = MAP_APPFONT ( 77 , 10 ) ;
167cdf0e10cSrcweir        Text [ en-US ] = "Threshold ~value" ;
168cdf0e10cSrcweir	};
169cdf0e10cSrcweir#define MA_Y6	MA_Y5 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
170cdf0e10cSrcweir    MetricField DLG_FILTERSOLARIZE_MTR_THRESHOLD
171cdf0e10cSrcweir    {
172cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_SOLARIZE:DLG_FILTERSOLARIZE_MTR_THRESHOLD";
173cdf0e10cSrcweir        Border = TRUE ;
174cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , MA_Y6 ) ;
175cdf0e10cSrcweir        Size = MAP_APPFONT ( 35 , 12 ) ;
176cdf0e10cSrcweir        TabStop = TRUE ;
177cdf0e10cSrcweir        Repeat = TRUE ;
178cdf0e10cSrcweir        Spin = TRUE ;
179cdf0e10cSrcweir        Maximum = 100 ;
180cdf0e10cSrcweir        StrictFormat = TRUE ;
181*7ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
182cdf0e10cSrcweir        Last = 100 ;
183cdf0e10cSrcweir        SpinSize = 1 ;
184cdf0e10cSrcweir    };
185cdf0e10cSrcweir#define MA_Y7	MA_Y6 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y
186cdf0e10cSrcweir	CheckBox DLG_FILTERSOLARIZE_CBX_INVERT
187cdf0e10cSrcweir	{
188cdf0e10cSrcweir	    HelpID = "cui:CheckBox:RID_SVX_GRFFILTER_DLG_SOLARIZE:DLG_FILTERSOLARIZE_CBX_INVERT";
189cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 46 ) ;
190cdf0e10cSrcweir        Size = MAP_APPFONT ( 77, 12 ) ;
191cdf0e10cSrcweir        TabStop = TRUE ;
192cdf0e10cSrcweir        Text [ en-US ] = "~Invert" ;
193cdf0e10cSrcweir	};
194cdf0e10cSrcweir	OKButton BTN_OK
195cdf0e10cSrcweir    {
196cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 6 ) ;
197cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
198cdf0e10cSrcweir        TabStop = TRUE ;
199cdf0e10cSrcweir        DefButton = TRUE ;
200cdf0e10cSrcweir    };
201cdf0e10cSrcweir    CancelButton BTN_CANCEL
202cdf0e10cSrcweir    {
203cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 23 ) ;
204cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
205cdf0e10cSrcweir        TabStop = TRUE ;
206cdf0e10cSrcweir    };
207cdf0e10cSrcweir    HelpButton BTN_HELP
208cdf0e10cSrcweir    {
209cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 43 ) ;
210cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
211cdf0e10cSrcweir        TabStop = TRUE ;
212cdf0e10cSrcweir    };
213cdf0e10cSrcweir};
214cdf0e10cSrcweir
215cdf0e10cSrcweir// ----------------------
216cdf0e10cSrcweir// - DLG_FILTERSOLARIZE -
217cdf0e10cSrcweir// ----------------------
218cdf0e10cSrcweir
219cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_SEPIA
220cdf0e10cSrcweir{
221cdf0e10cSrcweir    HelpID = CMD_SID_GRFFILTER_SEPIA;
222cdf0e10cSrcweir    OutputSize = TRUE ;
223cdf0e10cSrcweir    Moveable = TRUE ;
224cdf0e10cSrcweir    SVLook = TRUE ;
225cdf0e10cSrcweir    Size = MAP_APPFONT ( 250, 100 ) ;
226cdf0e10cSrcweir
227cdf0e10cSrcweir    Text [ en-US ] = "Aging" ;
228cdf0e10cSrcweir
229cdf0e10cSrcweir    FixedLine FL_PARAMETER
230cdf0e10cSrcweir    {
231cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
232cdf0e10cSrcweir        Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
233cdf0e10cSrcweir		Text [ en-US ] = "Parameters";
234cdf0e10cSrcweir	};
235cdf0e10cSrcweir	Control CTL_PREVIEW
236cdf0e10cSrcweir	{
237cdf0e10cSrcweir        Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
238cdf0e10cSrcweir        Size = MAP_APPFONT ( 81, 73 ) ;
239cdf0e10cSrcweir	};
240cdf0e10cSrcweir#define MA_Y8	3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
241cdf0e10cSrcweir    FixedText DLG_FILTERSEPIA_FT_SEPIA
242cdf0e10cSrcweir    {
243cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , MA_Y8 ) ;
244cdf0e10cSrcweir        Size = MAP_APPFONT ( 77 , 10 ) ;
245cdf0e10cSrcweir        Text [ en-US ] = "Aging degree" ;
246cdf0e10cSrcweir	};
247cdf0e10cSrcweir#define MA_Y9	MA_Y8 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
248cdf0e10cSrcweir    MetricField DLG_FILTERSEPIA_MTR_SEPIA
249cdf0e10cSrcweir    {
250cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_SEPIA:DLG_FILTERSEPIA_MTR_SEPIA";
251cdf0e10cSrcweir        Border = TRUE ;
252cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , MA_Y9 ) ;
253cdf0e10cSrcweir        Size = MAP_APPFONT ( 35 , 12 ) ;
254cdf0e10cSrcweir        TabStop = TRUE ;
255cdf0e10cSrcweir        Right = TRUE ;
256cdf0e10cSrcweir        Repeat = TRUE ;
257cdf0e10cSrcweir        Spin = TRUE ;
258cdf0e10cSrcweir        Minimum = 1 ;
259cdf0e10cSrcweir        Maximum = 100 ;
260cdf0e10cSrcweir        StrictFormat = TRUE ;
261*7ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
262cdf0e10cSrcweir        First = 1 ;
263cdf0e10cSrcweir        Last = 100 ;
264cdf0e10cSrcweir        SpinSize = 1 ;
265cdf0e10cSrcweir    };
266cdf0e10cSrcweir	OKButton BTN_OK
267cdf0e10cSrcweir    {
268cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 6 ) ;
269cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
270cdf0e10cSrcweir        TabStop = TRUE ;
271cdf0e10cSrcweir        DefButton = TRUE ;
272cdf0e10cSrcweir    };
273cdf0e10cSrcweir    CancelButton BTN_CANCEL
274cdf0e10cSrcweir    {
275cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 23 ) ;
276cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
277cdf0e10cSrcweir        TabStop = TRUE ;
278cdf0e10cSrcweir    };
279cdf0e10cSrcweir    HelpButton BTN_HELP
280cdf0e10cSrcweir    {
281cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 43 ) ;
282cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
283cdf0e10cSrcweir        TabStop = TRUE ;
284cdf0e10cSrcweir    };
285cdf0e10cSrcweir};
286cdf0e10cSrcweir
287cdf0e10cSrcweir// --------------------
288cdf0e10cSrcweir// - DLG_FILTERPOSTER -
289cdf0e10cSrcweir// --------------------
290cdf0e10cSrcweir
291cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_POSTER
292cdf0e10cSrcweir{
293cdf0e10cSrcweir    HelpID = CMD_SID_GRFFILTER_POSTER;
294cdf0e10cSrcweir    OutputSize = TRUE ;
295cdf0e10cSrcweir    Moveable = TRUE ;
296cdf0e10cSrcweir    SVLook = TRUE ;
297cdf0e10cSrcweir    Size = MAP_APPFONT ( 250, 100 ) ;
298cdf0e10cSrcweir
299cdf0e10cSrcweir    Text [ en-US ] = "Posterize" ;
300cdf0e10cSrcweir
301cdf0e10cSrcweir    FixedLine FL_PARAMETER
302cdf0e10cSrcweir    {
303cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
304cdf0e10cSrcweir        Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
305cdf0e10cSrcweir		Text [ en-US ] = "Parameters";
306cdf0e10cSrcweir	};
307cdf0e10cSrcweir	Control CTL_PREVIEW
308cdf0e10cSrcweir	{
309cdf0e10cSrcweir        Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
310cdf0e10cSrcweir        Size = MAP_APPFONT ( 81, 73 ) ;
311cdf0e10cSrcweir	};
312cdf0e10cSrcweir#define MA_Y10	3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
313cdf0e10cSrcweir    FixedText DLG_FILTERPOSTER_FT_POSTER
314cdf0e10cSrcweir    {
315cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , MA_Y10 ) ;
316cdf0e10cSrcweir        Size = MAP_APPFONT ( 77 , 10 ) ;
317cdf0e10cSrcweir        Text [ en-US ] = "Poster colors" ;
318cdf0e10cSrcweir	};
319cdf0e10cSrcweir#define MA_Y11	MA_Y10 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
320cdf0e10cSrcweir    NumericField DLG_FILTERPOSTER_NUM_POSTER
321cdf0e10cSrcweir    {
322cdf0e10cSrcweir        HelpID = "cui:NumericField:RID_SVX_GRFFILTER_DLG_POSTER:DLG_FILTERPOSTER_NUM_POSTER";
323cdf0e10cSrcweir        Border = TRUE ;
324cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , MA_Y11 ) ;
325cdf0e10cSrcweir        Size = MAP_APPFONT ( 35 , 12 ) ;
326cdf0e10cSrcweir        TabStop = TRUE ;
327cdf0e10cSrcweir        Repeat = TRUE ;
328cdf0e10cSrcweir        Spin = TRUE ;
329cdf0e10cSrcweir        Minimum = 2 ;
330cdf0e10cSrcweir        Maximum = 64 ;
331cdf0e10cSrcweir        StrictFormat = TRUE ;
332cdf0e10cSrcweir        First = 2 ;
333cdf0e10cSrcweir        Last = 64 ;
334cdf0e10cSrcweir        SpinSize = 1 ;
335cdf0e10cSrcweir    };
336cdf0e10cSrcweir	OKButton BTN_OK
337cdf0e10cSrcweir    {
338cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 6 ) ;
339cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
340cdf0e10cSrcweir        TabStop = TRUE ;
341cdf0e10cSrcweir        DefButton = TRUE ;
342cdf0e10cSrcweir    };
343cdf0e10cSrcweir    CancelButton BTN_CANCEL
344cdf0e10cSrcweir    {
345cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 23 ) ;
346cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
347cdf0e10cSrcweir        TabStop = TRUE ;
348cdf0e10cSrcweir    };
349cdf0e10cSrcweir    HelpButton BTN_HELP
350cdf0e10cSrcweir    {
351cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 43 ) ;
352cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
353cdf0e10cSrcweir        TabStop = TRUE ;
354cdf0e10cSrcweir    };
355cdf0e10cSrcweir};
356cdf0e10cSrcweir
357cdf0e10cSrcweir// --------------------
358cdf0e10cSrcweir// - DLG_FILTEREMBOSS -
359cdf0e10cSrcweir// --------------------
360cdf0e10cSrcweir
361cdf0e10cSrcweirTabPage RID_SVX_GRFFILTER_DLG_EMBOSS_TAB
362cdf0e10cSrcweir{
363cdf0e10cSrcweir    HelpID = "cui:TabPage:RID_SVX_GRFFILTER_DLG_EMBOSS_TAB";
364cdf0e10cSrcweir    Pos = MAP_APPFONT ( 0, 0 ) ;
365cdf0e10cSrcweir    Size = MAP_APPFONT ( 0, 0 ) ;
366cdf0e10cSrcweir};
367cdf0e10cSrcweir
368cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_EMBOSS
369cdf0e10cSrcweir{
370cdf0e10cSrcweir    HelpID = CMD_SID_GRFFILTER_EMBOSS;
371cdf0e10cSrcweir    OutputSize = TRUE ;
372cdf0e10cSrcweir    Moveable = TRUE ;
373cdf0e10cSrcweir    SVLook = TRUE ;
374cdf0e10cSrcweir    Size = MAP_APPFONT ( 250, 100 ) ;
375cdf0e10cSrcweir
376cdf0e10cSrcweir    Text [ en-US ] = "Relief" ;
377cdf0e10cSrcweir
378cdf0e10cSrcweir    FixedLine FL_PARAMETER
379cdf0e10cSrcweir    {
380cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
381cdf0e10cSrcweir        Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
382cdf0e10cSrcweir		Text [ en-US ] = "Parameters";
383cdf0e10cSrcweir	};
384cdf0e10cSrcweir	Control CTL_PREVIEW
385cdf0e10cSrcweir	{
386cdf0e10cSrcweir        Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
387cdf0e10cSrcweir        Size = MAP_APPFONT ( 81, 73 ) ;
388cdf0e10cSrcweir	};
389cdf0e10cSrcweir#define MA_Y12	3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
390cdf0e10cSrcweir    FixedText DLG_FILTEREMBOSS_FT_LIGHT
391cdf0e10cSrcweir    {
392cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , MA_Y12 ) ;
393cdf0e10cSrcweir        Size = MAP_APPFONT ( 77 , 10 ) ;
394cdf0e10cSrcweir        Text [ en-US ] = "Light source" ;
395cdf0e10cSrcweir	};
396cdf0e10cSrcweir#define MA_Y13	MA_Y12 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
397cdf0e10cSrcweir    Control DLG_FILTEREMBOSS_CTL_LIGHT
398cdf0e10cSrcweir    {
399cdf0e10cSrcweir		HelpID = HID_GRFFILTER_EMBOSS_LIGHT ;
400cdf0e10cSrcweir        Border = TRUE ;
401cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , MA_Y13 ) ;
402cdf0e10cSrcweir        Size = MAP_APPFONT ( 77 , 60 ) ;
403cdf0e10cSrcweir        TabStop = TRUE ;
404cdf0e10cSrcweir    };
405cdf0e10cSrcweir	OKButton BTN_OK
406cdf0e10cSrcweir    {
407cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 6 ) ;
408cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
409cdf0e10cSrcweir        TabStop = TRUE ;
410cdf0e10cSrcweir        DefButton = TRUE ;
411cdf0e10cSrcweir    };
412cdf0e10cSrcweir    CancelButton BTN_CANCEL
413cdf0e10cSrcweir    {
414cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 23 ) ;
415cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
416cdf0e10cSrcweir        TabStop = TRUE ;
417cdf0e10cSrcweir    };
418cdf0e10cSrcweir    HelpButton BTN_HELP
419cdf0e10cSrcweir    {
420cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194, 43 ) ;
421cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
422cdf0e10cSrcweir        TabStop = TRUE ;
423cdf0e10cSrcweir    };
424cdf0e10cSrcweir};
425cdf0e10cSrcweir
426cdf0e10cSrcweir
427cdf0e10cSrcweir
428cdf0e10cSrcweir
429cdf0e10cSrcweir
430cdf0e10cSrcweir
431cdf0e10cSrcweir
432cdf0e10cSrcweir
433cdf0e10cSrcweir
434cdf0e10cSrcweir
435cdf0e10cSrcweir
436cdf0e10cSrcweir
437cdf0e10cSrcweir
438cdf0e10cSrcweir
439cdf0e10cSrcweir
440cdf0e10cSrcweir
441cdf0e10cSrcweir
442cdf0e10cSrcweir
443cdf0e10cSrcweir
444cdf0e10cSrcweir
445cdf0e10cSrcweir
446cdf0e10cSrcweir
447cdf0e10cSrcweir
448cdf0e10cSrcweir
449cdf0e10cSrcweir
450cdf0e10cSrcweir
451cdf0e10cSrcweir
452cdf0e10cSrcweir
453cdf0e10cSrcweir
454cdf0e10cSrcweir
455cdf0e10cSrcweir
456cdf0e10cSrcweir
457