summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema/org/openoffice/Office/TableWizard.xcs
blob: 0e0bb1d714064e85ca81ce71665bff5f4651a25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
<oor:component-schema oor:name="TableWizard" oor:package="org.openoffice.Office" xml:lang="en-US" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<info>
		<desc>Contains the configuration schema for the table wizard</desc>
	</info>
	<templates>
		<group oor:name="TWizField">
			<info>
				<desc>Information on the database field properties</desc>
			</info>
			<prop oor:name="Index" oor:type="xs:int">
				<info>
					<desc>the index of the field  (start at 0, must be field-unique)</desc>
				</info>
			</prop>
			<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
				<info>
					<desc>the name of the database field. ONLY ASCII CHARACTERS</desc>
				</info>
			</prop>
			<prop oor:localized="true" oor:name="ShortName" oor:type="xs:string">
				<info>
					<desc>the name of the database field. ONLY ASCII AND MAXIMUM 10 CHARACTERS</desc>
				</info>
			</prop>
			<prop oor:name="Type" oor:type="xs:int">
				<info>
					<desc>the type of the database field.</desc>
				</info>
			</prop>
			<prop oor:name="PrimaryKey" oor:type="xs:boolean">
				<info>
					<desc>indicates whether the database field is a primary key or not.</desc>
				</info>
			</prop>
			<prop oor:name="DefaultValue" oor:type="xs:boolean">
				<info>
					<desc>defines the default value of the database field.</desc>
				</info>
			</prop>
			<prop oor:name="Precision" oor:type="xs:int">
				<info>
					<desc>defines the number of decimal digits of the database field.</desc>
				</info>
			</prop>
			<prop oor:name="Scale" oor:type="xs:int">
				<info>
					<desc>defines the number of decimal digits to right of the decimal point of the database field.</desc>
				</info>
			</prop>
		</group>
		<group oor:name="TWizTable">
			<info>
				<desc>Information on the tables of the  table wizard</desc>
			</info>
			<prop oor:name="Index" oor:type="xs:int">
				<info>
					<desc>the index of the table (start at 0, must be table-unique)</desc>
				</info>
			</prop>
			<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
				<info>
					<desc>the name of the database table. ONLY ASCII CHARACTERS</desc>
				</info>
			</prop>
			<set oor:name="Fields" oor:node-type="TWizField">
				<info>
					<desc> the fields in this table </desc>
				</info>
			</set>
		</group>
		<group oor:name="TWizCategory">
			<info>
				<desc>Information on the categries of the  table wizard</desc>
			</info>
			<prop oor:name="Index" oor:type="xs:int">
				<info>
					<desc>the index of the category (start at 0, must be category-unique)</desc>
				</info>
			</prop>
			<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
				<info>
					<desc>the name of the database field.</desc>
				</info>
			</prop>
			<set oor:name="Tables" oor:node-type="TWizTable">
				<info>
					<desc> the tables in this category </desc>
				</info>
			</set>
		</group>
	</templates>
	<component>
		<set oor:name="TableWizard" oor:node-type="TWizCategory">
			<info>
				<desc>the set of categories.</desc>
			</info>
		</set>
	</component>
</oor:component-schema>