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