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