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