1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#include <sanedlg.hrc> 28ModalDialog RID_SANE_DIALOG 29{ 30 HelpID = "extensions:ModalDialog:RID_SANE_DIALOG"; 31 OutputSize = TRUE ; 32 SVLook = TRUE ; 33 Pos = MAP_APPFONT ( 10 , 10 ) ; 34 Size = MAP_APPFONT ( THIRD_COLUMN + 60 , 268 ) ; 35 Moveable = TRUE ; 36 Closeable = TRUE ; 37 OKButton RID_SCAN_OK 38 { 39 Pos = MAP_APPFONT ( THIRD_COLUMN , 6 ) ; 40 Size = MAP_APPFONT ( 55 , 14 ) ; 41 DefButton = TRUE; 42 }; 43 CancelButton RID_SCAN_CANCEL 44 { 45 Pos = MAP_APPFONT ( THIRD_COLUMN , 25 ) ; 46 Size = MAP_APPFONT ( 55 , 14 ) ; 47 }; 48 PushButton RID_DEVICEINFO_BTN 49 { 50 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_DEVICEINFO_BTN"; 51 Pos = MAP_APPFONT ( THIRD_COLUMN , 44 ) ; 52 Size = MAP_APPFONT ( 55 , 22 ) ; 53 Text [ en-US ] = "About\n Dev~ice" ; 54 }; 55 PushButton RID_PREVIEW_BTN 56 { 57 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_PREVIEW_BTN"; 58 Pos = MAP_APPFONT ( THIRD_COLUMN , 71 ) ; 59 Size = MAP_APPFONT ( 55 , 22 ) ; 60 Text [ en-US ] = "Create\nPreview" ; 61 }; 62 FixedLine RID_PREVIEW_BOX 63 { 64 Pos = MAP_APPFONT ( PREVIEW_UPPER_LEFT - 5 , PREVIEW_UPPER_TOP - 8 ) ; 65 Size = MAP_APPFONT ( PREVIEW_WIDTH + 10 , 8 ) ; 66 Text [ en-US ] = "Preview" ; 67 }; 68 FixedLine RID_SCANAREA_BOX 69 { 70 Pos = MAP_APPFONT ( SCAN_AREA_LEFT - 5 , SCAN_AREA_TOP - 12 ) ; 71 Size = MAP_APPFONT ( PREVIEW_WIDTH + 10 , 8 ) ; 72 Text [ en-US ] = "Scan area" ; 73 }; 74 FixedText RID_SCAN_LEFT_TXT 75 { 76 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP ) ; 77 Size = MAP_APPFONT ( 50 , 8 ) ; 78 Text [ en-US ] = "Left:" ; 79 }; 80 MetricField RID_SCAN_LEFT_BOX 81 { 82 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_LEFT_BOX"; 83 Spin = TRUE ; 84 Repeat = TRUE ; 85 Border = TRUE ; 86 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP - 2 ) ; 87 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ; 88 }; 89 FixedText RID_SCAN_TOP_TXT 90 { 91 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 17 ) ; 92 Size = MAP_APPFONT ( 50 , 8 ) ; 93 Text [ en-US ] = "Top:" ; 94 }; 95 MetricField RID_SCAN_TOP_BOX 96 { 97 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_TOP_BOX"; 98 Spin = TRUE ; 99 Repeat = TRUE ; 100 Border = TRUE ; 101 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 15 ) ; 102 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ; 103 }; 104 FixedText RID_SCAN_RIGHT_TXT 105 { 106 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 34 ) ; 107 Size = MAP_APPFONT ( 50 , 8 ) ; 108 Text [ en-US ] = "Right:" ; 109 }; 110 MetricField RID_SCAN_RIGHT_BOX 111 { 112 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_RIGHT_BOX"; 113 Spin = TRUE ; 114 Repeat = TRUE ; 115 Border = TRUE ; 116 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 32 ) ; 117 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ; 118 }; 119 FixedText RID_SCAN_BOTTOM_TXT 120 { 121 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 51 ) ; 122 Size = MAP_APPFONT ( 50 , 8 ) ; 123 Text [ en-US ] = "Bottom:" ; 124 }; 125 MetricField RID_SCAN_BOTTOM_BOX 126 { 127 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_BOTTOM_BOX"; 128 Spin = TRUE ; 129 Repeat = TRUE ; 130 Border = TRUE ; 131 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 49 ) ; 132 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ; 133 }; 134 FixedText RID_DEVICE_BOX_TXT 135 { 136 Pos = MAP_APPFONT ( SECOND_COLUMN , 8 ) ; 137 Size = MAP_APPFONT ( 70 , 8 ) ; 138 Text [ en-US ] = "Device used:" ; 139 }; 140 ListBox RID_DEVICE_BOX 141 { 142 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_DEVICE_BOX"; 143 Border = TRUE ; 144 Dropdown = TRUE ; 145 Sort = TRUE ; 146 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 6 ) ; 147 Size = MAP_APPFONT ( 60 , 80 ) ; 148 }; 149 FixedText RID_SCAN_RESOLUTION_TXT 150 { 151 Pos = MAP_APPFONT ( SECOND_COLUMN , 25 ) ; 152 Size = MAP_APPFONT ( 70 , 8 ) ; 153 Text [ en-US ] = "Resolution [~DPI]" ; 154 }; 155 NumericBox RID_SCAN_RESOLUTION_BOX 156 { 157 HelpID = "extensions:NumericBox:RID_SANE_DIALOG:RID_SCAN_RESOLUTION_BOX"; 158 Dropdown = TRUE ; 159 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 23 ) ; 160 Size = MAP_APPFONT ( 60 , 80 ) ; 161 }; 162 FixedText RID_SCAN_ADVANCED_TXT 163 { 164 Pos = MAP_APPFONT ( SECOND_COLUMN , 40 ) ; 165 Size = MAP_APPFONT ( 120 , 8 ) ; 166 Text [ en-US ] = "Show advanced options" ; 167 }; 168 CheckBox RID_SCAN_ADVANCED_BOX 169 { 170 HelpID = "extensions:CheckBox:RID_SANE_DIALOG:RID_SCAN_ADVANCED_BOX"; 171 Check = FALSE ; 172 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 40 ) ; 173 Size = MAP_APPFONT ( 8 , 8 ) ; 174 }; 175 FixedText RID_SCAN_OPTION_TXT 176 { 177 Pos = MAP_APPFONT ( SECOND_COLUMN , 54 ) ; 178 Size = MAP_APPFONT ( 130 , 8 ) ; 179 Text [ en-US ] = "Options:" ; 180 }; 181 Control RID_SCAN_OPTION_BOX 182 { 183 Border = TRUE ; 184 Pos = MAP_APPFONT ( SECOND_COLUMN , 63 ) ; 185 Size = MAP_APPFONT ( 130 , 102 ) ; 186 }; 187 FixedText RID_SCAN_OPTIONTITLE_TXT 188 { 189 WordBreak = TRUE ; 190 Border = TRUE ; 191 Pos = MAP_APPFONT ( SECOND_COLUMN , 170 ) ; 192 Size = MAP_APPFONT ( 130 , 50 ) ; 193 }; 194 FixedText RID_SCAN_OPTION_DESC_TXT 195 { 196 Pos = MAP_APPFONT ( SECOND_COLUMN , 225 ) ; 197 Size = MAP_APPFONT ( 120 , 8 ) ; 198 }; 199 CheckBox RID_SCAN_BOOL_OPTION_BOX 200 { 201 HelpID = "extensions:CheckBox:RID_SANE_DIALOG:RID_SCAN_BOOL_OPTION_BOX"; 202 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 225 ) ; 203 Size = MAP_APPFONT ( 8 , 8 ) ; 204 }; 205 Edit RID_SCAN_STRING_OPTION_EDT 206 { 207 HelpID = "extensions:Edit:RID_SANE_DIALOG:RID_SCAN_STRING_OPTION_EDT"; 208 Border = TRUE ; 209 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 210 Size = MAP_APPFONT ( 130 , 12 ) ; 211 }; 212 ListBox RID_SCAN_QUANTUM_RANGE_BOX 213 { 214 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_SCAN_QUANTUM_RANGE_BOX"; 215 Border = TRUE ; 216 Dropdown = TRUE ; 217 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 218 Size = MAP_APPFONT ( 130 , 80 ) ; 219 }; 220 ListBox RID_SCAN_STRING_RANGE_BOX 221 { 222 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_SCAN_STRING_RANGE_BOX"; 223 Border = TRUE ; 224 Dropdown = TRUE ; 225 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 226 Size = MAP_APPFONT ( 130 , 80 ) ; 227 }; 228 Edit RID_SCAN_NUMERIC_OPTION_EDT 229 { 230 HelpID = "extensions:Edit:RID_SANE_DIALOG:RID_SCAN_NUMERIC_OPTION_EDT"; 231 Border = TRUE ; 232 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 233 Size = MAP_APPFONT ( 130 , 12 ) ; 234 }; 235 FixedText RID_SCAN_NUMERIC_VECTOR_TXT 236 { 237 Pos = MAP_APPFONT ( SECOND_COLUMN , 253 ) ; 238 Size = MAP_APPFONT ( 90 , 8 ) ; 239 Text [ en-US ] = "Vector element" ; 240 }; 241 NumericField RID_SCAN_NUMERIC_VECTOR_BOX 242 { 243 HelpID = "extensions:NumericField:RID_SANE_DIALOG:RID_SCAN_NUMERIC_VECTOR_BOX"; 244 Border = TRUE ; 245 Spin = TRUE ; 246 Repeat = TRUE ; 247 Pos = MAP_APPFONT ( SECOND_COLUMN + 90 , 251 ) ; 248 Size = MAP_APPFONT ( 40 , 12 ) ; 249 }; 250 PushButton RID_SCAN_BUTTON_OPTION_BTN 251 { 252 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_SCAN_BUTTON_OPTION_BTN"; 253 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ; 254 Size = MAP_APPFONT ( 130 , 14 ) ; 255 Text [ en-US ] = "Set" ; 256 }; 257 Bitmap RID_SCAN_BITMAP_PLUS 258 { 259 File = "plus.bmp" ; 260 }; 261 Bitmap RID_SCAN_BITMAP_MINUS 262 { 263 File = "minus.bmp" ; 264 }; 265 Text [ en-US ] = "Scanner" ; 266}; 267String RID_SANE_DEVICEINFO_TXT 268{ 269 Text [ en-US ] = "Device: %s\nVendor: %s\nModel: %s\nType: %s" ; 270}; 271String RID_SANE_SCANERROR_TXT 272{ 273 Text [ en-US ] = "An error occurred while scanning." ; 274}; 275String RID_SANE_NORESOLUTIONOPTION_TXT 276{ 277 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." ; 278}; 279String RID_SANE_NOSANELIB_TXT 280{ 281 Text [ en-US ] = "The SANE interface could not be initialized. Scanning is not possible." ; 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 316 317 318 319