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"
25 #define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
27 // RID_SVXDLG_BMPMASK ----------------------------------------------------
28 DockingWindow RID_SVXDLG_BMPMASK
30 HelpId = CMD_SID_BMPMASK ;
34 Pos = MAP_APPFONT ( 0 , 0 ) ;
35 Size = MAP_APPFONT ( 163 , 126 ) ;
41 EnableResizing = TRUE ;
44 Pos = MAP_APPFONT ( 6 , 26 ) ;
45 Size = MAP_APPFONT ( 151 , 8 ) ;
46 Text [ en-US ] = "Colors" ;
50 Pos = MAP_APPFONT ( 12 , 37 ) ;
51 Size = MAP_APPFONT ( 44 , 8 ) ;
52 Text [ en-US ] = "Source color" ;
56 Pos = MAP_APPFONT ( 58 , 37 ) ;
57 Size = MAP_APPFONT ( 34 , 8 ) ;
58 Text [ en-US ] = "Tolerance" ;
62 Pos = MAP_APPFONT ( 93 , 37 ) ;
63 Size = MAP_APPFONT ( 64 , 8 ) ;
64 Text [ en-US ] = "Replace with..." ;
71 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_1";
72 Pos = MAP_APPFONT ( 12 , 50 ) ;
73 Size = MAP_APPFONT ( 10 , 10 ) ;
78 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
79 Pos = MAP_APPFONT ( 24 , 48 ) ;
80 Size = MAP_APPFONT ( 24 , 12 ) ;
86 HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_1";
88 Pos = MAP_APPFONT ( 58 , 48 ) ;
89 Size = MAP_APPFONT ( 29 , 12 ) ;
96 Unit = FUNIT_PERCENT ;
100 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_1";
102 Pos = MAP_APPFONT ( 93 , 48 ) ;
103 Size = MAP_APPFONT ( 64 , 75 ) ;
106 DDExtraWidth = TRUE ;
113 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_2";
114 Pos = MAP_APPFONT ( 12 , 65 ) ;
115 Size = MAP_APPFONT ( 10 , 10 ) ;
120 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
121 Pos = MAP_APPFONT ( 24 , 63 ) ;
122 Size = MAP_APPFONT ( 24 , 12 ) ;
128 HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_2";
130 Pos = MAP_APPFONT ( 58 , 63 ) ;
131 Size = MAP_APPFONT ( 29 , 12 ) ;
138 Unit = FUNIT_PERCENT ;
142 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_2";
144 Pos = MAP_APPFONT ( 93 , 63 ) ;
145 Size = MAP_APPFONT ( 64 , 75 ) ;
148 DDExtraWidth = TRUE ;
155 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_3";
156 Pos = MAP_APPFONT ( 12 , 80 ) ;
157 Size = MAP_APPFONT ( 10 , 10 ) ;
162 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
163 Pos = MAP_APPFONT ( 24 , 78 ) ;
164 Size = MAP_APPFONT ( 24 , 12 ) ;
170 HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_3";
172 Pos = MAP_APPFONT ( 58, 78 ) ;
173 Size = MAP_APPFONT ( 29 , 12 ) ;
180 Unit = FUNIT_PERCENT ;
184 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_3";
186 Pos = MAP_APPFONT ( 93 , 78 ) ;
187 Size = MAP_APPFONT ( 64 , 75 ) ;
190 DDExtraWidth = TRUE ;
197 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_4";
198 Pos = MAP_APPFONT ( 12 , 95 ) ;
199 Size = MAP_APPFONT ( 10 , 10 ) ;
204 HelpId = HID_BMPMASK_CTL_QCOL_1 ;
205 Pos = MAP_APPFONT ( 24 , 93 ) ;
206 Size = MAP_APPFONT ( 24 , 12 ) ;
212 HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_4";
214 Pos = MAP_APPFONT ( 58 , 93 ) ;
215 Size = MAP_APPFONT ( 29 , 12 ) ;
222 Unit = FUNIT_PERCENT ;
226 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_4";
228 Pos = MAP_APPFONT ( 93 , 93 ) ;
229 Size = MAP_APPFONT ( 64 , 75 ) ;
232 DDExtraWidth = TRUE ;
237 HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_TRANS";
238 Pos = MAP_APPFONT ( 12 , 110 ) ;
239 Size = MAP_APPFONT ( 71 , 10 ) ;
241 Text [ en-US ] = "Tr~ansparency" ;
246 HelpID = "svx:PushButton:RID_SVXDLG_BMPMASK:BTN_EXEC";
247 Pos = MAP_APPFONT ( 93 , 6 ) ;
248 Size = MAP_APPFONT ( 64 , 14 ) ;
249 Text [ en-US ] = "~Replace" ;
254 HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_TRANS";
256 Pos = MAP_APPFONT ( 93 , 108 ) ;
257 Size = MAP_APPFONT ( 64 , 75 ) ;
260 DDExtraWidth = TRUE ;
265 Pos = MAP_APPFONT ( 6 , 7 ) ;
271 Identifier = TBI_PIPETTE ;
272 HelpId = HID_BMPMASK_TBI_PIPETTE ;
275 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
278 Text [ en-US ] = "Pipette" ;
284 HelpId = HID_BMPMASK_CTL_PIPETTE ;
286 Pos = MAP_APPFONT ( 22 , 6 ) ;
287 Size = MAP_APPFONT ( 43 , 14 ) ;
289 Text [ en-US ] = "Color Replacer" ;
293 ImageBitmap = Bitmap { File = "sc10350.bmp" ; };
299 String RID_SVXDLG_BMPMASK_STR_TRANSP
301 Text [ en-US ] = "Transparent";
304 String RID_SVXDLG_BMPMASK_STR_SOURCECOLOR
306 // This string is used by the eyedropper dialog to denote a color in an image
307 // that will be replaced by another color.
308 Text [ en-US ] = "Source Color";
311 String RID_SVXDLG_BMPMASK_STR_PALETTE
313 Text [ en-US ] = "Color Palette";
315 String RID_SVXDLG_BMPMASK_STR_TOLERANCE
317 Text [ en-US ] = "Tolerance";
319 String RID_SVXDLG_BMPMASK_STR_REPLACEWITH
321 Text [ en-US ] = "Replace with";
324 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */