xref: /AOO42X/main/svx/source/dialog/bmpmask.src (revision 1e790e4d2b8b56905fab592bb375cdbccf7ad722)
109a1d057SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
309a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
409a1d057SAndrew Rist * or more contributor license agreements.  See the NOTICE file
509a1d057SAndrew Rist * distributed with this work for additional information
609a1d057SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
709a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the
809a1d057SAndrew Rist * "License"); you may not use this file except in compliance
909a1d057SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
1109a1d057SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
1309a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing,
1409a1d057SAndrew Rist * software distributed under the License is distributed on an
1509a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1609a1d057SAndrew Rist * KIND, either express or implied.  See the License for the
1709a1d057SAndrew Rist * specific language governing permissions and limitations
1809a1d057SAndrew Rist * under the License.
19cdf0e10cSrcweir *
2009a1d057SAndrew Rist *************************************************************/
2109a1d057SAndrew Rist
2209a1d057SAndrew Rist
23*1e790e4dSmseidel
24cdf0e10cSrcweir// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include <svx/svxids.hrc>
26cdf0e10cSrcweir#include <svx/dialogs.hrc>
27cdf0e10cSrcweir#include "bmpmask.hrc"
28cdf0e10cSrcweir#include "helpid.hrc"
29cdf0e10cSrcweir
30cdf0e10cSrcweir
31cdf0e10cSrcweir// RID_SVXDLG_BMPMASK ----------------------------------------------------
32cdf0e10cSrcweirDockingWindow RID_SVXDLG_BMPMASK
33cdf0e10cSrcweir{
34cdf0e10cSrcweir    HelpId = CMD_SID_BMPMASK ;
35cdf0e10cSrcweir    OutputSize = TRUE ;
36cdf0e10cSrcweir    Hide = TRUE ;
37cdf0e10cSrcweir    SVLook = TRUE ;
38cdf0e10cSrcweir    Pos = MAP_APPFONT ( 0, 0 ) ;
39cdf0e10cSrcweir    Size = MAP_APPFONT ( 163, 126 ) ;
40cdf0e10cSrcweir    Sizeable = FALSE ;
41cdf0e10cSrcweir    Moveable = TRUE ;
42cdf0e10cSrcweir    Closeable = TRUE ;
43cdf0e10cSrcweir    Zoomable = TRUE ;
44cdf0e10cSrcweir    Dockable = TRUE ;
45cdf0e10cSrcweir    EnableResizing = TRUE ;
46cdf0e10cSrcweir    FixedLine GRP_Q
47cdf0e10cSrcweir    {
48cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 26 ) ;
49cdf0e10cSrcweir        Size = MAP_APPFONT ( 151, 8 ) ;
50cdf0e10cSrcweir        Text [ en-US ] = "Colors" ;
51cdf0e10cSrcweir    };
52cdf0e10cSrcweir    FixedText FT_1
53cdf0e10cSrcweir    {
54cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 37 ) ;
55cdf0e10cSrcweir        Size = MAP_APPFONT ( 44, 8 ) ;
56cdf0e10cSrcweir        Text [ en-US ] = "Source color" ;
57cdf0e10cSrcweir    };
58cdf0e10cSrcweir    FixedText FT_2
59cdf0e10cSrcweir    {
60cdf0e10cSrcweir        Pos = MAP_APPFONT ( 58, 37 ) ;
61cdf0e10cSrcweir        Size = MAP_APPFONT ( 34, 8 ) ;
62cdf0e10cSrcweir        Text [ en-US ] = "Tolerance" ;
63cdf0e10cSrcweir    };
64cdf0e10cSrcweir    FixedText FT_3
65cdf0e10cSrcweir    {
66cdf0e10cSrcweir        Pos = MAP_APPFONT ( 93, 37 ) ;
67cdf0e10cSrcweir        Size = MAP_APPFONT ( 64, 8 ) ;
68cdf0e10cSrcweir        Text [ en-US ] = "Replace with..." ;
69cdf0e10cSrcweir    };
70cdf0e10cSrcweir
71cdf0e10cSrcweir    // line 1
72cdf0e10cSrcweir
73cdf0e10cSrcweir    CheckBox CBX_1
74cdf0e10cSrcweir    {
75cdf0e10cSrcweir        HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_1" ;
76cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 50 ) ;
77cdf0e10cSrcweir        Size = MAP_APPFONT ( 10, 10 ) ;
78cdf0e10cSrcweir        TabStop = TRUE ;
79cdf0e10cSrcweir    };
80cdf0e10cSrcweir    Control QCOL_1
81cdf0e10cSrcweir    {
82cdf0e10cSrcweir        HelpId = HID_BMPMASK_CTL_QCOL_1 ;
83cdf0e10cSrcweir        Pos = MAP_APPFONT ( 24, 48 ) ;
84cdf0e10cSrcweir        Size = MAP_APPFONT ( 24, 12 ) ;
85cdf0e10cSrcweir        Border = TRUE ;
86cdf0e10cSrcweir        TabStop = TRUE ;
87cdf0e10cSrcweir    };
88cdf0e10cSrcweir    MetricField SP_1
89cdf0e10cSrcweir    {
90cdf0e10cSrcweir        HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_1" ;
91cdf0e10cSrcweir        Border = TRUE ;
92cdf0e10cSrcweir        Pos = MAP_APPFONT ( 58, 48 ) ;
93cdf0e10cSrcweir        Size = MAP_APPFONT ( 29, 12 ) ;
94cdf0e10cSrcweir        TabStop = TRUE ;
95cdf0e10cSrcweir        Repeat = TRUE ;
96cdf0e10cSrcweir        Spin = TRUE ;
97cdf0e10cSrcweir        Maximum = 99 ;
98cdf0e10cSrcweir        Last = 99 ;
99cdf0e10cSrcweir        SpinSize = 1 ;
1007ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
101cdf0e10cSrcweir    };
102cdf0e10cSrcweir    ListBox LB_1
103cdf0e10cSrcweir    {
104cdf0e10cSrcweir        HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_1" ;
105cdf0e10cSrcweir        Border = TRUE ;
106cdf0e10cSrcweir        Pos = MAP_APPFONT ( 93, 48 ) ;
107cdf0e10cSrcweir        Size = MAP_APPFONT ( 64, 75 ) ;
108cdf0e10cSrcweir        TabStop = TRUE ;
109cdf0e10cSrcweir        DropDown = TRUE ;
110cdf0e10cSrcweir        DDExtraWidth = TRUE ;
111cdf0e10cSrcweir    };
112cdf0e10cSrcweir
113cdf0e10cSrcweir    // line 2
114cdf0e10cSrcweir
115cdf0e10cSrcweir    CheckBox CBX_2
116cdf0e10cSrcweir    {
117cdf0e10cSrcweir        HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_2" ;
118cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 65 ) ;
119cdf0e10cSrcweir        Size = MAP_APPFONT ( 10, 10 ) ;
120cdf0e10cSrcweir        TabStop = TRUE ;
121cdf0e10cSrcweir    };
122cdf0e10cSrcweir    Control QCOL_2
123cdf0e10cSrcweir    {
124cdf0e10cSrcweir        HelpId = HID_BMPMASK_CTL_QCOL_1 ;
125cdf0e10cSrcweir        Pos = MAP_APPFONT ( 24, 63 ) ;
126cdf0e10cSrcweir        Size = MAP_APPFONT ( 24, 12 ) ;
127cdf0e10cSrcweir        Border = TRUE ;
128cdf0e10cSrcweir        TabStop = TRUE ;
129cdf0e10cSrcweir    };
130cdf0e10cSrcweir    MetricField SP_2
131cdf0e10cSrcweir    {
132cdf0e10cSrcweir        HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_2" ;
133cdf0e10cSrcweir        Border = TRUE ;
134cdf0e10cSrcweir        Pos = MAP_APPFONT ( 58, 63 ) ;
135cdf0e10cSrcweir        Size = MAP_APPFONT ( 29, 12 ) ;
136cdf0e10cSrcweir        TabStop = TRUE ;
137cdf0e10cSrcweir        Repeat = TRUE ;
138cdf0e10cSrcweir        Spin = TRUE ;
139cdf0e10cSrcweir        Maximum = 99 ;
140cdf0e10cSrcweir        Last = 99 ;
141cdf0e10cSrcweir        SpinSize = 1 ;
1427ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
143cdf0e10cSrcweir    };
144cdf0e10cSrcweir    ListBox LB_2
145cdf0e10cSrcweir    {
146cdf0e10cSrcweir        HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_2" ;
147cdf0e10cSrcweir        Border = TRUE ;
148cdf0e10cSrcweir        Pos = MAP_APPFONT ( 93, 63 ) ;
149cdf0e10cSrcweir        Size = MAP_APPFONT ( 64, 75 ) ;
150cdf0e10cSrcweir        TabStop = TRUE ;
151cdf0e10cSrcweir        DropDown = TRUE ;
152cdf0e10cSrcweir        DDExtraWidth = TRUE ;
153cdf0e10cSrcweir    };
154cdf0e10cSrcweir
155cdf0e10cSrcweir    // line 3
156cdf0e10cSrcweir
157cdf0e10cSrcweir    CheckBox CBX_3
158cdf0e10cSrcweir    {
159cdf0e10cSrcweir        HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_3" ;
160cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 80 ) ;
161cdf0e10cSrcweir        Size = MAP_APPFONT ( 10, 10 ) ;
162cdf0e10cSrcweir        TabStop = TRUE ;
163cdf0e10cSrcweir    };
164cdf0e10cSrcweir    Control QCOL_3
165cdf0e10cSrcweir    {
166cdf0e10cSrcweir        HelpId = HID_BMPMASK_CTL_QCOL_1 ;
167cdf0e10cSrcweir        Pos = MAP_APPFONT ( 24, 78 ) ;
168cdf0e10cSrcweir        Size = MAP_APPFONT ( 24, 12 ) ;
169cdf0e10cSrcweir        Border = TRUE ;
170cdf0e10cSrcweir        TabStop = TRUE ;
171cdf0e10cSrcweir    };
172cdf0e10cSrcweir    MetricField SP_3
173cdf0e10cSrcweir    {
174cdf0e10cSrcweir        HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_3" ;
175cdf0e10cSrcweir        Border = TRUE ;
176cdf0e10cSrcweir        Pos = MAP_APPFONT ( 58, 78 ) ;
177cdf0e10cSrcweir        Size = MAP_APPFONT ( 29, 12 ) ;
178cdf0e10cSrcweir        TabStop = TRUE ;
179cdf0e10cSrcweir        Repeat = TRUE ;
180cdf0e10cSrcweir        Spin = TRUE ;
181cdf0e10cSrcweir        Maximum = 99 ;
182cdf0e10cSrcweir        Last = 99 ;
183cdf0e10cSrcweir        SpinSize = 1 ;
1847ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
185cdf0e10cSrcweir    };
186cdf0e10cSrcweir    ListBox LB_3
187cdf0e10cSrcweir    {
188cdf0e10cSrcweir        HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_3" ;
189cdf0e10cSrcweir        Border = TRUE ;
190cdf0e10cSrcweir        Pos = MAP_APPFONT ( 93, 78 ) ;
191cdf0e10cSrcweir        Size = MAP_APPFONT ( 64, 75 ) ;
192cdf0e10cSrcweir        TabStop = TRUE ;
193cdf0e10cSrcweir        DropDown = TRUE ;
194cdf0e10cSrcweir        DDExtraWidth = TRUE ;
195cdf0e10cSrcweir    };
196cdf0e10cSrcweir
197cdf0e10cSrcweir    // Line 4
198cdf0e10cSrcweir
199cdf0e10cSrcweir    CheckBox CBX_4
200cdf0e10cSrcweir    {
201cdf0e10cSrcweir        HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_4" ;
202cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 95 ) ;
203cdf0e10cSrcweir        Size = MAP_APPFONT ( 10, 10 ) ;
204cdf0e10cSrcweir        TabStop = TRUE ;
205cdf0e10cSrcweir    };
206cdf0e10cSrcweir    Control QCOL_4
207cdf0e10cSrcweir    {
208cdf0e10cSrcweir        HelpId = HID_BMPMASK_CTL_QCOL_1 ;
209cdf0e10cSrcweir        Pos = MAP_APPFONT ( 24, 93 ) ;
210cdf0e10cSrcweir        Size = MAP_APPFONT ( 24, 12 ) ;
211cdf0e10cSrcweir        Border = TRUE ;
212cdf0e10cSrcweir        TabStop = TRUE ;
213cdf0e10cSrcweir    };
214cdf0e10cSrcweir    MetricField SP_4
215cdf0e10cSrcweir    {
216cdf0e10cSrcweir        HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_4" ;
217cdf0e10cSrcweir        Border = TRUE ;
218cdf0e10cSrcweir        Pos = MAP_APPFONT ( 58, 93 ) ;
219cdf0e10cSrcweir        Size = MAP_APPFONT ( 29, 12 ) ;
220cdf0e10cSrcweir        TabStop = TRUE ;
221cdf0e10cSrcweir        Repeat = TRUE ;
222cdf0e10cSrcweir        Spin = TRUE ;
223cdf0e10cSrcweir        Maximum = 99 ;
224cdf0e10cSrcweir        Last = 99 ;
225cdf0e10cSrcweir        SpinSize = 1 ;
2267ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
227cdf0e10cSrcweir    };
228cdf0e10cSrcweir    ListBox LB_4
229cdf0e10cSrcweir    {
230cdf0e10cSrcweir        HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_4" ;
231cdf0e10cSrcweir        Border = TRUE ;
232cdf0e10cSrcweir        Pos = MAP_APPFONT ( 93, 93 ) ;
233cdf0e10cSrcweir        Size = MAP_APPFONT ( 64, 75 ) ;
234cdf0e10cSrcweir        TabStop = TRUE ;
235cdf0e10cSrcweir        DropDown = TRUE ;
236cdf0e10cSrcweir        DDExtraWidth = TRUE ;
237cdf0e10cSrcweir    };
238cdf0e10cSrcweir
239cdf0e10cSrcweir    CheckBox CBX_TRANS
240cdf0e10cSrcweir    {
241cdf0e10cSrcweir        HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_TRANS" ;
242cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 110 ) ;
243cdf0e10cSrcweir        Size = MAP_APPFONT ( 71, 10 ) ;
244cdf0e10cSrcweir        TabStop = TRUE ;
245cdf0e10cSrcweir        Text [ en-US ] = "Tr~ansparency" ;
246cdf0e10cSrcweir    };
247cdf0e10cSrcweir
248cdf0e10cSrcweir    PushButton BTN_EXEC
249cdf0e10cSrcweir    {
250cdf0e10cSrcweir        HelpID = "svx:PushButton:RID_SVXDLG_BMPMASK:BTN_EXEC" ;
251cdf0e10cSrcweir        Pos = MAP_APPFONT ( 93, 6 ) ;
252cdf0e10cSrcweir        Size = MAP_APPFONT ( 64, 14 ) ;
253cdf0e10cSrcweir        Text [ en-US ] = "~Replace" ;
254cdf0e10cSrcweir    };
255cdf0e10cSrcweir
256cdf0e10cSrcweir    ListBox LB_TRANS
257cdf0e10cSrcweir    {
258cdf0e10cSrcweir        HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_TRANS" ;
259cdf0e10cSrcweir        Border = TRUE ;
260cdf0e10cSrcweir        Pos = MAP_APPFONT ( 93, 108 ) ;
261cdf0e10cSrcweir        Size = MAP_APPFONT ( 64, 75 ) ;
262cdf0e10cSrcweir        TabStop = TRUE ;
263cdf0e10cSrcweir        DropDown = TRUE ;
264cdf0e10cSrcweir        DDExtraWidth = TRUE ;
265cdf0e10cSrcweir    };
266cdf0e10cSrcweir    ToolBox TBX_PIPETTE
267cdf0e10cSrcweir    {
268cdf0e10cSrcweir        SVLook = TRUE ;
269cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 7 ) ;
270cdf0e10cSrcweir        ItemList =
271cdf0e10cSrcweir        {
272cdf0e10cSrcweir            ToolBoxItem
273cdf0e10cSrcweir            {
274cdf0e10cSrcweir                AutoCheck = TRUE ;
275cdf0e10cSrcweir                Identifier = TBI_PIPETTE ;
276cdf0e10cSrcweir                HelpId = HID_BMPMASK_TBI_PIPETTE ;
277cdf0e10cSrcweir                ItemImage = Image
278cdf0e10cSrcweir                {
27938972840Smseidel                    ImageBitmap = Bitmap { File = "sc10350.png" ; };
280cdf0e10cSrcweir                };
281cdf0e10cSrcweir                Text [ en-US ] = "Pipette" ;
282cdf0e10cSrcweir            };
283cdf0e10cSrcweir        };
284cdf0e10cSrcweir    };
285cdf0e10cSrcweir    Control WND_PIPETTE
286cdf0e10cSrcweir    {
287cdf0e10cSrcweir        HelpId = HID_BMPMASK_CTL_PIPETTE ;
288cdf0e10cSrcweir        Border = TRUE ;
289cdf0e10cSrcweir        Pos = MAP_APPFONT ( 22, 6 ) ;
290cdf0e10cSrcweir        Size = MAP_APPFONT ( 43, 14 ) ;
291cdf0e10cSrcweir    };
292cdf0e10cSrcweir    Text [ en-US ] = "Color Replacer" ;
293cdf0e10cSrcweir
294cdf0e10cSrcweir    Image IMG_PIPETTE
295cdf0e10cSrcweir    {
29638972840Smseidel        ImageBitmap = Bitmap { File = "sc10350.png" ; };
297cdf0e10cSrcweir    };
298cdf0e10cSrcweir
299cdf0e10cSrcweir    Image IMG_PIPETTE_H
300cdf0e10cSrcweir    {
30138972840Smseidel        ImageBitmap = Bitmap { File = "sc10350_h.png" ; };
302cdf0e10cSrcweir    };
303cdf0e10cSrcweir};
304cdf0e10cSrcweir
305cdf0e10cSrcweirString RID_SVXDLG_BMPMASK_STR_TRANSP
306cdf0e10cSrcweir{
307cdf0e10cSrcweir    Text [ en-US ] = "Transparent" ;
308cdf0e10cSrcweir};
309cdf0e10cSrcweir
310cdf0e10cSrcweirString RID_SVXDLG_BMPMASK_STR_SOURCECOLOR
311cdf0e10cSrcweir{
312cdf0e10cSrcweir    // This string is used by the eyedropper dialog to denote a color in an image
313cdf0e10cSrcweir    // that will be replaced by another color.
314cdf0e10cSrcweir    Text [ en-US ] = "Source Color" ;
315cdf0e10cSrcweir};
316cdf0e10cSrcweir
317cdf0e10cSrcweirString RID_SVXDLG_BMPMASK_STR_PALETTE
318cdf0e10cSrcweir{
319cdf0e10cSrcweir    Text [ en-US ] = "Color Palette" ;
320cdf0e10cSrcweir};
321cdf0e10cSrcweirString RID_SVXDLG_BMPMASK_STR_TOLERANCE
322cdf0e10cSrcweir{
323cdf0e10cSrcweir    Text [ en-US ] = "Tolerance" ;
324cdf0e10cSrcweir};
325cdf0e10cSrcweirString RID_SVXDLG_BMPMASK_STR_REPLACEWITH
326cdf0e10cSrcweir{
327cdf0e10cSrcweir    Text [ en-US ] = "Replace with" ;
328cdf0e10cSrcweir};
329cdf0e10cSrcweir
330*1e790e4dSmseidel// ********************************************************************** EOF
331