1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!--***********************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2008 by Sun Microsystems, Inc.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * $RCSfile: TableWizard.xcs,v $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************ -->
31 <!DOCTYPE oor:component-schema SYSTEM
"../../../../component-schema.dtd">
32 <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">
35 <desc>Contains the configuration schema for the table wizard
</desc>
38 <group oor:
name=
"TWizField">
40 <desc>Information on the database field properties
</desc>
42 <prop oor:
name=
"Index" oor:
type=
"xs:int">
44 <desc>the index of the field (start at
0, must be field-unique)
</desc>
47 <prop oor:
localized=
"true" oor:
name=
"Name" oor:
type=
"xs:string">
49 <desc>the name of the database field. ONLY ASCII CHARACTERS
</desc>
52 <prop oor:
localized=
"true" oor:
name=
"ShortName" oor:
type=
"xs:string">
54 <desc>the name of the database field. ONLY ASCII AND MAXIMUM
10 CHARACTERS
</desc>
57 <prop oor:
name=
"Type" oor:
type=
"xs:int">
59 <desc>the type of the database field.
</desc>
62 <prop oor:
name=
"PrimaryKey" oor:
type=
"xs:boolean">
64 <desc>indicates whether the database field is a primary key or not.
</desc>
67 <prop oor:
name=
"DefaultValue" oor:
type=
"xs:boolean">
69 <desc>defines the default value of the database field.
</desc>
72 <prop oor:
name=
"Precision" oor:
type=
"xs:int">
74 <desc>defines the number of decimal digits of the database field.
</desc>
77 <prop oor:
name=
"Scale" oor:
type=
"xs:int">
79 <desc>defines the number of decimal digits to right of the decimal point of the database field.
</desc>
83 <group oor:
name=
"TWizTable">
85 <desc>Information on the tables of the table wizard
</desc>
87 <prop oor:
name=
"Index" oor:
type=
"xs:int">
89 <desc>the index of the table (start at
0, must be table-unique)
</desc>
92 <prop oor:
localized=
"true" oor:
name=
"Name" oor:
type=
"xs:string">
94 <desc>the name of the database table. ONLY ASCII CHARACTERS
</desc>
97 <set oor:
name=
"Fields" oor:
node-type=
"TWizField">
99 <desc> the fields in this table
</desc>
103 <group oor:
name=
"TWizCategory">
105 <desc>Information on the categries of the table wizard
</desc>
107 <prop oor:
name=
"Index" oor:
type=
"xs:int">
109 <desc>the index of the category (start at
0, must be category-unique)
</desc>
112 <prop oor:
localized=
"true" oor:
name=
"Name" oor:
type=
"xs:string">
114 <desc>the name of the database field.
</desc>
117 <set oor:
name=
"Tables" oor:
node-type=
"TWizTable">
119 <desc> the tables in this category
</desc>
125 <set oor:
name=
"TableWizard" oor:
node-type=
"TWizCategory">
127 <desc>the set of categories.
</desc>
131 </oor:component-schema>