1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: sanedlg.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include <sanedlg.hrc>
31 ModalDialog RID_SANE_DIALOG
35 Pos = MAP_APPFONT ( 10 , 10 ) ;
36 Size = MAP_APPFONT ( THIRD_COLUMN + 60 , 268 ) ;
41 Pos = MAP_APPFONT ( THIRD_COLUMN , 6 ) ;
42 Size = MAP_APPFONT ( 55 , 14 ) ;
45 CancelButton RID_SCAN_CANCEL
47 Pos = MAP_APPFONT ( THIRD_COLUMN , 25 ) ;
48 Size = MAP_APPFONT ( 55 , 14 ) ;
50 PushButton RID_DEVICEINFO_BTN
52 Pos = MAP_APPFONT ( THIRD_COLUMN , 44 ) ;
53 Size = MAP_APPFONT ( 55 , 22 ) ;
54 Text [ en-US ] = "About\n Dev~ice" ;
56 PushButton RID_PREVIEW_BTN
58 Pos = MAP_APPFONT ( THIRD_COLUMN , 71 ) ;
59 Size = MAP_APPFONT ( 55 , 22 ) ;
60 Text [ en-US ] = "Create\nPreview" ;
62 FixedLine RID_PREVIEW_BOX
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" ;
68 FixedLine RID_SCANAREA_BOX
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" ;
74 FixedText RID_SCAN_LEFT_TXT
76 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP ) ;
77 Size = MAP_APPFONT ( 50 , 8 ) ;
78 Text [ en-US ] = "Left:" ;
80 MetricField 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
99 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 15 ) ;
100 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
102 FixedText RID_SCAN_RIGHT_TXT
104 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 34 ) ;
105 Size = MAP_APPFONT ( 50 , 8 ) ;
106 Text [ en-US ] = "Right:" ;
108 MetricField RID_SCAN_RIGHT_BOX
113 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 32 ) ;
114 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
116 FixedText RID_SCAN_BOTTOM_TXT
118 Pos = MAP_APPFONT ( SCAN_AREA_LEFT , SCAN_AREA_TOP + 51 ) ;
119 Size = MAP_APPFONT ( 50 , 8 ) ;
120 Text [ en-US ] = "Bottom:" ;
122 MetricField RID_SCAN_BOTTOM_BOX
127 Pos = MAP_APPFONT ( SCAN_AREA_LEFT + 50 , SCAN_AREA_TOP + 49 ) ;
128 Size = MAP_APPFONT ( PREVIEW_WIDTH - 50 , 12 ) ;
130 FixedText RID_DEVICE_BOX_TXT
132 Pos = MAP_APPFONT ( SECOND_COLUMN , 8 ) ;
133 Size = MAP_APPFONT ( 70 , 8 ) ;
134 Text [ en-US ] = "Device used:" ;
136 ListBox RID_DEVICE_BOX
141 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 6 ) ;
142 Size = MAP_APPFONT ( 60 , 80 ) ;
144 FixedText RID_SCAN_RESOLUTION_TXT
146 Pos = MAP_APPFONT ( SECOND_COLUMN , 25 ) ;
147 Size = MAP_APPFONT ( 70 , 8 ) ;
148 Text [ en-US ] = "Resolution [~DPI]" ;
150 NumericBox RID_SCAN_RESOLUTION_BOX
153 Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 23 ) ;
154 Size = MAP_APPFONT ( 60 , 80 ) ;
156 FixedText RID_SCAN_ADVANCED_TXT
158 Pos = MAP_APPFONT ( SECOND_COLUMN , 40 ) ;
159 Size = MAP_APPFONT ( 120 , 8 ) ;
160 Text [ en-US ] = "Show advanced options" ;
162 CheckBox RID_SCAN_ADVANCED_BOX
165 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 40 ) ;
166 Size = MAP_APPFONT ( 8 , 8 ) ;
168 FixedText RID_SCAN_OPTION_TXT
170 Pos = MAP_APPFONT ( SECOND_COLUMN , 54 ) ;
171 Size = MAP_APPFONT ( 130 , 8 ) ;
172 Text [ en-US ] = "Options:" ;
174 Control RID_SCAN_OPTION_BOX
177 Pos = MAP_APPFONT ( SECOND_COLUMN , 63 ) ;
178 Size = MAP_APPFONT ( 130 , 102 ) ;
180 FixedText RID_SCAN_OPTIONTITLE_TXT
184 Pos = MAP_APPFONT ( SECOND_COLUMN , 170 ) ;
185 Size = MAP_APPFONT ( 130 , 50 ) ;
187 FixedText RID_SCAN_OPTION_DESC_TXT
189 Pos = MAP_APPFONT ( SECOND_COLUMN , 225 ) ;
190 Size = MAP_APPFONT ( 120 , 8 ) ;
192 CheckBox RID_SCAN_BOOL_OPTION_BOX
194 Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 225 ) ;
195 Size = MAP_APPFONT ( 8 , 8 ) ;
197 Edit RID_SCAN_STRING_OPTION_EDT
200 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
201 Size = MAP_APPFONT ( 130 , 12 ) ;
203 ListBox RID_SCAN_QUANTUM_RANGE_BOX
207 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
208 Size = MAP_APPFONT ( 130 , 80 ) ;
210 ListBox RID_SCAN_STRING_RANGE_BOX
214 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
215 Size = MAP_APPFONT ( 130 , 80 ) ;
217 Edit RID_SCAN_NUMERIC_OPTION_EDT
220 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
221 Size = MAP_APPFONT ( 130 , 12 ) ;
223 FixedText RID_SCAN_NUMERIC_VECTOR_TXT
225 Pos = MAP_APPFONT ( SECOND_COLUMN , 253 ) ;
226 Size = MAP_APPFONT ( 90 , 8 ) ;
227 Text [ en-US ] = "Vector element" ;
229 NumericField RID_SCAN_NUMERIC_VECTOR_BOX
234 Pos = MAP_APPFONT ( SECOND_COLUMN + 90 , 251 ) ;
235 Size = MAP_APPFONT ( 40 , 12 ) ;
237 PushButton RID_SCAN_BUTTON_OPTION_BTN
239 Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
240 Size = MAP_APPFONT ( 130 , 14 ) ;
241 Text [ en-US ] = "Set" ;
243 Bitmap RID_SCAN_BITMAP_PLUS
247 Bitmap RID_SCAN_BITMAP_MINUS
251 Text [ en-US ] = "Scanner" ;
253 String RID_SANE_DEVICEINFO_TXT
255 Text [ en-US ] = "Device: %s\nVendor: %s\nModel: %s\nType: %s" ;
257 String RID_SANE_SCANERROR_TXT
259 Text [ en-US ] = "An error occurred while scanning." ;
261 String RID_SANE_NORESOLUTIONOPTION_TXT
263 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." ;
265 String RID_SANE_NOSANELIB_TXT
267 Text [ en-US ] = "The SANE interface could not be initialized. Scanning is not possible." ;