Update ooo320-m1
[ooovba.git] / dbaccess / source / filter / xml / xmlEnums.hxx
blobbac67ee8167e83d44052b4582b6f4b8237d9442c
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xmlEnums.hxx,v $
10 * $Revision: 1.7.2.1 $
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 #ifndef DBA_XMLENUMS_HXX
31 #define DBA_XMLENUMS_HXX
33 #define PROGRESS_BAR_STEP 20
35 namespace dbaxml
37 enum XMLDocTokens
39 XML_TOK_DOC_AUTOSTYLES,
40 XML_TOK_DOC_SETTINGS,
41 XML_TOK_DOC_DATABASE,
42 XML_TOK_DOC_STYLES,
43 XML_TOK_DOC_SCRIPT
45 enum XMLDatabaseToken
47 XML_TOK_DATASOURCE,
48 XML_TOK_FORMS,
49 XML_TOK_REPORTS,
50 XML_TOK_QUERIES,
51 XML_TOK_TABLES,
52 XML_TOK_SCHEMA_DEFINITION
54 enum XMLDataSource
56 XML_TOK_CONNECTION_RESOURCE,
57 XML_TOK_SUPPRESS_VERSION_COLUMNS,
58 XML_TOK_JAVA_DRIVER_CLASS,
59 XML_TOK_EXTENSION,
60 XML_TOK_IS_FIRST_ROW_HEADER_LINE,
61 XML_TOK_SHOW_DELETED,
62 XML_TOK_IS_TABLE_NAME_LENGTH_LIMITED,
63 XML_TOK_SYSTEM_DRIVER_SETTINGS,
64 XML_TOK_ENABLE_SQL92_CHECK,
65 XML_TOK_APPEND_TABLE_ALIAS_NAME,
66 XML_TOK_PARAMETER_NAME_SUBSTITUTION,
67 XML_TOK_IGNORE_DRIVER_PRIVILEGES,
68 XML_TOK_BOOLEAN_COMPARISON_MODE,
69 XML_TOK_USE_CATALOG,
70 XML_TOK_BASE_DN,
71 XML_TOK_MAX_ROW_COUNT,
72 XML_TOK_LOGIN,
73 XML_TOK_TABLE_FILTER,
74 XML_TOK_TABLE_TYPE_FILTER,
75 XML_TOK_AUTO_INCREMENT,
76 XML_TOK_DELIMITER,
77 XML_TOK_DATA_SOURCE_SETTINGS,
78 XML_TOK_FONT_CHARSET,
79 XML_TOK_ENCODING,
80 XML_TOK_DATABASE_DESCRIPTION,
81 XML_TOK_COMPOUND_DATABASE,
82 XML_TOK_DB_HREF,
83 XML_TOK_MEDIA_TYPE,
84 XML_TOK_DB_TYPE,
85 XML_TOK_HOSTNAME,
86 XML_TOK_PORT,
87 XML_TOK_LOCAL_SOCKET,
88 XML_TOK_DATABASE_NAME,
89 XML_TOK_CONNECTION_DATA,
90 XML_TOK_DRIVER_SETTINGS,
91 XML_TOK_JAVA_CLASSPATH,
92 XML_TOK_CHARACTER_SET,
93 XML_TOK_APPLICATION_CONNECTION_SETTINGS
95 enum XMLDatabaseDescription
97 XML_TOK_FILE_BASED_DATABASE,
98 XML_TOK_SERVER_DATABASE
100 enum XMLLogin
102 XML_TOK_USER_NAME,
103 XML_TOK_IS_PASSWORD_REQUIRED,
104 XML_TOK_USE_SYSTEM_USER,
105 XML_TOK_LOGIN_TIMEOUT
107 enum XMLDataSourceInfo
109 XML_TOK_STRING,
110 XML_TOK_FIELD,
111 XML_TOK_DECIMAL,
112 XML_TOK_THOUSAND,
113 XML_TOK_ADDITIONAL_COLUMN_STATEMENT,
114 XML_TOK_ROW_RETRIEVING_STATEMENT,
115 XML_TOK_DATA_SOURCE_SETTING,
116 XML_TOK_DATA_SOURCE_SETTING_VALUE,
117 XML_TOK_DATA_SOURCE_SETTING_IS_LIST,
118 XML_TOK_DATA_SOURCE_SETTING_TYPE,
119 XML_TOK_DATA_SOURCE_SETTING_NAME
121 enum XMLDocuments
123 XML_TOK_COMPONENT,
124 XML_TOK_COMPONENT_COLLECTION,
125 XML_TOK_QUERY_COLLECTION,
126 XML_TOK_QUERY,
127 XML_TOK_TABLE,
128 XML_TOK_COLUMN
130 enum XMLComponent
132 XML_TOK_HREF ,
133 XML_TOK_TYPE ,
134 XML_TOK_SHOW ,
135 XML_TOK_ACTUATE ,
136 XML_TOK_AS_TEMPLATE ,
137 XML_TOK_COMPONENT_NAME
139 enum XMLType
141 XML_TYPE_FORMS,
142 XML_TYPE_REPORTS,
143 XML_TYPE_QUERIES,
144 XML_TYPE_TABLES
146 enum XMLQueryTable
148 XML_TOK_QUERY_NAME,
149 XML_TOK_COMMAND,
150 XML_TOK_ESCAPE_PROCESSING,
151 XML_TOK_FILTER_STATEMENT,
152 XML_TOK_ORDER_STATEMENT,
153 XML_TOK_UPDATE_TABLE,
154 XML_TOK_CATALOG_NAME,
155 XML_TOK_SCHEMA_NAME,
156 XML_TOK_STYLE_NAME,
157 XML_TOK_APPLY_FILTER,
158 XML_TOK_APPLY_ORDER,
159 XML_TOK_COLUMNS
161 enum XMLColumn
163 XML_TOK_COLUMN_NAME,
164 XML_TOK_COLUMN_STYLE_NAME,
165 XML_TOK_COLUMN_HELP_MESSAGE,
166 XML_TOK_COLUMN_VISIBILITY,
167 XML_TOK_COLUMN_DEFAULT_VALUE,
168 XML_TOK_COLUMN_TYPE_NAME,
169 XML_TOK_COLUMN_VISIBLE,
170 XML_TOK_DEFAULT_CELL_STYLE_NAME
172 // -----------------------------------------------------------------------------
173 } // namespace dbaxml
174 // -----------------------------------------------------------------------------
175 #endif // DBA_XMLENUMS_HXX