merge the formfield patch from ooo-build
[ooovba.git] / extensions / source / scanner / sanedlg.hrc
blob42b2fd154ee49d90b6be7a439f6829f70b3704c7
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: sanedlg.hrc,v $
10  * $Revision: 1.3 $
11  *
12  * This file is part of OpenOffice.org.
13  *
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.
17  *
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).
23  *
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.
28  *
29  ************************************************************************/
30 #ifndef _SVT_SANEDLG_HRC
31 #define _SVT_SANEDLG_HRC
33 #define RID_SANE_DIALOG                                 1000
34 #define RID_SCAN_OK                                                1
35 #define RID_SCAN_CANCEL                                    2
36 #define RID_DEVICEINFO_BTN                                 3
37 #define RID_PREVIEW_BOX                                    4
38 #define RID_DEVICE_BOX_TXT                                 5
39 #define RID_DEVICE_BOX                                     6
40 #define RID_SCANAREA_BOX                                   7
41 #define RID_SCAN_LEFT_TXT                                  8
42 #define RID_SCAN_LEFT_BOX                                  9
43 #define RID_SCAN_TOP_BOX                                  10
44 #define RID_SCAN_TOP_TXT                                  11
45 #define RID_SCAN_RIGHT_TXT                                12
46 #define RID_SCAN_RIGHT_BOX                                13
47 #define RID_SCAN_BOTTOM_TXT                               14
48 #define RID_SCAN_BOTTOM_BOX                               15
49 #define RID_SCAN_RESOLUTION_TXT                   16
50 #define RID_SCAN_RESOLUTION_BOX                   17
51 #define RID_PREVIEW_BTN                                   18
52 #define RID_SCAN_OPTION_BOX                               19
53 #define RID_SCAN_OPTIONTITLE_TXT                  20
54 #define RID_SCAN_OPTION_DESC_TXT                  21
55 #define RID_SCAN_BOOL_OPTION_BOX                  22
56 #define RID_SCAN_OPTION_TXT                               23
57 #define RID_SCAN_STRING_OPTION_EDT                24
58 #define RID_SCAN_QUANTUM_RANGE_BOX                25
59 #define RID_SCAN_STRING_RANGE_BOX                 26
60 #define RID_SCAN_NUMERIC_OPTION_EDT               27
61 #define RID_SCAN_BUTTON_OPTION_BTN                28
62 #define RID_SCAN_NUMERIC_VECTOR_BOX               29
63 #define RID_SCAN_NUMERIC_VECTOR_TXT               30
64 #define RID_SCAN_BITMAP_PLUS                      31
65 #define RID_SCAN_BITMAP_MINUS                     32
66 #define RID_SCAN_ADVANCED_BOX                     33
67 #define RID_SCAN_ADVANCED_TXT                     34
69 #define RID_SANE_DEVICEINFO_TXT                 1001
70 #define RID_SANE_SCANERROR_TXT                  1002
71 #define RID_SANE_NORESOLUTIONOPTION_TXT 1003
72 #define RID_SANE_NOSANELIB_TXT                  1004
74 #define SCAN_AREA_TOP           17
75 #define SCAN_AREA_LEFT          8
76 #define PREVIEW_UPPER_LEFT  SCAN_AREA_LEFT
77 #define PREVIEW_UPPER_TOP   SCAN_AREA_TOP + 80
78 #define PREVIEW_WIDTH       113
79 #define PREVIEW_HEIGHT      160
80 #define PREVIEW_BOTTOM          PREVIEW_UPPER_TOP + PREVIEW_HEIGHT
81 #define PREVIEW_RIGHT           PREVIEW_UPPER_LEFT + PREVIEW_WIDTH
82 #define SECOND_COLUMN           PREVIEW_WIDTH + 20
83 #define THIRD_COLUMN            SECOND_COLUMN + 135
85 #endif