1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23
24<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
25<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">
26	<info>
27		<author>va</author>
28		<desc>Contains the configuration schema for the table wizard</desc>
29	</info>
30	<templates>
31		<group oor:name="TWizField">
32			<info>
33				<desc>Information on the database field properties</desc>
34			</info>
35			<prop oor:name="Index" oor:type="xs:int">
36				<info>
37					<desc>the index of the field  (start at 0, must be field-unique)</desc>
38				</info>
39			</prop>
40			<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
41				<info>
42					<desc>the name of the database field. ONLY ASCII CHARACTERS</desc>
43				</info>
44			</prop>
45			<prop oor:localized="true" oor:name="ShortName" oor:type="xs:string">
46				<info>
47					<desc>the name of the database field. ONLY ASCII AND MAXIMUM 10 CHARACTERS</desc>
48				</info>
49			</prop>
50			<prop oor:name="Type" oor:type="xs:int">
51				<info>
52					<desc>the type of the database field.</desc>
53				</info>
54			</prop>
55			<prop oor:name="PrimaryKey" oor:type="xs:boolean">
56				<info>
57					<desc>indicates whether the database field is a primary key or not.</desc>
58				</info>
59			</prop>
60			<prop oor:name="DefaultValue" oor:type="xs:boolean">
61				<info>
62					<desc>defines the default value of the database field.</desc>
63				</info>
64			</prop>
65			<prop oor:name="Precision" oor:type="xs:int">
66				<info>
67					<desc>defines the number of decimal digits of the database field.</desc>
68				</info>
69			</prop>
70			<prop oor:name="Scale" oor:type="xs:int">
71				<info>
72					<desc>defines the number of decimal digits to right of the decimal point of the database field.</desc>
73				</info>
74			</prop>
75		</group>
76		<group oor:name="TWizTable">
77			<info>
78				<desc>Information on the tables of the  table wizard</desc>
79			</info>
80			<prop oor:name="Index" oor:type="xs:int">
81				<info>
82					<desc>the index of the table (start at 0, must be table-unique)</desc>
83				</info>
84			</prop>
85			<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
86				<info>
87					<desc>the name of the database table. ONLY ASCII CHARACTERS</desc>
88				</info>
89			</prop>
90			<set oor:name="Fields" oor:node-type="TWizField">
91				<info>
92					<desc> the fields in this table </desc>
93				</info>
94			</set>
95		</group>
96		<group oor:name="TWizCategory">
97			<info>
98				<desc>Information on the categries of the  table wizard</desc>
99			</info>
100			<prop oor:name="Index" oor:type="xs:int">
101				<info>
102					<desc>the index of the category (start at 0, must be category-unique)</desc>
103				</info>
104			</prop>
105			<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
106				<info>
107					<desc>the name of the database field.</desc>
108				</info>
109			</prop>
110			<set oor:name="Tables" oor:node-type="TWizTable">
111				<info>
112					<desc> the tables in this category </desc>
113				</info>
114			</set>
115		</group>
116	</templates>
117	<component>
118		<set oor:name="TableWizard" oor:node-type="TWizCategory">
119			<info>
120				<desc>the set of categories.</desc>
121			</info>
122		</set>
123	</component>
124</oor:component-schema>
125