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#ifndef _SVT_SANEDLG_HRC
28#define _SVT_SANEDLG_HRC
29
30#define RID_SANE_DIALOG					1000
31#define RID_SCAN_OK						   1
32#define RID_SCAN_CANCEL					   2
33#define RID_DEVICEINFO_BTN				   3
34#define RID_PREVIEW_BOX					   4
35#define RID_DEVICE_BOX_TXT				   5
36#define RID_DEVICE_BOX					   6
37#define RID_SCANAREA_BOX				   7
38#define RID_SCAN_LEFT_TXT				   8
39#define RID_SCAN_LEFT_BOX				   9
40#define RID_SCAN_TOP_BOX				  10
41#define RID_SCAN_TOP_TXT				  11
42#define RID_SCAN_RIGHT_TXT				  12
43#define RID_SCAN_RIGHT_BOX				  13
44#define RID_SCAN_BOTTOM_TXT				  14
45#define RID_SCAN_BOTTOM_BOX				  15
46#define RID_SCAN_RESOLUTION_TXT			  16
47#define RID_SCAN_RESOLUTION_BOX			  17
48#define RID_PREVIEW_BTN					  18
49#define RID_SCAN_OPTION_BOX				  19
50#define RID_SCAN_OPTIONTITLE_TXT		  20
51#define RID_SCAN_OPTION_DESC_TXT		  21
52#define RID_SCAN_BOOL_OPTION_BOX		  22
53#define RID_SCAN_OPTION_TXT				  23
54#define RID_SCAN_STRING_OPTION_EDT		  24
55#define RID_SCAN_QUANTUM_RANGE_BOX		  25
56#define RID_SCAN_STRING_RANGE_BOX		  26
57#define RID_SCAN_NUMERIC_OPTION_EDT		  27
58#define RID_SCAN_BUTTON_OPTION_BTN		  28
59#define RID_SCAN_NUMERIC_VECTOR_BOX		  29
60#define RID_SCAN_NUMERIC_VECTOR_TXT		  30
61#define RID_SCAN_BITMAP_PLUS			  31
62#define RID_SCAN_BITMAP_MINUS			  32
63#define RID_SCAN_ADVANCED_BOX			  33
64#define RID_SCAN_ADVANCED_TXT			  34
65
66#define RID_SANE_DEVICEINFO_TXT			1001
67#define RID_SANE_SCANERROR_TXT			1002
68#define RID_SANE_NORESOLUTIONOPTION_TXT	1003
69#define RID_SANE_NOSANELIB_TXT			1004
70
71#define SCAN_AREA_TOP		17
72#define SCAN_AREA_LEFT		8
73#define PREVIEW_UPPER_LEFT  SCAN_AREA_LEFT
74#define PREVIEW_UPPER_TOP   SCAN_AREA_TOP + 80
75#define PREVIEW_WIDTH       113
76#define PREVIEW_HEIGHT      160
77#define PREVIEW_BOTTOM		PREVIEW_UPPER_TOP + PREVIEW_HEIGHT
78#define PREVIEW_RIGHT		PREVIEW_UPPER_LEFT + PREVIEW_WIDTH
79#define SECOND_COLUMN		PREVIEW_WIDTH + 20
80#define THIRD_COLUMN		SECOND_COLUMN + 135
81
82#endif
83