1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #include <sanedlg.hrc>
28 ModalDialog RID_SANE_DIALOG
32 Pos = MAP_APPFONT ( 10 , 10 ) ;
33 Size = MAP_APPFONT ( THIRD_COLUMN + 60 , 268 ) ;
38 Pos = MAP_APPFONT ( THIRD_COLUMN , 6 ) ;
39 Size = MAP_APPFONT ( 55 , 14 ) ;
42 CancelButton RID_SCAN_CANCEL
44 Pos = MAP_APPFONT ( THIRD_COLUMN , 25 ) ;
45 Size = MAP_APPFONT ( 55 , 14 ) ;
47 PushButton RID_DEVICEINFO_BTN
49 Pos = MAP_APPFONT ( THIRD_COLUMN , 44 ) ;
50 Size = MAP_APPFONT ( 55 , 22 ) ;
51 Text [ en-US ] = "About\n Dev~ice" ;
53 PushButton RID_PREVIEW_BTN
55 Pos = MAP_APPFONT ( THIRD_COLUMN , 71 ) ;
56 Size = MAP_APPFONT ( 55 , 22 ) ;
57 Text [ en-US ] = "Create\nPreview" ;
59 FixedLine RID_PREVIEW_BOX
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" ;
65 FixedLine RID_SCANAREA_BOX
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" ;
71 FixedText RID_SCAN_LEFT_TXT
73 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP ) ;
74 Size = MAP_APPFONT ( 50 , 8 ) ;
75 Text [ en-US ] = "Left:" ;
77 MetricField RID_SCAN_LEFT_BOX
82 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP - 2 ) ;
83 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
85 FixedText RID_SCAN_TOP_TXT
87 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 17 ) ;
88 Size = MAP_APPFONT ( 50 , 8 ) ;
89 Text [ en-US ] = "Top:" ;
91 MetricField RID_SCAN_TOP_BOX
96 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 15 ) ;
97 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
99 FixedText RID_SCAN_RIGHT_TXT
101 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 34 ) ;
102 Size = MAP_APPFONT ( 50 , 8 ) ;
103 Text [ en-US ] = "Right:" ;
105 MetricField RID_SCAN_RIGHT_BOX
110 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 32 ) ;
111 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
113 FixedText RID_SCAN_BOTTOM_TXT
115 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 51 ) ;
116 Size = MAP_APPFONT ( 50 , 8 ) ;
117 Text [ en-US ] = "Bottom:" ;
119 MetricField RID_SCAN_BOTTOM_BOX
124 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 49 ) ;
125 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
127 FixedText RID_DEVICE_BOX_TXT
129 Pos = MAP_APPFONT ( SECOND_COLUMN , 8 ) ;
130 Size = MAP_APPFONT ( 70 , 8 ) ;
131 Text [ en-US ] = "Device used:" ;
133 ListBox RID_DEVICE_BOX
138 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 6 ) ;
139 Size = MAP_APPFONT ( 60 , 80 ) ;
141 FixedText RID_SCAN_RESOLUTION_TXT
143 Pos = MAP_APPFONT ( SECOND_COLUMN , 25 ) ;
144 Size = MAP_APPFONT ( 70 , 8 ) ;
145 Text [ en-US ] = "Resolution [~DPI]" ;
147 NumericBox RID_SCAN_RESOLUTION_BOX
150 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 23 ) ;
151 Size = MAP_APPFONT ( 60 , 80 ) ;
153 FixedText RID_SCAN_ADVANCED_TXT
155 Pos = MAP_APPFONT ( SECOND_COLUMN , 40 ) ;
156 Size = MAP_APPFONT ( 120 , 8 ) ;
157 Text [ en-US ] = "Show advanced options" ;
159 CheckBox RID_SCAN_ADVANCED_BOX
162 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 40 ) ;
163 Size = MAP_APPFONT ( 8 , 8 ) ;
165 FixedText RID_SCAN_OPTION_TXT
167 Pos = MAP_APPFONT ( SECOND_COLUMN , 54 ) ;
168 Size = MAP_APPFONT ( 130 , 8 ) ;
169 Text [ en-US ] = "Options:" ;
171 Control RID_SCAN_OPTION_BOX
174 Pos = MAP_APPFONT ( SECOND_COLUMN , 63 ) ;
175 Size = MAP_APPFONT ( 130 , 102 ) ;
177 FixedText RID_SCAN_OPTIONTITLE_TXT
181 Pos = MAP_APPFONT ( SECOND_COLUMN , 170 ) ;
182 Size = MAP_APPFONT ( 130 , 50 ) ;
184 FixedText RID_SCAN_OPTION_DESC_TXT
186 Pos = MAP_APPFONT ( SECOND_COLUMN , 225 ) ;
187 Size = MAP_APPFONT ( 120 , 8 ) ;
189 CheckBox RID_SCAN_BOOL_OPTION_BOX
191 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 225 ) ;
192 Size = MAP_APPFONT ( 8 , 8 ) ;
194 Edit RID_SCAN_STRING_OPTION_EDT
197 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
198 Size = MAP_APPFONT ( 130 , 12 ) ;
200 ListBox RID_SCAN_QUANTUM_RANGE_BOX
204 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
205 Size = MAP_APPFONT ( 130 , 80 ) ;
207 ListBox RID_SCAN_STRING_RANGE_BOX
211 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
212 Size = MAP_APPFONT ( 130 , 80 ) ;
214 Edit RID_SCAN_NUMERIC_OPTION_EDT
217 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
218 Size = MAP_APPFONT ( 130 , 12 ) ;
220 FixedText RID_SCAN_NUMERIC_VECTOR_TXT
222 Pos = MAP_APPFONT ( SECOND_COLUMN , 253 ) ;
223 Size = MAP_APPFONT ( 90 , 8 ) ;
224 Text [ en-US ] = "Vector element" ;
226 NumericField RID_SCAN_NUMERIC_VECTOR_BOX
231 Pos = MAP_APPFONT ( SECOND_COLUMN + 90 , 251 ) ;
232 Size = MAP_APPFONT ( 40 , 12 ) ;
234 PushButton RID_SCAN_BUTTON_OPTION_BTN
236 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
237 Size = MAP_APPFONT ( 130 , 14 ) ;
238 Text [ en-US ] = "Set" ;
240 Bitmap RID_SCAN_BITMAP_PLUS
244 Bitmap RID_SCAN_BITMAP_MINUS
248 Text [ en-US ] = "Scanner" ;
250 String RID_SANE_DEVICEINFO_TXT
252 Text [ en-US ] = "Device: %s\nVendor: %s\nModel: %s\nType: %s" ;
254 String RID_SANE_SCANERROR_TXT
256 Text [ en-US ] = "An error occurred while scanning." ;
258 String RID_SANE_NORESOLUTIONOPTION_TXT
260 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." ;
262 String RID_SANE_NOSANELIB_TXT
264 Text [ en-US ] = "The SANE interface could not be initialized. Scanning is not possible." ;