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#include <sanedlg.hrc> 24ModalDialog RID_SANE_DIALOG 25{ 26 HelpID = "extensions:ModalDialog:RID_SANE_DIALOG"; 27 OutputSize = TRUE ; 28 SVLook = TRUE ; 29 Pos = MAP_APPFONT ( 10 , 10 ) ; 30 Size = MAP_APPFONT ( THIRD_COLUMN + 60 , 268 ) ; 31 Moveable = TRUE ; 32 Closeable = TRUE ; 33 OKButton RID_SCAN_OK 34 { 35 Pos = MAP_APPFONT ( THIRD_COLUMN , 6 ) ; 36 Size = MAP_APPFONT ( 55 , 14 ) ; 37 DefButton = TRUE; 38 }; 39 CancelButton RID_SCAN_CANCEL 40 { 41 Pos = MAP_APPFONT ( THIRD_COLUMN , 25 ) ; 42 Size = MAP_APPFONT ( 55 , 14 ) ; 43 }; 44 PushButton RID_DEVICEINFO_BTN 45 { 46 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_DEVICEINFO_BTN"; 47 Pos = MAP_APPFONT ( THIRD_COLUMN , 44 ) ; 48 Size = MAP_APPFONT ( 55 , 22 ) ; 49 Text [ en-US ] = "About\n Dev~ice" ; 50 }; 51 PushButton RID_PREVIEW_BTN 52 { 53 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_PREVIEW_BTN"; 54 Pos = MAP_APPFONT ( THIRD_COLUMN , 71 ) ; 55 Size = MAP_APPFONT ( 55 , 22 ) ; 56 Text [ en-US ] = "Create\nPreview" ; 57 }; 58 FixedLine RID_PREVIEW_BOX 59 { 60 Pos = MAP_APPFONT ( PREVIEW_UPPER_LEFT - 5 , PREVIEW_UPPER_TOP - 8 ) ; 61 Size = MAP_APPFONT ( PREVIEW_WIDTH + 10 , 8 ) ; 62 Text [ en-US ] = "Preview" ; 63 }; 64 FixedLine RID_SCANAREA_BOX 65 { 66 Pos = MAP_APPFONT ( SCAN_AREA_LEFT - 5 , SCAN_AREA_TOP - 12 ) ; 67 Size = MAP_APPFONT ( PREVIEW_WIDTH + 10 , 8 ) ; 68 Text [ en-US ] = "Scan area" ; 69 }; 70 FixedText RID_SCAN_LEFT_TXT 71 { 72 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP ) ; 73 Size = MAP_APPFONT ( 50 , 8 ) ; 74 Text [ en-US ] = "Left:" ; 75 }; 76 MetricField RID_SCAN_LEFT_BOX 77 { 78 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_LEFT_BOX"; 79 Spin = TRUE ; 80 Repeat = TRUE ; 81 Border = TRUE ; 82 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP - 2 ) ; 83 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ; 84 }; 85 FixedText RID_SCAN_TOP_TXT 86 { 87 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 17 ) ; 88 Size = MAP_APPFONT ( 50 , 8 ) ; 89 Text [ en-US ] = "Top:" ; 90 }; 91 MetricField RID_SCAN_TOP_BOX 92 { 93 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_TOP_BOX"; 94 Spin = TRUE ; 95 Repeat = TRUE ; 96 Border = TRUE ; 97 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 15 ) ; 98 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ; 99 }; 100 FixedText RID_SCAN_RIGHT_TXT 101 { 102 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 34 ) ; 103 Size = MAP_APPFONT ( 50 , 8 ) ; 104 Text [ en-US ] = "Right:" ; 105 }; 106 MetricField RID_SCAN_RIGHT_BOX 107 { 108 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_RIGHT_BOX"; 109 Spin = TRUE ; 110 Repeat = TRUE ; 111 Border = TRUE ; 112 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 32 ) ; 113 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ; 114 }; 115 FixedText RID_SCAN_BOTTOM_TXT 116 { 117 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 51 ) ; 118 Size = MAP_APPFONT ( 50 , 8 ) ; 119 Text [ en-US ] = "Bottom:" ; 120 }; 121 MetricField RID_SCAN_BOTTOM_BOX 122 { 123 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_BOTTOM_BOX"; 124 Spin = TRUE ; 125 Repeat = TRUE ; 126 Border = TRUE ; 127 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 49 ) ; 128 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ; 129 }; 130 FixedText RID_DEVICE_BOX_TXT 131 { 132 Pos = MAP_APPFONT ( SECOND_COLUMN , 8 ) ; 133 Size = MAP_APPFONT ( 70 , 8 ) ; 134 Text [ en-US ] = "Device used:" ; 135 }; 136 ListBox RID_DEVICE_BOX 137 { 138 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_DEVICE_BOX"; 139 Border = TRUE ; 140 Dropdown = TRUE ; 141 Sort = TRUE ; 142 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 6 ) ; 143 Size = MAP_APPFONT ( 60 , 80 ) ; 144 }; 145 FixedText RID_SCAN_RESOLUTION_TXT 146 { 147 Pos = MAP_APPFONT ( SECOND_COLUMN , 25 ) ; 148 Size = MAP_APPFONT ( 70 , 8 ) ; 149 Text [ en-US ] = "Resolution [~DPI]" ; 150 }; 151 NumericBox RID_SCAN_RESOLUTION_BOX 152 { 153 HelpID = "extensions:NumericBox:RID_SANE_DIALOG:RID_SCAN_RESOLUTION_BOX"; 154 Dropdown = TRUE ; 155 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 23 ) ; 156 Size = MAP_APPFONT ( 60 , 80 ) ; 157 }; 158 FixedText RID_SCAN_ADVANCED_TXT 159 { 160 Pos = MAP_APPFONT ( SECOND_COLUMN , 40 ) ; 161 Size = MAP_APPFONT ( 120 , 8 ) ; 162 Text [ en-US ] = "Show advanced options" ; 163 }; 164 CheckBox RID_SCAN_ADVANCED_BOX 165 { 166 HelpID = "extensions:CheckBox:RID_SANE_DIALOG:RID_SCAN_ADVANCED_BOX"; 167 Check = FALSE ; 168 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 40 ) ; 169 Size = MAP_APPFONT ( 8 , 8 ) ; 170 }; 171 FixedText RID_SCAN_OPTION_TXT 172 { 173 Pos = MAP_APPFONT ( SECOND_COLUMN , 54 ) ; 174 Size = MAP_APPFONT ( 130 , 8 ) ; 175 Text [ en-US ] = "Options:" ; 176 }; 177 Control RID_SCAN_OPTION_BOX 178 { 179 Border = TRUE ; 180 Pos = MAP_APPFONT ( SECOND_COLUMN , 63 ) ; 181 Size = MAP_APPFONT ( 130 , 102 ) ; 182 }; 183 FixedText RID_SCAN_OPTIONTITLE_TXT 184 { 185 WordBreak = TRUE ; 186 Border = TRUE ; 187 Pos = MAP_APPFONT ( SECOND_COLUMN , 170 ) ; 188 Size = MAP_APPFONT ( 130 , 50 ) ; 189 }; 190 FixedText RID_SCAN_OPTION_DESC_TXT 191 { 192 Pos = MAP_APPFONT ( SECOND_COLUMN , 225 ) ; 193 Size = MAP_APPFONT ( 120 , 8 ) ; 194 }; 195 CheckBox RID_SCAN_BOOL_OPTION_BOX 196 { 197 HelpID = "extensions:CheckBox:RID_SANE_DIALOG:RID_SCAN_BOOL_OPTION_BOX"; 198 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 225 ) ; 199 Size = MAP_APPFONT ( 8 , 8 ) ; 200 }; 201 Edit RID_SCAN_STRING_OPTION_EDT 202 { 203 HelpID = "extensions:Edit:RID_SANE_DIALOG:RID_SCAN_STRING_OPTION_EDT"; 204 Border = TRUE ; 205 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 206 Size = MAP_APPFONT ( 130 , 12 ) ; 207 }; 208 ListBox RID_SCAN_QUANTUM_RANGE_BOX 209 { 210 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_SCAN_QUANTUM_RANGE_BOX"; 211 Border = TRUE ; 212 Dropdown = TRUE ; 213 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 214 Size = MAP_APPFONT ( 130 , 80 ) ; 215 }; 216 ListBox RID_SCAN_STRING_RANGE_BOX 217 { 218 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_SCAN_STRING_RANGE_BOX"; 219 Border = TRUE ; 220 Dropdown = TRUE ; 221 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 222 Size = MAP_APPFONT ( 130 , 80 ) ; 223 }; 224 Edit RID_SCAN_NUMERIC_OPTION_EDT 225 { 226 HelpID = "extensions:Edit:RID_SANE_DIALOG:RID_SCAN_NUMERIC_OPTION_EDT"; 227 Border = TRUE ; 228 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 229 Size = MAP_APPFONT ( 130 , 12 ) ; 230 }; 231 FixedText RID_SCAN_NUMERIC_VECTOR_TXT 232 { 233 Pos = MAP_APPFONT ( SECOND_COLUMN , 253 ) ; 234 Size = MAP_APPFONT ( 90 , 8 ) ; 235 Text [ en-US ] = "Vector element" ; 236 }; 237 NumericField RID_SCAN_NUMERIC_VECTOR_BOX 238 { 239 HelpID = "extensions:NumericField:RID_SANE_DIALOG:RID_SCAN_NUMERIC_VECTOR_BOX"; 240 Border = TRUE ; 241 Spin = TRUE ; 242 Repeat = TRUE ; 243 Pos = MAP_APPFONT ( SECOND_COLUMN + 90 , 251 ) ; 244 Size = MAP_APPFONT ( 40 , 12 ) ; 245 }; 246 PushButton RID_SCAN_BUTTON_OPTION_BTN 247 { 248 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_SCAN_BUTTON_OPTION_BTN"; 249 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 250 Size = MAP_APPFONT ( 130 , 14 ) ; 251 Text [ en-US ] = "Set" ; 252 }; 253 Bitmap RID_SCAN_BITMAP_PLUS 254 { 255 File = "plus.bmp" ; 256 }; 257 Bitmap RID_SCAN_BITMAP_MINUS 258 { 259 File = "minus.bmp" ; 260 }; 261 Text [ en-US ] = "Scanner" ; 262}; 263String RID_SANE_DEVICEINFO_TXT 264{ 265 Text [ en-US ] = "Device: %s\nVendor: %s\nModel: %s\nType: %s" ; 266}; 267String RID_SANE_SCANERROR_TXT 268{ 269 Text [ en-US ] = "An error occurred while scanning." ; 270}; 271String RID_SANE_NORESOLUTIONOPTION_TXT 272{ 273 Text [ en-US ] = "The device does not offer a preview option. Therefore, a normal scan will be used as a preview instead. This may take a considerable amount of time." ; 274}; 275String RID_SANE_NOSANELIB_TXT 276{ 277 Text [ en-US ] = "The SANE interface could not be initialized. Scanning is not possible." ; 278}; 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315