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