blob: 66f801596f791f3070959f5ae6bf958c69ab86eb [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
// include ---------------------------------------------------------------
#include <svx/svxids.hrc>
#include <svx/dialogs.hrc>
#include "bmpmask.hrc"
#include "helpid.hrc"
// RID_SVXDLG_BMPMASK ----------------------------------------------------
DockingWindow RID_SVXDLG_BMPMASK
{
HelpId = CMD_SID_BMPMASK ;
OutputSize = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 0, 0 ) ;
Size = MAP_APPFONT ( 163, 126 ) ;
Sizeable = FALSE ;
Moveable = TRUE ;
Closeable = TRUE ;
Zoomable = TRUE ;
Dockable = TRUE ;
EnableResizing = TRUE ;
FixedLine GRP_Q
{
Pos = MAP_APPFONT ( 6, 26 ) ;
Size = MAP_APPFONT ( 151, 8 ) ;
Text [ en-US ] = "Colors" ;
};
FixedText FT_1
{
Pos = MAP_APPFONT ( 12, 37 ) ;
Size = MAP_APPFONT ( 44, 8 ) ;
Text [ en-US ] = "Source color" ;
};
FixedText FT_2
{
Pos = MAP_APPFONT ( 58, 37 ) ;
Size = MAP_APPFONT ( 34, 8 ) ;
Text [ en-US ] = "Tolerance" ;
};
FixedText FT_3
{
Pos = MAP_APPFONT ( 93, 37 ) ;
Size = MAP_APPFONT ( 64, 8 ) ;
Text [ en-US ] = "Replace with..." ;
};
// line 1
CheckBox CBX_1
{
HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_1" ;
Pos = MAP_APPFONT ( 12, 50 ) ;
Size = MAP_APPFONT ( 10, 10 ) ;
TabStop = TRUE ;
};
Control QCOL_1
{
HelpId = HID_BMPMASK_CTL_QCOL_1 ;
Pos = MAP_APPFONT ( 24, 48 ) ;
Size = MAP_APPFONT ( 24, 12 ) ;
Border = TRUE ;
TabStop = TRUE ;
};
MetricField SP_1
{
HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_1" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 58, 48 ) ;
Size = MAP_APPFONT ( 29, 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 99 ;
Last = 99 ;
SpinSize = 1 ;
Unit = FUNIT_PERCENT ;
};
ListBox LB_1
{
HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_1" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 93, 48 ) ;
Size = MAP_APPFONT ( 64, 75 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
DDExtraWidth = TRUE ;
};
// line 2
CheckBox CBX_2
{
HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_2" ;
Pos = MAP_APPFONT ( 12, 65 ) ;
Size = MAP_APPFONT ( 10, 10 ) ;
TabStop = TRUE ;
};
Control QCOL_2
{
HelpId = HID_BMPMASK_CTL_QCOL_1 ;
Pos = MAP_APPFONT ( 24, 63 ) ;
Size = MAP_APPFONT ( 24, 12 ) ;
Border = TRUE ;
TabStop = TRUE ;
};
MetricField SP_2
{
HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_2" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 58, 63 ) ;
Size = MAP_APPFONT ( 29, 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 99 ;
Last = 99 ;
SpinSize = 1 ;
Unit = FUNIT_PERCENT ;
};
ListBox LB_2
{
HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_2" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 93, 63 ) ;
Size = MAP_APPFONT ( 64, 75 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
DDExtraWidth = TRUE ;
};
// line 3
CheckBox CBX_3
{
HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_3" ;
Pos = MAP_APPFONT ( 12, 80 ) ;
Size = MAP_APPFONT ( 10, 10 ) ;
TabStop = TRUE ;
};
Control QCOL_3
{
HelpId = HID_BMPMASK_CTL_QCOL_1 ;
Pos = MAP_APPFONT ( 24, 78 ) ;
Size = MAP_APPFONT ( 24, 12 ) ;
Border = TRUE ;
TabStop = TRUE ;
};
MetricField SP_3
{
HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_3" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 58, 78 ) ;
Size = MAP_APPFONT ( 29, 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 99 ;
Last = 99 ;
SpinSize = 1 ;
Unit = FUNIT_PERCENT ;
};
ListBox LB_3
{
HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_3" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 93, 78 ) ;
Size = MAP_APPFONT ( 64, 75 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
DDExtraWidth = TRUE ;
};
// Line 4
CheckBox CBX_4
{
HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_4" ;
Pos = MAP_APPFONT ( 12, 95 ) ;
Size = MAP_APPFONT ( 10, 10 ) ;
TabStop = TRUE ;
};
Control QCOL_4
{
HelpId = HID_BMPMASK_CTL_QCOL_1 ;
Pos = MAP_APPFONT ( 24, 93 ) ;
Size = MAP_APPFONT ( 24, 12 ) ;
Border = TRUE ;
TabStop = TRUE ;
};
MetricField SP_4
{
HelpID = "svx:MetricField:RID_SVXDLG_BMPMASK:SP_4" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 58, 93 ) ;
Size = MAP_APPFONT ( 29, 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 99 ;
Last = 99 ;
SpinSize = 1 ;
Unit = FUNIT_PERCENT ;
};
ListBox LB_4
{
HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_4" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 93, 93 ) ;
Size = MAP_APPFONT ( 64, 75 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
DDExtraWidth = TRUE ;
};
CheckBox CBX_TRANS
{
HelpID = "svx:CheckBox:RID_SVXDLG_BMPMASK:CBX_TRANS" ;
Pos = MAP_APPFONT ( 12, 110 ) ;
Size = MAP_APPFONT ( 71, 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Tr~ansparency" ;
};
PushButton BTN_EXEC
{
HelpID = "svx:PushButton:RID_SVXDLG_BMPMASK:BTN_EXEC" ;
Pos = MAP_APPFONT ( 93, 6 ) ;
Size = MAP_APPFONT ( 64, 14 ) ;
Text [ en-US ] = "~Replace" ;
};
ListBox LB_TRANS
{
HelpID = "svx:ListBox:RID_SVXDLG_BMPMASK:LB_TRANS" ;
Border = TRUE ;
Pos = MAP_APPFONT ( 93, 108 ) ;
Size = MAP_APPFONT ( 64, 75 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
DDExtraWidth = TRUE ;
};
ToolBox TBX_PIPETTE
{
SVLook = TRUE ;
Pos = MAP_APPFONT ( 6, 7 ) ;
ItemList =
{
ToolBoxItem
{
AutoCheck = TRUE ;
Identifier = TBI_PIPETTE ;
HelpId = HID_BMPMASK_TBI_PIPETTE ;
ItemImage = Image
{
ImageBitmap = Bitmap { File = "sc10350.png" ; };
};
Text [ en-US ] = "Pipette" ;
};
};
};
Control WND_PIPETTE
{
HelpId = HID_BMPMASK_CTL_PIPETTE ;
Border = TRUE ;
Pos = MAP_APPFONT ( 22, 6 ) ;
Size = MAP_APPFONT ( 43, 14 ) ;
};
Text [ en-US ] = "Color Replacer" ;
Image IMG_PIPETTE
{
ImageBitmap = Bitmap { File = "sc10350.png" ; };
};
Image IMG_PIPETTE_H
{
ImageBitmap = Bitmap { File = "sc10350_h.png" ; };
};
};
String RID_SVXDLG_BMPMASK_STR_TRANSP
{
Text [ en-US ] = "Transparent" ;
};
String RID_SVXDLG_BMPMASK_STR_SOURCECOLOR
{
// This string is used by the eyedropper dialog to denote a color in an image
// that will be replaced by another color.
Text [ en-US ] = "Source Color" ;
};
String RID_SVXDLG_BMPMASK_STR_PALETTE
{
Text [ en-US ] = "Color Palette" ;
};
String RID_SVXDLG_BMPMASK_STR_TOLERANCE
{
Text [ en-US ] = "Tolerance" ;
};
String RID_SVXDLG_BMPMASK_STR_REPLACEWITH
{
Text [ en-US ] = "Replace with" ;
};
// ********************************************************************** EOF