1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: grfflt.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include <svtools/controldims.hrc>
32 #include <svx/dialogs.hrc>
36 // --------------------
37 // - DLG_FILTERMOSAIC -
38 // --------------------
40 ModalDialog RID_SVX_GRFFILTER_DLG_MOSAIC
42 HelpID = SID_GRFFILTER_MOSAIC;
46 Size = MAP_APPFONT ( 250, 100 ) ;
48 Text [ en-US ] = "Mosaic" ;
50 FixedLine FL_PARAMETER
52 Pos = MAP_APPFONT ( 6 , 3 ) ;
53 Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
54 Text [ en-US ] = "Parameters";
58 Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
59 Size = MAP_APPFONT ( 81, 73 ) ;
61 #define MA_Y0 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
62 FixedText DLG_FILTERMOSAIC_FT_WIDTH
64 Pos = MAP_APPFONT ( 12, MA_Y0 ) ;
65 Size = MAP_APPFONT ( 77, 10 ) ;
66 Text [ en-US ] = "~Width" ;
68 #define MA_Y1 MA_Y0 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
69 MetricField DLG_FILTERMOSAIC_MTR_WIDTH
72 Pos = MAP_APPFONT ( 12 , MA_Y1 ) ;
73 Size = MAP_APPFONT ( 35 , 12 ) ;
81 CustomUnitText [ en-US ] = " Pixel" ;
86 #define MA_Y2 MA_Y1 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y
87 FixedText DLG_FILTERMOSAIC_FT_HEIGHT
89 Pos = MAP_APPFONT ( 12, MA_Y2 ) ;
90 Size = MAP_APPFONT ( 77, 10 ) ;
91 Text [ en-US ] = "H~eight" ;
93 #define MA_Y3 MA_Y2 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
94 MetricField DLG_FILTERMOSAIC_MTR_HEIGHT
97 Pos = MAP_APPFONT ( 12, MA_Y3 ) ;
98 Size = MAP_APPFONT ( 35, 12 ) ;
104 StrictFormat = TRUE ;
105 Unit = FUNIT_CUSTOM ;
106 CustomUnitText [ en-US ] = " Pixel" ;
111 #define MA_Y4 MA_Y3 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_Y
112 CheckBox DLG_FILTERMOSAIC_CBX_EDGES
114 Pos = MAP_APPFONT ( 12, MA_Y4 ) ;
115 Size = MAP_APPFONT ( 91, 12 ) ;
117 Text [ en-US ] = "E~nhance edges" ;
121 Pos = MAP_APPFONT ( 194, 6 ) ;
122 Size = MAP_APPFONT ( 50, 14 ) ;
126 CancelButton BTN_CANCEL
128 Pos = MAP_APPFONT ( 194, 23 ) ;
129 Size = MAP_APPFONT ( 50, 14 ) ;
134 Pos = MAP_APPFONT ( 194, 43 ) ;
135 Size = MAP_APPFONT ( 50, 14 ) ;
140 // ----------------------
141 // - DLG_FILTERSOLARIZE -
142 // ----------------------
144 ModalDialog RID_SVX_GRFFILTER_DLG_SOLARIZE
146 HelpID = SID_GRFFILTER_SOLARIZE;
150 Size = MAP_APPFONT ( 250, 100 ) ;
152 Text [ en-US ] = "Solarization" ;
154 FixedLine FL_PARAMETER
156 Pos = MAP_APPFONT ( 6 , 3 ) ;
157 Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
158 Text [ en-US ] = "Parameters";
162 Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
163 Size = MAP_APPFONT ( 81, 73 ) ;
165 #define MA_Y5 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
166 FixedText DLG_FILTERSOLARIZE_FT_THRESHOLD
168 Pos = MAP_APPFONT ( 12, MA_Y5 ) ;
169 Size = MAP_APPFONT ( 77 , 10 ) ;
170 Text [ en-US ] = "Threshold ~value" ;
172 #define MA_Y6 MA_Y5 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
173 MetricField DLG_FILTERSOLARIZE_MTR_THRESHOLD
176 Pos = MAP_APPFONT ( 12 , MA_Y6 ) ;
177 Size = MAP_APPFONT ( 35 , 12 ) ;
182 StrictFormat = TRUE ;
183 Unit = FUNIT_CUSTOM ;
184 CustomUnitText = "%" ;
188 #define MA_Y7 MA_Y6 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y
189 CheckBox DLG_FILTERSOLARIZE_CBX_INVERT
191 Pos = MAP_APPFONT ( 12, 46 ) ;
192 Size = MAP_APPFONT ( 77, 12 ) ;
194 Text [ en-US ] = "~Invert" ;
198 Pos = MAP_APPFONT ( 194, 6 ) ;
199 Size = MAP_APPFONT ( 50, 14 ) ;
203 CancelButton BTN_CANCEL
205 Pos = MAP_APPFONT ( 194, 23 ) ;
206 Size = MAP_APPFONT ( 50, 14 ) ;
211 Pos = MAP_APPFONT ( 194, 43 ) ;
212 Size = MAP_APPFONT ( 50, 14 ) ;
217 // ----------------------
218 // - DLG_FILTERSOLARIZE -
219 // ----------------------
221 ModalDialog RID_SVX_GRFFILTER_DLG_SEPIA
223 HelpID = SID_GRFFILTER_SEPIA;
227 Size = MAP_APPFONT ( 250, 100 ) ;
229 Text [ en-US ] = "Aging" ;
231 FixedLine FL_PARAMETER
233 Pos = MAP_APPFONT ( 6 , 3 ) ;
234 Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
235 Text [ en-US ] = "Parameters";
239 Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
240 Size = MAP_APPFONT ( 81, 73 ) ;
242 #define MA_Y8 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
243 FixedText DLG_FILTERSEPIA_FT_SEPIA
245 Pos = MAP_APPFONT ( 12 , MA_Y8 ) ;
246 Size = MAP_APPFONT ( 77 , 10 ) ;
247 Text [ en-US ] = "Aging degree" ;
249 #define MA_Y9 MA_Y8 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
250 MetricField DLG_FILTERSEPIA_MTR_SEPIA
253 Pos = MAP_APPFONT ( 12 , MA_Y9 ) ;
254 Size = MAP_APPFONT ( 35 , 12 ) ;
261 StrictFormat = TRUE ;
262 Unit = FUNIT_CUSTOM ;
263 CustomUnitText = "%" ;
270 Pos = MAP_APPFONT ( 194, 6 ) ;
271 Size = MAP_APPFONT ( 50, 14 ) ;
275 CancelButton BTN_CANCEL
277 Pos = MAP_APPFONT ( 194, 23 ) ;
278 Size = MAP_APPFONT ( 50, 14 ) ;
283 Pos = MAP_APPFONT ( 194, 43 ) ;
284 Size = MAP_APPFONT ( 50, 14 ) ;
289 // --------------------
290 // - DLG_FILTERPOSTER -
291 // --------------------
293 ModalDialog RID_SVX_GRFFILTER_DLG_POSTER
295 HelpID = SID_GRFFILTER_POSTER;
299 Size = MAP_APPFONT ( 250, 100 ) ;
301 Text [ en-US ] = "Posterize" ;
303 FixedLine FL_PARAMETER
305 Pos = MAP_APPFONT ( 6 , 3 ) ;
306 Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
307 Text [ en-US ] = "Parameters";
311 Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
312 Size = MAP_APPFONT ( 81, 73 ) ;
314 #define MA_Y10 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
315 FixedText DLG_FILTERPOSTER_FT_POSTER
317 Pos = MAP_APPFONT ( 12 , MA_Y10 ) ;
318 Size = MAP_APPFONT ( 77 , 10 ) ;
319 Text [ en-US ] = "Poster colors" ;
321 #define MA_Y11 MA_Y10 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
322 NumericField DLG_FILTERPOSTER_NUM_POSTER
325 Pos = MAP_APPFONT ( 12 , MA_Y11 ) ;
326 Size = MAP_APPFONT ( 35 , 12 ) ;
332 StrictFormat = TRUE ;
339 Pos = MAP_APPFONT ( 194, 6 ) ;
340 Size = MAP_APPFONT ( 50, 14 ) ;
344 CancelButton BTN_CANCEL
346 Pos = MAP_APPFONT ( 194, 23 ) ;
347 Size = MAP_APPFONT ( 50, 14 ) ;
352 Pos = MAP_APPFONT ( 194, 43 ) ;
353 Size = MAP_APPFONT ( 50, 14 ) ;
358 // --------------------
359 // - DLG_FILTEREMBOSS -
360 // --------------------
362 TabPage RID_SVX_GRFFILTER_DLG_EMBOSS_TAB
364 Pos = MAP_APPFONT ( 0, 0 ) ;
365 Size = MAP_APPFONT ( 0, 0 ) ;
368 ModalDialog RID_SVX_GRFFILTER_DLG_EMBOSS
370 HelpID = SID_GRFFILTER_EMBOSS;
374 Size = MAP_APPFONT ( 250, 100 ) ;
376 Text [ en-US ] = "Relief" ;
378 FixedLine FL_PARAMETER
380 Pos = MAP_APPFONT ( 6 , 3 ) ;
381 Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ;
382 Text [ en-US ] = "Parameters";
386 Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
387 Size = MAP_APPFONT ( 81, 73 ) ;
389 #define MA_Y12 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP
390 FixedText DLG_FILTEREMBOSS_FT_LIGHT
392 Pos = MAP_APPFONT ( 12 , MA_Y12 ) ;
393 Size = MAP_APPFONT ( 77 , 10 ) ;
394 Text [ en-US ] = "Light source" ;
396 #define MA_Y13 MA_Y12 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y
397 Control DLG_FILTEREMBOSS_CTL_LIGHT
399 HelpID = HID_GRFFILTER_EMBOSS_LIGHT ;
401 Pos = MAP_APPFONT ( 12 , MA_Y13 ) ;
402 Size = MAP_APPFONT ( 77 , 60 ) ;
407 Pos = MAP_APPFONT ( 194, 6 ) ;
408 Size = MAP_APPFONT ( 50, 14 ) ;
412 CancelButton BTN_CANCEL
414 Pos = MAP_APPFONT ( 194, 23 ) ;
415 Size = MAP_APPFONT ( 50, 14 ) ;
420 Pos = MAP_APPFONT ( 194, 43 ) ;
421 Size = MAP_APPFONT ( 50, 14 ) ;