EditLive! 9 Documentation : Adding and Removing Menu or Toolbar Items Code

<?xml version="1.0" encoding="utf-8"?>
This file customizes and configures EditLive!.
TIP: this file can be dynamically generated using ASP, JSP or PHP to achieve runtime changes to settings
    <!-- Default content for the editor -->
            Default document header 
                Specify the base URL for the editor to download all relative images and style sheets
                <!--<base href="http://www.youserver.com/cms/" />-->
                Specify the character encoding for the editor. By default this should be UTF-8, which
                will encode all special characters as numeric entities in XHTML or as named entities in HTML 
                <!--<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />-->
                Uncomment the following line to load an external style sheet for the editor 
                <!-- <link rel="stylesheet" href="http://www.yourserver.com/style.css" type="text/css"/> -->
                Specify any embedded styles for the editor 
                You can remove or customize the styles below.
                <style type="text/css">
                    body {
                        font-family: Verdana, Arial;
                    h1 {
                       font-family: Tahoma, Arial;
                       font-size: 24pt;
                       font-weight: normal;
                       color: #003366;
                       border-bottom: solid 1px #003366;
                        font-size: 8pt;
                        text-align: center;
                    span.comment {
                        border: solid 1px #FFFF00;
                        background-color: #FFFFCC;
            Default document body. Add content here if you want this to be the default when the editor
            loads, although this is better done at runtime.
    Add your Ephox-provided license key here 
        	licensee="For Evaluation Only"
        	type="Evaluation License"
    Specify the location of the spell checker and thesaurus.
    If no spellcheck or thesaurus jars are specified, the location for these jars is automatically generated
    based on the specified DownloadDirectory load-time property and the user's locale.
    <spellCheck jar="../../redistributables/editlivejava/dictionaries/en_us_4_0.jar" useNotModified="false">
    <thesaurus jar="../../redistributables/editlivejava/thesaurus/thes_am_6_0.jar" useNotModified="false"/>
    Specify HTML filter settings 
    Specify settings for the Design (WYSIWYG) view(s) of the editor. Set tabPlacement="off" to disable the tabs.
       <!-- Define Custom Tags actions -->
       <!-- Define additional symbols for the symbol dialog here -->
    Specify settings for the Source (code) view of the editor 
    <sourceEditor showBodyOnly="false"/>
    Specify options for content that EditLive has detected has been pasted from Microsoft Word 
    <wordImport styleOption="merge_inline_styles"/>
    Specify options for content that EditLive has detected has been pasted from another HTML document 
    <htmlImport styleOption="merge_inline_styles"/>    
        Specify HTTP upload settings
            'base' is the base URL used to update the 'src' attributes of any local files in the HTML source
            'href' is your server-side script for handling multipart-formdata uploads from ELJ
            The httpUploadData element specifies any additional fields to post with the image data
            <httpUploadData name="hello" data="world"/>
        <images allowLocalImages="true" allowUserSpecified="true">
            The list of images which appear in the Insert Image dialog.
            TIP: Dynamically generate this from your database or repository to achieve an easy image library.
                <image name="EditLive!"
                    description="EditLive! Logo"
                    alt="EditLive! Logo"
                    title="EditLive!" />
                <image name="iMac" 
                    alt="iMac Computer" 
                    description="IMac Computer"
                    src="http://www.ephox.com/product/editliveforjava/demos/startcms/images/newimac.gif" />
                <image name="Apple Computer"
                    alt="Apple Computer" 
                    title="Apple Computer" 
                    description="Picture of a new Apple Computer" 
                    src="http://www.ephox.com/product/editliveforjava/demos/startcms/images/applecomp.jpg" />
                <image name="IBM Thinkpad" 
                    alt="IBM Thinkpad" 
                    title="IBM Thinkpad"
                    description="Picture of a new IBM Thinkpad"
                <type name="Macromedia Flash" type="application/x-shockwave-flash" extension="swf" allowCustomParams="true" urlParam="movie">
                    <param name="movie" />
                    <param name="quality" />
                    <param name="bgcolor" />
                <type name="QuickTime Movie" type="video/quicktime" extension="mov" allowCustomParams="true">
                    <param name="autohref" />
                    <param name="autoplay" />
                    <param name="bgcolor" />
                    <param name="cache" />
                    <param name="controller" />
                    <param name="correction" />
                    <param name="dontflattenwhensaving" />
                    <param name="enablejavascript" />
                    <param name="endtime" />
                    <param name="fov" />
                    <param name="height" />
                    <param name="href" />
                    <param name="kioskmode" />
                    <param name="loop" />
                    <param name="movieid" />
                    <param name="moviename" />
                    <param name="node" />
                    <param name="pan" />
                    <param name="playeveryframe" />
                    <param name="qtsrcchokespeed" />
                    <param name="scale" />
                    <param name="starttime" />
                    <param name="target" />
                    <param name="targetcache" />
                    <param name="tilt" />
                    <param name="urlsubstitute" />
                    <param name="volume" />
                    <type name="Window Media" type="application/x-mplayer2" extension="asf" allowCustomParams="true" urlParam="fileName">
                    <param name="animationAtStart" />
                    <param name="autoStart" />
                    <param name="showControls" />
                    <param name="clickToPlay" />
                    <param name="transparentAtStart" />
                <type name="Window Media (Streaming)" type="application/x-mplayer2" extension="asx" allowCustomParams="true" urlParam="fileName">
                    <param name="animationAtStart" />
                    <param name="autoStart" />
                    <param name="showControls" />
                    <param name="clickToPlay" />
                    <param name="transparentAtStart" />
                <type name="WAV Audio" type="application/x-mplayer2" extension="wav" allowCustomParams="true" />
                <type name="MP3 Audio" type="application/x-mplayer2" extension="mp3" allowCustomParams="true" />
                <type name="AVI" type="application/x-mplayer2" extension="avi" allowCustomParams="true" />
            <hyperlink href="http://www.ephox.com" description="Ephox Web site" />
            <hyperlink href="http://www.apple.com" description="Apple Computer Web site" />
            <hyperlink href="http://www.sun.com" description="Sun Microsystems Web site" />
            <mailtolink href="mailto:info@ephox.com" description="Ephox information" />
    Customize the EditLive! menus
    Note: you must display some sort of Ephox copyright statement within your application, only 
    remove the About menu (by setting showAboutMenu="false") if you have correctly attributed Ephox's 
    copyright in the appropriate place(s) within your application.
    <menuBar showAboutMenu="true">
        <menu name="ephox_filemenu">
            <menuItem name="New"/>
            <menuItem name="Open"/>
            <menuItem name="Save"/>
            <menuItem name="SaveAs"/>
            <menuItem name="Print"/>     
        <menu name="ephox_editmenu">
            <menuItem name="Undo"/>
            <menuItem name="Redo"/>
            <menuItem name="Cut"/>
            <menuItem name="Copy"/>
            <menuItem name="Paste"/>
            <menuItem name="PasteSpecial"/>
            <menuItem name="Select"/>
            <menuItem name="SelectAll"/>
            <menuItem name="Find"/>
        <menu name="ephox_viewmenu">
            <menuItemGroup name="SourceView"/>
            <menuItem name="Popout"/>  
            <menuItem name="showDocumentNavigator"/>
            <menuItem name="ParagraphMarker"/>        
        <menu name="ephox_insertmenu">
            <menuItem name="HLink"/>
            <menuItem name="Bookmark"/>
            <menuItem name="RemoveHyperlink" />
            <menuItem name="ImageServer"/> 
            <menuItem name="InsertObject"/>
            <menuItem name="Symbol"/>
            <menuItem name="HRule"/> 
            <menuItem name="DateTime"/>              
            <menuItem name="insertcomment"/>            
        <menu name="ephox_formatmenu">
            <submenu name="Style"/>
            <submenu name="Face"/>
            <submenu name="Size"/>
            <menuItem name="Bold"/>
            <menuItem name="Italic"/>
            <menuItem name="Underline"/>
            <menuItemGroup name="Align"/>
            <menuItemGroup name="List"/>
            <menuItem name="DecreaseIndent"/>
            <menuItem name="IncreaseIndent"/>
            <menuItem name="PropList"/>
            <menuItemGroup name="Script"/>
            <menuItem name="Strike"/>
            <menuItem name="RemoveFormatting"/>
            <menuItem name="FormatPainter"/>       
        <menu name="ephox_toolsmenu">
            <menuItem name="Spelling"/>
            <menuItem name="BackgroundSpellChecking"/>
            <menuItem name="thesaurus" />
            <menuItem name="Accessibility"/>
            <menuItem name="WordCount"/>        
        <menu name="Horizontal Rule">
            <menuItem name=HRule"/>
        <menu name="ephox_formmenu">
                   <menuItem name="InsForm"/>
                   <menuItem name="InsTextField"/>
                   <menuItem name="InsPasswordField"/>
                   <menuItem name="InsHiddenField"/>
                   <menuItem name="InsFileField"/>
                   <menuItem name="InsButtonField"/>
                   <menuItem name="InsSubmitField"/>
                   <menuItem name="InsResetField"/>
                   <menuItem name="InsCheckboxField"/>
                   <menuItem name="InsRadioField"/>
                   <menuItem name="InsTextAreaField"/>
                   <menuItem name="InsSelectField"/>
                   <menuItem name="InsImageField"/>     
        <menu name="ephox_trackchangesmenu">
                 <menuItem name="enabletrackchanges" /> 
                 <menuSeparator /> 
                 <menuItem name="acceptChange" /> 
                 <menuItem name="rejectChange" /> 
                 <menuSeparator /> 
                 <menuItem name="previousChange" /> 
                 <menuItem name="nextChange" /> 
                 <menuSeparator /> 
                 <menuItem name="acceptAllChanges" /> 
                 <menuItem name="rejectAllChanges" /> 
                  <menuSeparator /> 
                 <menuItem name="showTrackChangesDialog" /> 
                 <menuSeparator /> 
                 <menuItem name="setUsername" /> 
    Customize the EditLive! toolbars
        <toolbar name="Command">
            <toolbarButton name="Print"/>
            <toolbarButton name="Spelling"/>
            <toolbarButton name="Find"/>
            <toolbarButton name="Cut"/>
            <toolbarButton name="Copy"/>
            <toolbarButton name="Paste"/>
            <toolbarButton name="FormatPainter" /> 
            <toolbarButton name="Undo"/>
            <toolbarButton name="Redo"/> 
            <toolbarButton name="HLink"/>
            <toolbarButton name="ImageServer"/>        
            <toolbarButton name="insertequation"/>
            <toolbarButton name="enableTrackChanges"/>
            <toolbarButton name="acceptChange"/>
            <toolbarButton name="rejectchange"/>
            <toolbarButton name="previouschange"/>
            <toolbarButton name="nextchange"/>
       <toolbarButton name="ParagraphMarker"/>
            <toolbarButton name="Popout"/>
        <toolbar name="Format">
            Styles from any embeddedd or external stylesheets will also be automatically added to the Styles drop-down 
            <toolbarComboBox name="Style">
                <comboBoxItem name="P"/>
                <comboBoxItem name="H1"/>
                <comboBoxItem name="H2"/>
                <comboBoxItem name="H3"/>
                <comboBoxItem name="H4"/>
                <comboBoxItem name="H5"/>
                <comboBoxItem name="H6"/>
            You can remove the Font drop-down if you just want users to use Styles.
            The following fonts are part of the Microsoft Core Web Fonts and are available on at least Mac OS X and Windows
            To change the default font, change the embedded style sheet in the 'style' element above.
            <toolbarComboBox name="Face">
                <comboBoxItem name="Arial" text="Arial"/>
                <comboBoxItem name="Arial Black" text="Arial Black"/>
                <comboBoxItem name="Arial Narrow" text="Arial Narrow"/>
                <comboBoxItem name="Comic Sans MS" text="Comic Sans MS"/>
                <comboBoxItem name="Courier New" text="Courier New"/>
                <comboBoxItem name="Georgia" text="Georgia"/>
                <comboBoxItem name="Impact" text="Impact"/>
                <comboBoxItem name="Times New Roman" text="Times New Roman"/>
                <comboBoxItem name="Trebuchet MS" text="Trebuchet MS"/>
                <comboBoxItem name="Verdana" text="Verdana"/>
            Font Size drop-down 
            <toolbarComboBox name="Size">
                <comboBoxItem name="1" text="8pt"/>
                <comboBoxItem name="2" text="10pt"/>
                <comboBoxItem name="3" text="12pt"/>
                <comboBoxItem name="4" text="14pt"/>
                <comboBoxItem name="5" text="18pt"/>
                <comboBoxItem name="6" text="24pt"/>
                <comboBoxItem name="7" text="36pt"/>
            <toolbarButton name="Bold"/>
            <toolbarButton name="Italic"/>
            <toolbarButton name="Underline"/>
            <toolbarButton name="HRule"/>
            <toolbarButtonGroup name="Align"/>
            <toolbarButtonGroup name="List"/>
            <toolbarButton name="DecreaseIndent"/>
            <toolbarButton name="IncreaseIndent"/>
            <toolbarButton name="HighlightColor"/>
            <toolbarButton name="Color"/>
    Customize the EditLive! shortcut menu
            <shrtMenuItem name="Undo"/>
            <shrtMenuItem name="Redo"/>
            <shrtMenuItem name="Cut"/>
            <shrtMenuItem name="Copy"/>
            <shrtMenuItem name="Paste"/>
            <shrtMenuItem name="Select"/>   
            <shrtMenuItem name="acceptChange"/>
            <shrtMenuItem name="rejectChange"/>
            <shrtMenuItem name="nextchange"/>
            <shrtMenuItem name="previouschange"/>
            <shrtMenuItem name="Hyperlink"/>
            <shrtMenuItem name="RemoveHyperlink"/>
            <shrtMenuItem name="PropImage"/>
            <shrtMenuItem name="PropObject"/>
            <shrtMenuItem name="PropList"/>
            <shrtMenuItem name="PropHR"/>
            <shrtMenuItem name="Split"/>
            <shrtMenuItem name="Merge"/>
            <shrtMenuItem name="tableautofit"/>
            <shrtMenuItem name="PropTable"/>
            <shrtMenuItem name="PropRow"/>
            <shrtMenuItem name="PropCol"/>
            <shrtMenuItem name="PropCell"/>
                   <shrtMenuItem name="synonyms"/>
            <shrtMenuItem name="EditTag"/>