diff options
Diffstat (limited to 'svx/source/dialog/bmpmask.src')
-rw-r--r-- | svx/source/dialog/bmpmask.src | 358 |
1 files changed, 358 insertions, 0 deletions
diff --git a/svx/source/dialog/bmpmask.src b/svx/source/dialog/bmpmask.src new file mode 100644 index 000000000000..445a46025dd0 --- /dev/null +++ b/svx/source/dialog/bmpmask.src @@ -0,0 +1,358 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + // include --------------------------------------------------------------- +#include <svx/svxids.hrc> +#include <svx/dialogs.hrc> +#include "bmpmask.hrc" +#include "helpid.hrc" + + +#define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; + + + // RID_SVXDLG_BMPMASK ---------------------------------------------------- +DockingWindow RID_SVXDLG_BMPMASK +{ + HelpId = 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 + { + 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 + { + 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_CUSTOM ; + CustomUnitText = " %" ; + }; + ListBox 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 + { + 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 + { + 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_CUSTOM ; + CustomUnitText = " %" ; + }; + ListBox 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 + { + 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 + { + 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_CUSTOM ; + CustomUnitText = " %" ; + }; + ListBox 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 + { + 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 + { + 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_CUSTOM ; + CustomUnitText = " %" ; + }; + ListBox LB_4 + { + Border = TRUE ; + Pos = MAP_APPFONT ( 93 , 93 ) ; + Size = MAP_APPFONT ( 64 , 75 ) ; + TabStop = TRUE ; + DropDown = TRUE ; + DDExtraWidth = TRUE ; + }; + + CheckBox CBX_TRANS + { + Pos = MAP_APPFONT ( 12 , 110 ) ; + Size = MAP_APPFONT ( 71 , 10 ) ; + TabStop = TRUE ; + Text [ en-US ] = "Tr~ansparency" ; + }; + + PushButton BTN_EXEC + { + Pos = MAP_APPFONT ( 93 , 6 ) ; + Size = MAP_APPFONT ( 64 , 14 ) ; + Text [ en-US ] = "~Replace" ; + }; + + ListBox 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.bmp" ; }; + MASKCOLOR + }; + Text [ en-US ] = "Eyedropper" ; + }; + }; + }; + Control WND_PIPETTE + { + HelpId = HID_BMPMASK_CTL_PIPETTE ; + Border = TRUE ; + Pos = MAP_APPFONT ( 22 , 6 ) ; + Size = MAP_APPFONT ( 43 , 14 ) ; + }; + Text [ en-US ] = "Eyedropper" ; + + Image IMG_PIPETTE + { + ImageBitmap = Bitmap { File = "sc10350.bmp" ; }; + MASKCOLOR + }; + + Image IMG_PIPETTE_H + { + ImageBitmap = Bitmap { File = "sc10350_h.bmp" ; }; + MASKCOLOR + }; +}; + +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"; +}; + + // ********************************************************************** EOF + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + |