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: bmpmask.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 ************************************************************************/
30 // include ---------------------------------------------------------------
31 #include <svx/svxids.hrc>
32 #include <svx/dialogs.hrc>
33 #include "bmpmask.hrc"
37 #define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
40 // RID_SVXDLG_BMPMASK ----------------------------------------------------
41 DockingWindow RID_SVXDLG_BMPMASK
43 HelpId = SID_BMPMASK ;
47 Pos = MAP_APPFONT ( 0 , 0 ) ;
48 Size = MAP_APPFONT ( 163 , 126 ) ;
54 EnableResizing = TRUE ;
57 Pos = MAP_APPFONT ( 6 , 26 ) ;
58 Size = MAP_APPFONT ( 151 , 8 ) ;
59 Text [ en-US ] = "Colors" ;
63 Pos = MAP_APPFONT ( 12 , 37 ) ;
64 Size = MAP_APPFONT ( 44 , 8 ) ;
65 Text [ en-US ] = "Source color" ;
69 Pos = MAP_APPFONT ( 58 , 37 ) ;
70 Size = MAP_APPFONT ( 34 , 8 ) ;
71 Text [ en-US ] = "Tolerance" ;
75 Pos = MAP_APPFONT ( 93 , 37 ) ;
76 Size = MAP_APPFONT ( 64 , 8 ) ;
77 Text [ en-US ] = "Replace with..." ;
84 Pos = MAP_APPFONT ( 12 , 50 ) ;
85 Size = MAP_APPFONT ( 10 , 10 ) ;
90 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
91 Pos = MAP_APPFONT ( 24 , 48 ) ;
92 Size = MAP_APPFONT ( 24 , 12 ) ;
99 Pos = MAP_APPFONT ( 58 , 48 ) ;
100 Size = MAP_APPFONT ( 29 , 12 ) ;
107 Unit = FUNIT_CUSTOM ;
108 CustomUnitText = "%" ;
113 Pos = MAP_APPFONT ( 93 , 48 ) ;
114 Size = MAP_APPFONT ( 64 , 75 ) ;
117 DDExtraWidth = TRUE ;
124 Pos = MAP_APPFONT ( 12 , 65 ) ;
125 Size = MAP_APPFONT ( 10 , 10 ) ;
130 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
131 Pos = MAP_APPFONT ( 24 , 63 ) ;
132 Size = MAP_APPFONT ( 24 , 12 ) ;
139 Pos = MAP_APPFONT ( 58 , 63 ) ;
140 Size = MAP_APPFONT ( 29 , 12 ) ;
147 Unit = FUNIT_CUSTOM ;
148 CustomUnitText = "%" ;
153 Pos = MAP_APPFONT ( 93 , 63 ) ;
154 Size = MAP_APPFONT ( 64 , 75 ) ;
157 DDExtraWidth = TRUE ;
164 Pos = MAP_APPFONT ( 12 , 80 ) ;
165 Size = MAP_APPFONT ( 10 , 10 ) ;
170 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
171 Pos = MAP_APPFONT ( 24 , 78 ) ;
172 Size = MAP_APPFONT ( 24 , 12 ) ;
179 Pos = MAP_APPFONT ( 58, 78 ) ;
180 Size = MAP_APPFONT ( 29 , 12 ) ;
187 Unit = FUNIT_CUSTOM ;
188 CustomUnitText = "%" ;
193 Pos = MAP_APPFONT ( 93 , 78 ) ;
194 Size = MAP_APPFONT ( 64 , 75 ) ;
197 DDExtraWidth = TRUE ;
204 Pos = MAP_APPFONT ( 12 , 95 ) ;
205 Size = MAP_APPFONT ( 10 , 10 ) ;
210 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
211 Pos = MAP_APPFONT ( 24 , 93 ) ;
212 Size = MAP_APPFONT ( 24 , 12 ) ;
219 Pos = MAP_APPFONT ( 58 , 93 ) ;
220 Size = MAP_APPFONT ( 29 , 12 ) ;
227 Unit = FUNIT_CUSTOM ;
228 CustomUnitText = "%" ;
233 Pos = MAP_APPFONT ( 93 , 93 ) ;
234 Size = MAP_APPFONT ( 64 , 75 ) ;
237 DDExtraWidth = TRUE ;
242 Pos = MAP_APPFONT ( 12 , 110 ) ;
243 Size = MAP_APPFONT ( 71 , 10 ) ;
245 Text [ en-US ] = "Tr~ansparency" ;
250 Pos = MAP_APPFONT ( 93 , 6 ) ;
251 Size = MAP_APPFONT ( 64 , 14 ) ;
252 Text [ en-US ] = "~Replace" ;
258 Pos = MAP_APPFONT ( 93 , 108 ) ;
259 Size = MAP_APPFONT ( 64 , 75 ) ;
262 DDExtraWidth = TRUE ;
267 Pos = MAP_APPFONT ( 6 , 7 ) ;
273 Identifier = TBI_PIPETTE ;
274 HelpId = HID_BMPMASK_TBI_PIPETTE ;
277 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
280 Text [ en-US ] = "Eyedropper" ;
286 HelpId = HID_BMPMASK_CTL_PIPETTE ;
288 Pos = MAP_APPFONT ( 22 , 6 ) ;
289 Size = MAP_APPFONT ( 43 , 14 ) ;
291 Text [ en-US ] = "Eyedropper" ;
295 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
301 ImageBitmap = Bitmap { File = "sc10350_h.bmp" ; };
306 String RID_SVXDLG_BMPMASK_STR_TRANSP
308 Text [ en-US ] = "Transparent";
311 String RID_SVXDLG_BMPMASK_STR_SOURCECOLOR
313 // This string is used by the eyedropper dialog to denote a color in an image
314 // that will be replaced by another color.
315 Text [ en-US ] = "Source Color";
318 // ********************************************************************** EOF