1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <svx/svxids.hrc>
21 #include <svx/dialogs.hrc>
22 #include "bmpmask.hrc"
26 #define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
29 // RID_SVXDLG_BMPMASK ----------------------------------------------------
30 DockingWindow RID_SVXDLG_BMPMASK
32 HelpId = CMD_SID_BMPMASK ;
36 Pos = MAP_APPFONT ( 0 , 0 ) ;
37 Size = MAP_APPFONT ( 163 , 126 ) ;
43 EnableResizing = TRUE ;
46 Pos = MAP_APPFONT ( 6 , 26 ) ;
47 Size = MAP_APPFONT ( 151 , 8 ) ;
48 Text [ en-US ] = "Colors" ;
52 Pos = MAP_APPFONT ( 12 , 37 ) ;
53 Size = MAP_APPFONT ( 44 , 8 ) ;
54 Text [ en-US ] = "Source color" ;
58 Pos = MAP_APPFONT ( 58 , 37 ) ;
59 Size = MAP_APPFONT ( 34 , 8 ) ;
60 Text [ en-US ] = "Tolerance" ;
64 Pos = MAP_APPFONT ( 93 , 37 ) ;
65 Size = MAP_APPFONT ( 64 , 8 ) ;
66 Text [ en-US ] = "Replace with..." ;
73 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_1";
74 Pos = MAP_APPFONT ( 12 , 50 ) ;
75 Size = MAP_APPFONT ( 10 , 10 ) ;
80 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
81 Pos = MAP_APPFONT ( 24 , 48 ) ;
82 Size = MAP_APPFONT ( 24 , 12 ) ;
88 HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_1";
90 Pos = MAP_APPFONT ( 58 , 48 ) ;
91 Size = MAP_APPFONT ( 29 , 12 ) ;
99 CustomUnitText = "%" ;
103 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_1";
105 Pos = MAP_APPFONT ( 93 , 48 ) ;
106 Size = MAP_APPFONT ( 64 , 75 ) ;
109 DDExtraWidth = TRUE ;
116 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_2";
117 Pos = MAP_APPFONT ( 12 , 65 ) ;
118 Size = MAP_APPFONT ( 10 , 10 ) ;
123 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
124 Pos = MAP_APPFONT ( 24 , 63 ) ;
125 Size = MAP_APPFONT ( 24 , 12 ) ;
131 HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_2";
133 Pos = MAP_APPFONT ( 58 , 63 ) ;
134 Size = MAP_APPFONT ( 29 , 12 ) ;
141 Unit = FUNIT_CUSTOM ;
142 CustomUnitText = "%" ;
146 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_2";
148 Pos = MAP_APPFONT ( 93 , 63 ) ;
149 Size = MAP_APPFONT ( 64 , 75 ) ;
152 DDExtraWidth = TRUE ;
159 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_3";
160 Pos = MAP_APPFONT ( 12 , 80 ) ;
161 Size = MAP_APPFONT ( 10 , 10 ) ;
166 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
167 Pos = MAP_APPFONT ( 24 , 78 ) ;
168 Size = MAP_APPFONT ( 24 , 12 ) ;
174 HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_3";
176 Pos = MAP_APPFONT ( 58, 78 ) ;
177 Size = MAP_APPFONT ( 29 , 12 ) ;
184 Unit = FUNIT_CUSTOM ;
185 CustomUnitText = "%" ;
189 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_3";
191 Pos = MAP_APPFONT ( 93 , 78 ) ;
192 Size = MAP_APPFONT ( 64 , 75 ) ;
195 DDExtraWidth = TRUE ;
202 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_4";
203 Pos = MAP_APPFONT ( 12 , 95 ) ;
204 Size = MAP_APPFONT ( 10 , 10 ) ;
209 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
210 Pos = MAP_APPFONT ( 24 , 93 ) ;
211 Size = MAP_APPFONT ( 24 , 12 ) ;
217 HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_4";
219 Pos = MAP_APPFONT ( 58 , 93 ) ;
220 Size = MAP_APPFONT ( 29 , 12 ) ;
227 Unit = FUNIT_CUSTOM ;
228 CustomUnitText = "%" ;
232 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_4";
234 Pos = MAP_APPFONT ( 93 , 93 ) ;
235 Size = MAP_APPFONT ( 64 , 75 ) ;
238 DDExtraWidth = TRUE ;
243 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_TRANS";
244 Pos = MAP_APPFONT ( 12 , 110 ) ;
245 Size = MAP_APPFONT ( 71 , 10 ) ;
247 Text [ en-US ] = "Tr~ansparency" ;
252 HelpID = "svx:PushButton:RID_SVXDLG_BMPMASK:BTN_EXEC";
253 Pos = MAP_APPFONT ( 93 , 6 ) ;
254 Size = MAP_APPFONT ( 64 , 14 ) ;
255 Text [ en-US ] = "~Replace" ;
260 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_TRANS";
262 Pos = MAP_APPFONT ( 93 , 108 ) ;
263 Size = MAP_APPFONT ( 64 , 75 ) ;
266 DDExtraWidth = TRUE ;
271 Pos = MAP_APPFONT ( 6 , 7 ) ;
277 Identifier = TBI_PIPETTE ;
278 HelpId = HID_BMPMASK_TBI_PIPETTE ;
281 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
284 Text [ en-US ] = "Pipette" ;
290 HelpId = HID_BMPMASK_CTL_PIPETTE ;
292 Pos = MAP_APPFONT ( 22 , 6 ) ;
293 Size = MAP_APPFONT ( 43 , 14 ) ;
295 Text [ en-US ] = "Color Replacer" ;
299 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
305 String RID_SVXDLG_BMPMASK_STR_TRANSP
307 Text [ en-US ] = "Transparent";
310 String RID_SVXDLG_BMPMASK_STR_SOURCECOLOR
312 // This string is used by the eyedropper dialog to denote a color in an image
313 // that will be replaced by another color.
314 Text [ en-US ] = "Source Color";
317 String RID_SVXDLG_BMPMASK_STR_PALETTE
319 Text [ en-US ] = "Color Palette";
321 String RID_SVXDLG_BMPMASK_STR_TOLERANCE
323 Text [ en-US ] = "Tolerance";
325 String RID_SVXDLG_BMPMASK_STR_REPLACEWITH
327 Text [ en-US ] = "Replace with";
330 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */