<!--
	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
	
	Unless required by applicable law or agreed to in writing,
	software distributed under the License is distributed on an
	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
	KIND, either express or implied.  See the License for the
	specific language governing permissions and limitations
	under the License.
-->
<section id="tasks_merge_schemas">
	<title>Merge schemas</title>
	<para>
		You could merge schemas, object classes and attribute types from one
		schema project to another using the Merge Schemas wizard.
		To start the wizard choose
		<emphasis role="strong">
			Import >
			<imageobject>
				<imagedata scale="50"
					fileref="images/icons_schemas-import.gif" format="GIF" />
			</imageobject>
			Merge Schemas from other Projects
		</emphasis>
		from the context menu of the Schema view.
	</para>
	<para>The following wizard appears:</para>
	<para>
		<screenshot>
			<mediaobject>
				<imageobject>
					<imagedata scale="50"
						fileref="images/tasks_merge-schemas-wizard_page-1.png"
						format="PNG" />
				</imageobject>
			</mediaobject>
		</screenshot>
	</para>
	<para>
		Check each schema, object class and/or attribute type from to merge to the current
		schema project and click on the	<emphasis role="strong">Next</emphasis>	button.
	</para>
	<para>The second wizard page appears:</para>
	<para>
		<screenshot>
			<mediaobject>
				<imageobject>
					<imagedata scale="50"
						fileref="images/tasks_merge-schemas-wizard_page-2.png"
						format="PNG" />
				</imageobject>
			</mediaobject>
		</screenshot>
	</para>
	<para>
		Select merge options.
		<informaltable frame="all">
			<tgroup cols="3">
				<colspec colname="Option" colwidth="1*" />
				<colspec colname="Description" colwidth="2*" />
				<colspec colname="Default" colwidth="1*" />
				<thead>
					<row>
						<entry>Option</entry>
						<entry>Description</entry>
						<entry>Default</entry>
					</row>
				</thead>
				<tbody>
					<row>
						<entry>Replace unknown syntax</entry>
						<entry>
							If checked, unknown syntaxes are replaced by Directory String syntax, 
							and appropriate matching rules (caseIgnoreMatch, 
							caseIgnoreSubstringsMatch) are set.
						</entry>
						<entry>checked</entry>
					</row>
					<row>
						<entry>Merge dependencies</entry>
						<entry>
							If checked, dependent schema elements (super classes, 
							super attribute types, may and must attributes) are also merged.
						</entry>
						<entry>checked</entry>
					</row>
					<row>
						<entry>Merge inherited attributes</entry>
						<entry>
							If checked, must and may attributes that are not defined 
							in the class hierarchy in the target schema are added 
							to the merged object class.
						</entry>
						<entry>checked</entry>
					</row>
				</tbody>
			</tgroup>
		</informaltable>
	</para>
	
</section>
