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
28#ifndef DBAUI_ADVANCEDSETTINGS_HRC
29#define DBAUI_ADVANCEDSETTINGS_HRC
30
31#define ADVANCED_CHECKBOX_OPTIONS    15
32#define ADVANCED_LISTBOX_OPTIONS      1
33
34#define ADVANCED_PAGE_X		200
35#define ADVANCED_PAGE_Y \
36    /* top space */     START_Y + \
37    /* label */         FIXEDTEXT_HEIGHT + RELATED_CONTROLS + \
38    /* check boxes */   ( ADVANCED_CHECKBOX_OPTIONS * ( CHECKBOX_HEIGHT + RELATED_CONTROLS ) ) + \
39    /* list boxes */    ( ADVANCED_LISTBOX_OPTIONS * ( LISTBOX_HEIGHT + RELATED_CONTROLS ) ) + \
40    /* bottom space */  START_Y
41
42
43#define STR_GENERATED_VALUE		1
44#define STR_DS_BEHAVIOUR		2
45
46#define FL_SEPARATORAUTO		1
47#define FL_DATAHANDLING			2
48
49#define CB_SUPPRESVERSIONCL		1
50#define CB_SQL92CHECK			2
51#define CB_RETRIEVE_AUTO		3
52#define CB_APPENDTABLEALIAS		4
53#define CB_IGNOREDRIVER_PRIV    5
54#define CB_PARAMETERNAMESUBST	6
55#define CB_ENABLEOUTERJOIN		7
56#define CB_SCHEMA				8
57#define CB_CATALOG				9
58#define CB_IGNOREINDEXAPPENDIX	10
59#define CB_DOSLINEENDS		   	11
60#define CB_AS_BEFORE_CORR_NAME  12
61#define CB_CHECK_REQUIRED       13
62#define CB_IGNORECURRENCY       14
63#define CB_ESCAPE_DATETIME      15
64#define CB_PRIMARY_KEY_SUPPORT  16
65#define CB_RESPECTRESULTSETTYPE 17
66
67#define ET_AUTOINCREMENTVALUE   1
68#define ET_RETRIEVE_AUTO	    2
69
70#define FT_AUTOINCREMENTVALUE	1
71#define FT_RETRIEVE_AUTO		2
72#define FT_BOOLEANCOMPARISON	3
73#define FT_MAXROWSCAN			4
74
75#define LB_BOOLEANCOMPARISON	1
76#define NF_MAXROWSCAN			1
77
78#endif // DBAUI_ADVANCEDSETTINGS_HRC
79