﻿<?xml version="1.0" encoding="UTF-8"?>

<!-- 更新履歴 -->
<!-- 12/11/2003 Click to DVD ver.2 Disc用プロジェクトの定義. -->
<!--     -->

<!-- DVD Project definition -->
<!ELEMENT ClickToDvdOnDiscProject (ThemeInfomation, DvdInformation, CutList*, StillList*, Dvd?, AppInfo?) >
<!ATTLIST ClickToDvdOnDiscProject 
	version 	CDATA	#FIXED	"2.0"
>

<!-- ThemeInfomation #################################################################################### -->
<!-- DVD Theme Info. -->
<!-- corresponded to Theme attributes. -->
<!ELEMENT ThemeInfomation EMPTY >
<!ATTLIST ThemeInfomation
	active_category_guid	CDATA	#IMPLIED
	active_theme_guid	CDATA	#REQUIRED
>

<!-- DvdInformation ##################################################################################### -->
<!-- DVD Management Info. -->
<!-- corresponded to DvdStructManager attributes. -->
<!-- content_title : DVD title                    -->
<!ELEMENT DvdInformation EMPTY >
<!ATTLIST DvdInformation
	content_title			CDATA	#REQUIRED
	should_create_movie_title	CDATA	#REQUIRED
	should_create_still_title	CDATA	#REQUIRED
	should_create_slide_show	CDATA	#REQUIRED
	should_copy_original_image	CDATA	#REQUIRED
	latest_creator_info
	 	(Tv | TvDirect | Music | Generic | Unknown) "Unknown"
>

<!-- CutList ############################################################################################ -->
<!-- CutList Info. -->
<!-- corresponded to movie title attributes. -->
<!-- audio_channel : "2":stereo, "6":5.1 -->
<!ELEMENT CutList　(Cut*) >
<!ATTLIST CutList
	audio_channel 	(2 | 6)	"2"
>

<!-- Cut Info. -->
<!-- corresponded to movie chapter attributes. -->
<!ELEMENT Cut (MovieUnit+, TransitionUnit?, SubTitle?) >
<!ATTLIST Cut
	display_on_menu	(on | off)	"on"
	caption_title		CDATA	#REQUIRED
	in_point			CDATA	#REQUIRED
	recording_date_time CDATA	#REQUIRED 	
	thumbnail_point			CDATA	#IMPLIED
>

<!-- MovieUnit Info. -->
<!-- corresponded to movie content attributes. -->
<!ELEMENT MovieUnit (Video, Audio) >
<!ATTLIST MovieUnit
	bilingual	(true | false)	"false"
>


<!-- TransitionUnit Info. -->
<!-- Video: converted transition video source. -->
<!ELEMENT TransitionUnit(TransitionSourceList?, Video?, Audio?) >
<!ATTLIST TransitionUnit
	plugin_guid			CDATA	#REQUIRED
	transition_guid		CDATA	#REQUIRED
>

<!-- TransitionSourceList Info. -->
<!-- source list for transition movie. -->
<!ELEMENT TransitionSourceList(Video*, Picture*) >


<!-- Video Info. -->
<!-- corresponded to video attributes in chapter. -->
<!-- mpeg_conversion_state : "1"= require regurlation. -->
<!ELEMENT Video EMPTY >
<!ATTLIST Video
	thumbnail_source		CDATA	#REQUIRED
	dvd_title_index			CDATA	#REQUIRED
	dvd_title_in_point		CDATA	#REQUIRED
	dvd_title_out_point		CDATA	#REQUIRED
	mpeg_conversion_state		CDATA	#IMPLIED
>
<!-- Picture Info. -->
<!-- corresponded to photo file. -->
<!ELEMENT Picture EMPTY >
<!ATTLIST Picture
	source				CDATA	#REQUIRED
	in_point			CDATA	"0"
	out_point			CDATA	"0"
>


<!-- Audio Info. -->
<!-- corresponded to audio attributes　in chapter. -->
<!ELEMENT Audio EMPTY >
<!ATTLIST Audio
	dvd_title_index			CDATA	#REQUIRED
	dvd_title_in_point		CDATA	#REQUIRED
	dvd_title_out_point		CDATA	#REQUIRED
>

<!-- SubTitle Info. -->
<!ELEMENT SubTitle  (Text) >
<!ATTLIST SubTitle
	in_point		CDATA	#REQUIRED
	out_point		CDATA	#REQUIRED
	language_code   CDATA	#IMPLIED
>

<!-- StillList ########################################################################################## -->
<!-- StillList Info. -->
<!ELEMENT StillList  (SlideShowInformation?, Still+) >

<!-- SlideShow Info. -->
<!ELEMENT SlideShowInformation (Audio*, TransitionUnit+) >
<!ATTLIST SlideShowInformation
	calculate_mode (by_time | by_bgm) "by_time" 
	play_time			CDATA		"3000"
	use_bgm 			(on | off)	"on"
>

<!-- Still Info. -->
<!-- source :
<!ELEMENT Still EMPTY >
<!ATTLIST Still
	thumbnail_source	CDATA	#REQUIRED
	dvd_title_index		CDATA	#REQUIRED
	dvd_chapter_index	CDATA	#REQUIRED
	display_on_menu	(on | off)	"on"
	caption_title		CDATA	#REQUIRED
	photo_date_time		CDATA	#REQUIRED
	original_source		CDATA	#IMPLIDED
	angle			CDATA	"0"	
>

<!-- Dvd ################################################################################################ -->
<!-- DVD Info. -->
<!-- corresponded to DVD-Video attributes. -->
<!-- TransitionUnit : FirstPlay でShake, GreatMenu を使用する場合指定 -->
<!-- MovieUnit : FirstPlay で通常のの動画を使用する場合指定 -->
<!-- great_menu_background : GreatMenu の時に使用するメニュー素材の取得場所 -->
<!-- great_menu_index : GreatMenu の時に使用するメニュー背景 -->
<!ELEMENT Dvd (MenuGroup+, TransitionUnit?, MovieUnit?) >
<!ATTLIST Dvd 
	menu_aspect_ratio	(normal | wide)		"normal"
	language_code		CDATA			#REQUIRED
	system_information	( ntsc | pal )		"ntsc"
	top_menu_start		(on | off)		"on"
	great_menu_background	(cut_list | still_list)	#IMPLIED
	great_menu_index	CDATA			#IMPLIED
>

<!-- MenuGroup Info. -->
<!-- corresponded to menu-type attributes. -->
<!-- heading_text : メニューツリー表示用 -->
<!ELEMENT MenuGroup (Audio?, Menu+) >
<!ATTLIST MenuGroup
	menu_type	(top | chapter | still | chapter_group | still_group)	#REQUIRED
	active_menu_index	CDATA	"0"
	heading_text		CDATA	#IMPLIED
	use_bgm 			(on | off)	"on"
>

<!-- Menu Info. -->
<!-- heading_text : メニューツリー表示用 -->
<!ELEMENT Menu (Text, Picture?, Video?, Audio?, Button+, NaviButton?) >
<!ATTLIST Menu
	heading_text		CDATA	#IMPLIED
>

<!-- Button Info. -->
<!ELEMENT Button (Text, LinkInfo?) >

<!-- NaviButton Info. -->
<!-- Picture : フレームの画像を指定 -->
<!ELEMENT NaviButton (NaviLinkInfo) >
<!ATTLIST NaviButton
	navi_type (top | next | prev)	"top"
>


<!-- LinkInfo Info. -->
<!-- TransitionUnit or MovieUnit : GreatMenu を使用する場合指定 -->
<!-- menu_type : リンク先メニューの情報。"no": メニューリンクではない場合使用 -->
<!-- link_content_type : 動画、静止画へのリンクの場合使用 -->
<!-- list_index : 所属するリストのインデックス。先頭は 0. -->
<!-- content_index : コンテンツのインデックス。先頭は 0. -->
<!ELEMENT LinkInfo (TransitionUnit?, MovieUnit?) >
<!ATTLIST LinkInfo
	link_content_type (chapter | chapter_list | still | still_list | slideshow)	#IMPLIED
	list_index		CDATA	"0"
	content_index		CDATA	"0"
>

<!-- NaviLinkInfo Info. -->
<!-- TransitionUnit or MovieUnit : GreatMenu を使用する場合指定 -->
<!-- menu_type : リンク先メニューの情報。"no": メニューリンクではない場合使用 -->
<!-- content_type : 動画、静止画へのリンクの場合使用 -->
<!-- group_index: 所属するメニューグループのインデックス。先頭は 0. -->
<!-- menu_index: メニューのインデックス。先頭は 0. -->
<!ELEMENT NaviLinkInfo (TransitionUnit?, MovieUnit?) >
<!ATTLIST NaviLinkInfo 
	link_menu_type　(top | chapter | still | chapter_group | still_group)	#REQUIRED
	group_index		CDATA	"0"
	menu_index		CDATA	"0"
>

<!-- Text !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- テーマテンプレートと同じものを使用 -->
<!-- テキスト属性の定義 -->
<!ELEMENT Text (Font, Style, Align, Edge?, Shade?, Gradation?)>
<!ATTLIST Text
		string	CDATA	#REQUIRED
		x		CDATA	#IMPLIED
		y		CDATA	#IMPLIED
		width	CDATA	#IMPLIED
		height	CDATA	#IMPLIED
>

<!-- テキスト属性（フォント）の定義 -->
<!ELEMENT Font EMPTY>
<!ATTLIST Font
		r	CDATA	#REQUIRED
		g	CDATA	#REQUIRED
		b	CDATA	#REQUIRED
		alpha		CDATA	"255"
		auto_size	(on | off)	#REQUIRED
		font_size	CDATA		#REQUIRED
		single_byte_font_face	CDATA	#REQUIRED
		multi_byte_font_face	CDATA	#REQUIRED
>

<!-- テキスト属性（スタイル）の定義 -->
<!ELEMENT Style EMPTY>
<!ATTLIST Style
		bold	(on | off)	"off"
		italic	(on | off)	"off"
>

<!-- テキスト属性（水平/垂直配置）の定義 -->
<!ELEMENT Align EMPTY>
<!ATTLIST Align
		horiz_align		(left | center | right)	"center"
		vert_align		(top | middle | bottom)	"middle"
>

<!-- テキスト属性（縁取り）の定義。省略可能 -->
<!ELEMENT Edge EMPTY>
<!ATTLIST Edge
		width	CDATA	"10"
		r		CDATA	"0"
		g		CDATA	"0"
		b		CDATA	"0"
		alpha		CDATA	"255"
>

<!-- テキスト属性（影）の定義。省略可能 -->
<!ELEMENT Shade EMPTY>
<!ATTLIST Shade
		shade		(on | off)	"off"
		r		CDATA	"255"
		g		CDATA	"0"
		b		CDATA	"0"
		alpha		CDATA	"255"
		blur		CDATA	"50"
		offset_x	CDATA	"100"
		offset_y	CDATA	"100"
>

<!-- テキスト属性（グラデーション）の定義。省略可能 -->
<!ELEMENT Gradation  (InitialColor, FinalColor)>
<!ATTLIST Gradation
		gradation_type	(left_right | up_down | circle | solid)		#REQUIRED
>

<!-- グラデーション開始色定義(RGB) -->
<!ELEMENT InitialColor (Color)>

<!-- グラデーション終了色定義(RGB) -->
<!ELEMENT FinalColor (Color)>

<!-- RGBによるCOLORREF定義16個            -->
<!ELEMENT Color EMPTY>
<!ATTLIST Color
		r	CDATA	#REQUIRED
		g	CDATA	#REQUIRED
		b	CDATA	#REQUIRED
		alpha		CDATA	"255"
>

<!-- AppInfo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- AppInfo  -->
<!ELEMENT AppInfo EMPTY >
<!ATTLIST AppInfo
	navigate_area_name	CDATA	#REQUIRED
>