1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include <sanedlg.hrc>
20 ModalDialog RID_SANE_DIALOG
22 HelpID = "extensions:ModalDialog:RID_SANE_DIALOG";
25 Pos = MAP_APPFONT ( 10 , 10 ) ;
26 Size = MAP_APPFONT ( THIRD_COLUMN + 60 , 268 ) ;
31 Pos = MAP_APPFONT ( THIRD_COLUMN , 6 ) ;
32 Size = MAP_APPFONT ( 55 , 14 ) ;
35 CancelButton RID_SCAN_CANCEL
37 Pos = MAP_APPFONT ( THIRD_COLUMN , 25 ) ;
38 Size = MAP_APPFONT ( 55 , 14 ) ;
40 PushButton RID_DEVICEINFO_BTN
42 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_DEVICEINFO_BTN";
43 Pos = MAP_APPFONT ( THIRD_COLUMN , 44 ) ;
44 Size = MAP_APPFONT ( 55 , 22 ) ;
45 Text [ en-US ] = "About\n Dev~ice" ;
47 PushButton RID_PREVIEW_BTN
49 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_PREVIEW_BTN";
50 Pos = MAP_APPFONT ( THIRD_COLUMN , 71 ) ;
51 Size = MAP_APPFONT ( 55 , 22 ) ;
52 Text [ en-US ] = "Create\nPreview" ;
54 PushButton RID_SCAN_BTN
56 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_SCAN_BTN";
57 Pos = MAP_APPFONT ( THIRD_COLUMN , 98 ) ;
58 Size = MAP_APPFONT ( 55 , 14 ) ;
59 Text [ en-US ] = "Scan" ;
61 FixedLine RID_PREVIEW_BOX
63 Pos = MAP_APPFONT ( PREVIEW_UPPER_LEFT - 5 , PREVIEW_UPPER_TOP - 8 ) ;
64 Size = MAP_APPFONT ( PREVIEW_WIDTH + 10 , 8 ) ;
65 Text [ en-US ] = "Preview" ;
67 FixedLine RID_SCANAREA_BOX
69 Pos = MAP_APPFONT ( SCAN_AREA_LEFT - 5 , SCAN_AREA_TOP - 12 ) ;
70 Size = MAP_APPFONT ( PREVIEW_WIDTH + 10 , 8 ) ;
71 Text [ en-US ] = "Scan area" ;
73 FixedText RID_SCAN_LEFT_TXT
75 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP ) ;
76 Size = MAP_APPFONT ( 50 , 8 ) ;
77 Text [ en-US ] = "Left:" ;
79 MetricField RID_SCAN_LEFT_BOX
81 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_LEFT_BOX";
85 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP - 2 ) ;
86 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
88 FixedText RID_SCAN_TOP_TXT
90 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 17 ) ;
91 Size = MAP_APPFONT ( 50 , 8 ) ;
92 Text [ en-US ] = "Top:" ;
94 MetricField RID_SCAN_TOP_BOX
96 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_TOP_BOX";
100 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 15 ) ;
101 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
103 FixedText RID_SCAN_RIGHT_TXT
105 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 34 ) ;
106 Size = MAP_APPFONT ( 50 , 8 ) ;
107 Text [ en-US ] = "Right:" ;
109 MetricField RID_SCAN_RIGHT_BOX
111 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_RIGHT_BOX";
115 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 32 ) ;
116 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
118 FixedText RID_SCAN_BOTTOM_TXT
120 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 51 ) ;
121 Size = MAP_APPFONT ( 50 , 8 ) ;
122 Text [ en-US ] = "Bottom:" ;
124 MetricField RID_SCAN_BOTTOM_BOX
126 HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_BOTTOM_BOX";
130 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 49 ) ;
131 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
133 FixedText RID_DEVICE_BOX_TXT
135 Pos = MAP_APPFONT ( SECOND_COLUMN , 8 ) ;
136 Size = MAP_APPFONT ( 70 , 8 ) ;
137 Text [ en-US ] = "Device used:" ;
139 ListBox RID_DEVICE_BOX
141 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_DEVICE_BOX";
145 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 6 ) ;
146 Size = MAP_APPFONT ( 60 , 80 ) ;
148 FixedText RID_SCAN_RESOLUTION_TXT
150 Pos = MAP_APPFONT ( SECOND_COLUMN , 25 ) ;
151 Size = MAP_APPFONT ( 70 , 8 ) ;
152 Text [ en-US ] = "Resolution [~DPI]" ;
154 NumericBox RID_SCAN_RESOLUTION_BOX
156 HelpID = "extensions:NumericBox:RID_SANE_DIALOG:RID_SCAN_RESOLUTION_BOX";
158 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 23 ) ;
159 Size = MAP_APPFONT ( 60 , 80 ) ;
161 FixedText RID_SCAN_ADVANCED_TXT
163 Pos = MAP_APPFONT ( SECOND_COLUMN , 40 ) ;
164 Size = MAP_APPFONT ( 120 , 8 ) ;
165 Text [ en-US ] = "Show advanced options" ;
167 CheckBox RID_SCAN_ADVANCED_BOX
169 HelpID = "extensions:CheckBox:RID_SANE_DIALOG:RID_SCAN_ADVANCED_BOX";
171 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 40 ) ;
172 Size = MAP_APPFONT ( 8 , 8 ) ;
174 FixedText RID_SCAN_OPTION_TXT
176 Pos = MAP_APPFONT ( SECOND_COLUMN , 54 ) ;
177 Size = MAP_APPFONT ( 130 , 8 ) ;
178 Text [ en-US ] = "Options:" ;
180 Control RID_SCAN_OPTION_BOX
183 Pos = MAP_APPFONT ( SECOND_COLUMN , 63 ) ;
184 Size = MAP_APPFONT ( 130 , 102 ) ;
186 FixedText RID_SCAN_OPTIONTITLE_TXT
190 Pos = MAP_APPFONT ( SECOND_COLUMN , 170 ) ;
191 Size = MAP_APPFONT ( 130 , 50 ) ;
193 FixedText RID_SCAN_OPTION_DESC_TXT
195 Pos = MAP_APPFONT ( SECOND_COLUMN , 225 ) ;
196 Size = MAP_APPFONT ( 120 , 8 ) ;
198 CheckBox RID_SCAN_BOOL_OPTION_BOX
200 HelpID = "extensions:CheckBox:RID_SANE_DIALOG:RID_SCAN_BOOL_OPTION_BOX";
201 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 225 ) ;
202 Size = MAP_APPFONT ( 8 , 8 ) ;
204 Edit RID_SCAN_STRING_OPTION_EDT
206 HelpID = "extensions:Edit:RID_SANE_DIALOG:RID_SCAN_STRING_OPTION_EDT";
208 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
209 Size = MAP_APPFONT ( 130 , 12 ) ;
211 ListBox RID_SCAN_QUANTUM_RANGE_BOX
213 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_SCAN_QUANTUM_RANGE_BOX";
216 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
217 Size = MAP_APPFONT ( 130 , 80 ) ;
219 ListBox RID_SCAN_STRING_RANGE_BOX
221 HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_SCAN_STRING_RANGE_BOX";
224 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
225 Size = MAP_APPFONT ( 130 , 80 ) ;
227 Edit RID_SCAN_NUMERIC_OPTION_EDT
229 HelpID = "extensions:Edit:RID_SANE_DIALOG:RID_SCAN_NUMERIC_OPTION_EDT";
231 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
232 Size = MAP_APPFONT ( 130 , 12 ) ;
234 FixedText RID_SCAN_NUMERIC_VECTOR_TXT
236 Pos = MAP_APPFONT ( SECOND_COLUMN , 253 ) ;
237 Size = MAP_APPFONT ( 90 , 8 ) ;
238 Text [ en-US ] = "Vector element" ;
240 NumericField RID_SCAN_NUMERIC_VECTOR_BOX
242 HelpID = "extensions:NumericField:RID_SANE_DIALOG:RID_SCAN_NUMERIC_VECTOR_BOX";
246 Pos = MAP_APPFONT ( SECOND_COLUMN + 90 , 251 ) ;
247 Size = MAP_APPFONT ( 40 , 12 ) ;
249 PushButton RID_SCAN_BUTTON_OPTION_BTN
251 HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_SCAN_BUTTON_OPTION_BTN";
252 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
253 Size = MAP_APPFONT ( 130 , 14 ) ;
254 Text [ en-US ] = "Set" ;
256 Bitmap RID_SCAN_BITMAP_PLUS
260 Bitmap RID_SCAN_BITMAP_MINUS
264 Text [ en-US ] = "Scanner" ;
266 String RID_SANE_DEVICEINFO_TXT
268 Text [ en-US ] = "Device: %s\nVendor: %s\nModel: %s\nType: %s" ;
270 String RID_SANE_SCANERROR_TXT
272 Text [ en-US ] = "An error occurred while scanning." ;
274 String RID_SANE_NORESOLUTIONOPTION_TXT
276 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 String RID_SANE_NOSANELIB_TXT
280 Text [ en-US ] = "The SANE interface could not be initialized. Scanning is not possible." ;
283 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */