<!ENTITY % uiconfig "uiconfig">

	<!ELEMENT uiconfig (actions?, menubar?, toolbar?, contextmenu?)>
	<!ELEMENT actions (action|actionurl|actionjs|dragndropaction|pluginaction)*>
	<!ELEMENT action (shortcut*)>
	<!ELEMENT actionjs (shortcut*,parameterjs*)>
	<!ELEMENT actionurl (shortcut?)>
	<!ELEMENT shortcut EMPTY>
	<!ELEMENT parameterjs EMPTY>
	<!ELEMENT dragndropaction EMPTY>
	<!ELEMENT pluginaction EMPTY>
	<!ATTLIST actions defaultshortcuts (disabled|enabled) "enabled">
	<!ATTLIST uiconfig iconstyle (classic|modern) "classic">
	<!ATTLIST shortcut id CDATA #REQUIRED
	 default (true|false) "false">
	<!ATTLIST action id ID #REQUIRED
	 icon CDATA #IMPLIED
	 enabled (true|false) "true"
	 defaultshortcuts (enabled|disabled) "enabled"
	 enabledinsourceview (true|false) #IMPLIED
	 enabledinreadonlymode (true|false) #IMPLIED	 
	 class CDATA #IMPLIED
	 alwaysenabledinwysiwyg (true|false) "false" 
	 dropdownicon CDATA #IMPLIED>
	<!ATTLIST actionjs id ID  #REQUIRED
	 icon CDATA #IMPLIED
	 enabled (true|false) "true"
	 enabledinsourceview (true|false) #IMPLIED	
	 enabledinreadonlymode (true|false) #IMPLIED	 	
	 alwaysenabledinwysiwyg (true|false) "false" 
	 jsfunction CDATA #REQUIRED>
	<!ATTLIST actionurl id ID #REQUIRED
	 icon CDATA #IMPLIED
	 target CDATA #IMPLIED
	 enabled (true|false) "true"
	 enabledinsourceview (true|false) #IMPLIED	
	 enabledinreadonlymode (true|false) #IMPLIED
	 alwaysenabledinwysiwyg (true|false) "false" 	 	 
	 url CDATA #REQUIRED>
	<!ATTLIST parameterjs parameter CDATA #REQUIRED>
	<!ATTLIST dragndropaction actionid CDATA #REQUIRED>
	<!ATTLIST pluginaction id CDATA #REQUIRED
	 icon CDATA #IMPLIED
	 enabled (true|false) "true"
	 defaultshortcuts (enabled|disabled) "enabled"
	 enabledinsourceview (true|false) #IMPLIED
	 enabledinreadonlymode (true|false) #IMPLIED	 
	 class CDATA #REQUIRED
	 elementname CDATA #REQUIRED>
	<!ELEMENT contextmenu (menuitem |menu|separator )*>
	<!ELEMENT menubar (menu+)>
	<!ELEMENT menu (menu|menuitem|separator )*>
	<!ATTLIST menu localeid CDATA #IMPLIED>
	<!ELEMENT menuitem EMPTY>
	<!ATTLIST menuitem localeid CDATA #IMPLIED
	 actionid CDATA #REQUIRED>
	<!ELEMENT toolbar (button|choice|buttongroup|separator|endrow|customchoice)*>
	<!ATTLIST toolbar collapse (true|false) "false">
	<!ATTLIST toolbar classicbuttonstyle (true|false) "false">
	<!ELEMENT button EMPTY>
	<!ATTLIST button localeid CDATA #IMPLIED
	 actionid CDATA #REQUIRED>
	<!ELEMENT buttongroup (subbutton+)>
	<!ATTLIST buttongroup localeid CDATA #IMPLIED
	 actionid CDATA #REQUIRED>
	<!ELEMENT subbutton EMPTY>
	<!ATTLIST subbutton localeid CDATA #IMPLIED
	 actionid CDATA #REQUIRED
	 enabled (true|false) "true">
	<!ELEMENT choice EMPTY>
	<!ATTLIST choice localeid CDATA #IMPLIED
	 actionid (FONTTYPE|FONTSIZE|STYLESHEET|PARAGRAPHSTYLE|ADVANCEDSTYLESHEET) #REQUIRED
	 width CDATA #IMPLIED
	 fontsize CDATA #IMPLIED
	 enabled (true|false) "true">
	<!ELEMENT customchoice (customchoiceitem)*>
	<!ATTLIST customchoice localeid CDATA #REQUIRED
	 width CDATA #IMPLIED
	 fontsize CDATA #IMPLIED
	 enabled (true|false) "true">
	<!ELEMENT customchoiceitem EMPTY>
	<!ATTLIST customchoiceitem actionid CDATA #REQUIRED>
	<!ATTLIST customchoiceitem localeid CDATA #IMPLIED>
	<!ELEMENT endrow  EMPTY>
	<!ELEMENT separator  EMPTY>
