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 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="Embedding" oor:package="org.openoffice.Office" xml:lang="en-US">
26	<info>
27		<author>MAV</author>
28		<desc>Contains embedding related information, such as the list of available for embedding objects.</desc>
29	</info>
30	<templates>
31		<group oor:name="Object">
32			<info>
33                <author>MAV</author>
34				<desc>Describes an embedded object.</desc>
35			</info>
36			<!--The default must be written by the setup.-->
37			<prop oor:name="ObjectFactory" oor:type="xs:string">
38				<!-- UIHints: setup -->
39				<info>
40					<desc>Specifies the service name of the object's factory.</desc>
41				</info>
42			</prop>
43			<prop oor:name="ObjectDocumentServiceName" oor:type="xs:string">
44				<!-- UIHints: setup -->
45				<info>
46					<desc>Optional entry that specifies the service name of the document that is used by the object.</desc>
47				</info>
48			</prop>
49            <prop oor:name="ObjectMiscStatus" oor:type="xs:long">
50				<!-- UIHints: setup -->
51				<info>
52					<desc>Specifies the miscellaneous properties of the object.</desc>
53				</info>
54			</prop>
55			<prop oor:name="ObjectVerbs" oor:type="oor:string-list">
56				<!-- UIHints: setup -->
57				<info>
58					<desc>Specifies the list of verbs supported by the object.</desc>
59				</info>
60			</prop>
61			<prop oor:name="ObjectDocumentFilterName" oor:type="xs:string">
62				<!-- UIHints: setup -->
63				<info>
64					<desc>Optional entry that specifies the filter name that is used by the object.</desc>
65				</info>
66			</prop>
67		</group>
68		<group oor:name="Verb">
69			<info>
70                <author>MAV</author>
71				<desc>Describes possible verbs that can be supported by an embedded object.</desc>
72			</info>
73			<prop oor:name="VerbUIName" oor:localized="true" oor:type="xs:string">
74				<!-- UIHints: setup -->
75				<info>
76					<desc>Specifies the localized name of the verb that can be shown in the UI.</desc>
77				</info>
78			</prop>
79			<prop oor:name="VerbID" oor:type="xs:int">
80				<!-- UIHints: setup -->
81				<info>
82					<desc>Specifies the unique ID for the verb.</desc>
83				</info>
84			</prop>
85			<prop oor:name="VerbFlags" oor:type="xs:int">
86				<!-- UIHints: setup -->
87				<info>
88					<desc>Specifies the flags of the verb that can control verb's representation in UI.</desc>
89				</info>
90			</prop>
91			<prop oor:name="VerbAttributes" oor:type="xs:int">
92				<!-- UIHints: setup -->
93				<info>
94					<desc>Specifies the attributes of the verb.</desc>
95				</info>
96			</prop>
97		</group>
98		<group oor:name="ObjectName">
99			<info>
100                <author>MAV</author>
101				<desc>Provides object name that appeares in UI.</desc>
102			</info>
103			<prop oor:name="ObjectUIName" oor:localized="true" oor:type="xs:string">
104				<!-- UIHints: setup -->
105				<info>
106					<desc>Specifies the localized name of the object that can be shown in the UI.</desc>
107				</info>
108			</prop>
109			<prop oor:name="ClassID" oor:type="xs:string">
110				<!-- UIHints: setup -->
111				<info>
112					<desc>Class ID of the object.</desc>
113				</info>
114			</prop>
115		</group>
116	</templates>
117	<component>
118		<set oor:name="Objects" oor:node-type="Object">
119			<info>
120				<author>MAV</author>
121				<desc>Contains the explicitly registered embedded objects. ClassID is used as a name for entry.</desc>
122			</info>
123		</set>
124		<set oor:name="Verbs" oor:node-type="Verb">
125			<info>
126				<author>MAV</author>
127				<desc>Contains possible verbs for embedded objects.</desc>
128			</info>
129		</set>
130		<group oor:name="MimeTypeClassIDRelations" oor:extensible="true">
131			<info>
132				<author>MAV</author>
133				<desc>Contains convertion table from MimeType to ClassID. MimeType is used as a name for entry.</desc>
134			</info>
135		</group>
136		<group oor:name="UserFactories" oor:extensible="true">
137			<info>
138				<author>MAV</author>
139				<desc>List of additional factories that can be used to create embedded object.</desc>
140			</info>
141		</group>
142		<set oor:name="ObjectNames" oor:node-type="ObjectName">
143			<info>
144				<author>MAV</author>
145				<desc>List of object names to be used in GUI and ClassIDs.</desc>
146			</info>
147		</set>
148	</component>
149</oor:component-schema>
150
151