Customization of the Toolbars

  •  10-28-2005, 9:07 AM

    Customization of the Toolbars

    Hi,
    Can any one help me in customizing the tool bars in the CuteText Editor.

    I am able to run it without any errors, but I want only a few Icons to be visible on My tool bar. I have configured by using Default.config in Configuration\AutoConfigure directory.

    Does any more needed along with this? I am adding my Default.config file as below.

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
     <contextmenu>
      <item name="Editing" value="True"/>
      <item name="Format" value="True"/>
      <item name="Insert" value="True"/>
      <item name="InsertAdvanced" value="True"/>
    <!--K  <item name="InsertFiles" value="True"/>
      <item name="InsertForms" value="True"/>
      <item name="Relative" value="True"/>
      <item name="Tags" value="True"/>
      <item name="Verbs" value="True"/>  -->
     </contextmenu>
     <toolbars>
      <item type="g_start" />
     <!-- <item type="image" name="Save" postback="True" /> -->
      <item type="image" name="Print" />
      <item type="image" name="preview" imagename="bspreview"/>
      <item type="image" name="Find" />
      <item type="image" name="ToFullPage" imagename="fit" hotkey="F12" />
      <item type="image" name="FromFullPage" imagename="restore" hotkey="F12" /> 
      <!--
      <item type="image" name="EditInNewWindow" />
      -->
      <item type="image" name="CleanCode" imagename="cleanup" />
     <!--K <item type="image" name="netspell" imagename="spell" />  -->
      <item type="separator" />
      <item type="image" name="Cut" />
      <item type="image" name="Copy" />
      <item type="image" name="Paste" />
      <item type="image" name="PasteText" />
      <item type="image" name="PasteWord" />
      <item type="image" name="Delete" />
      <item type="separator" />
      <item type="image" name="Undo" />
      <item type="image" name="Redo" /> 
      <item type="separator" /> 
      <item type="image" name="Break"/>  
      <item type="image" name="InsertParagraph" imagename="Paragraph" />
      <item type="image" name="InsertPageBreak" imagename="InsertPageBreak" />
      <item type="separator" /> 
      <item type="image" name="InsertDate" imagename="insertdate" />
      <item type="image" name="InsertTime" imagename="timer" />
      <item type="separator" /> 
      <item type="image" name="InsertChars" imagename="specialchar" />
      <item type="g_end" />
     <!--K <item type="g_start" />  
      <item type="image" name="InsertEmotion" imagename="emotion" />  -->
      <!--<item type="image" name="InsertText" imagename="text" />-->
     <!--K <item type="image" name="InsertLayer" imagename="layer" />
      <item type="image" name="InsertFieldSet" imagename="groupbox" /> --> 
      <!--<item type="image" name="InsertFieldSet" imagename="text" />-->
     <!--K <item type="separator" />
      <item type="image" name="ImageGalleryByBrowsing" imagename="image" />
      <item type="image" name="InsertImage" imagename="eximage" />
      <item type="image" name="InsertFlash" imagename="flash" />
      <item type="image" name="InsertMedia" imagename="media" />
      <item type="image" name="InsertDocument" imagename="document" />
      <item type="image" name="InsertTemplate" imagename="template" /> 
      <item type="image" name="Help" />  -->
     <!--K <item type="g_end" /> 
      <item type="linebreak" /> -->
     <!--K <item type="g_start" />
      <item type="table" /> -->
      <!-- item type="image" name="InsertTable" imagename="instable" /-->
     <!--K <item type="image" name="InsertRowTop" imagename="insrow_t" />
      <item type="image" name="InsertRowBottom" imagename="insrow_b" />
      <item type="image" name="DeleteRow" imagename="delrow" />
      <item type="image" name="InsertColumnLeft" imagename="inscol_l" />
      <item type="image" name="InsertColumnRight" imagename="inscol_r" />
      <item type="image" name="DeleteColumn" imagename="delcol" />
      <item type="image" name="InsertCell" imagename="inscell" />
      <item type="image" name="DeleteCell" imagename="delcell" />
      <item type="image" name="EditRow" imagename="row" />
      <item type="image" name="EditCell" imagename="cell" />
      <item type="image" name="MergeRight" imagename="mrgcell_r" />
      <item type="image" name="MergeBottom" imagename="mrgcell_b" />
      <item type="image" name="HorSplitCell" imagename="spltcell_r" />
      <item type="image" name="VerSplitCell" imagename="spltcell_b" /> -->
      <!-- MergeCell/mrgcell SplitCell/spltcell -->
     <!--K <item type="g_end" />-->
      
     <!--K <item type="g_start" />
      <item type="image" name="InsertForm" imagename="Form" />
      <item type="image" name="InsertTextBox" imagename="textarea" />
      <item type="image" name="InsertInputText" imagename="textbox" />
      <item type="image" name="InsertInputPassword" imagename="passwordfield" />
      <item type="image" name="InsertInputhidden" imagename="hiddenfield" />
      <item type="image" name="InsertListBox" imagename="listbox" />
      <item type="image" name="InsertDropDown" imagename="dropdownbox" />
      <item type="image" name="InsertRadioBox" imagename="optionbutton" />
      <item type="image" name="InsertCheckBox" imagename="checkbox" />
      <item type="image" name="InsertInputImage" imagename="imagebutton" />
      <item type="image" name="InsertInputSubmit" imagename="submit" />
      <item type="image" name="InsertInputReset" imagename="Reset" />
      <item type="image" name="InsertInputButton" imagename="pushbutton" /> 
      <item type="g_end" /> -->
     <!--K <item type="g_start" /> 
      <item type="image" name="BlockDirLTR" imagename="left_to_right" />
      <item type="image" name="BlockDirRTL" imagename="right_to_left" />
      <item type="image" name="BoxFormatting" imagename="box" />
      <item type="g_end" /> -->
      <item type="linebreak" /> 
      
      <item type="g_start" />
      <item type="image" name="Bold" />
      <item type="image" name="Italic" />
      <item type="image" name="Underline" imagename="under" />
      <item type="separator" />
      <item type="image" name="JustifyLeft" imagename="left" />
      <item type="image" name="JustifyCenter" imagename="center" />
      <item type="image" name="JustifyRight" imagename="right" />
      <item type="image" name="JustifyFull" />
      <item type="image" name="JustifyNone" /> 
      <item type="image" name="RemoveFormat" imagename="unformat" />
      <item type="separator" />
      <item type="forecolor" />
      <item type="backcolor" />
      <item type="separator" />
      <item type="image" name="InsertOrderedList" imagename="numlist" />
      <item type="image" name="InsertUnorderedList" imagename="bullist" />
      <item type="image" name="Indent" />
      <item type="image" name="Outdent" />
      <item type="image" name="Superscript" />
      <item type="image" name="Subscript" />
      <item type="image" name="StrikeThrough" imagename="strike" />
      <item type="image" name="Ucase" />
      <item type="image" name="Lcase"/> 
      <item type="g_end" />
      <item type="linebreak" /> <!--K -->
     <!--K <item type="g_start" />
      <item type="image" name="InsertHorizontalRule" imagename="rule" />
      <item type="image" name="InsertLink" imagename="link" />
      <item type="image" name="ImageMap"/>
      <item type="image" name="Unlink" />
      <item type="image" name="InsertAnchor" imagename="anchor" />
      <item type="image" name="SelectAll" />
      <item type="image" name="SelectNone" />
      <item type="image" name="AbsolutePosition" imagename="abspos" />
      <item type="image" name="BringForward" imagename="forward" />
      <item type="image" name="BringBackward" imagename="backward" />
      <item type="image" name="ToggleBorder" imagename="borders" />
      <item type="image" name="DocumentPropertyPage" imagename="page" />
      <item type="g_end" />-->
      
      <item type="g_start" />
     <!--K <item type="dropdown" name="CssClass" width="80" RenderItemBorder="true" text="[[CssClass]]" command="CssClass" /> -->
     <!--K <item type="dropdown" name="CssStyle" width="50" RenderItemBorder="true" text="[[CssStyle]]" command="CssStyle" /> -->
      <item type="dropdown" name="FormatBlock" width="60" RenderItemBorder="true" text="Paragraph"
       command="FormatBlock" />
      <item type="dropdown" name="FontName" width="95" text="[[FontName]]" command="FontName" />
      <item type="dropdown" name="FontSize" width="40" text="[[FontSize]]" command="FontSize" />  
      <item type="g_end" />
      <item type="g_start" />
      <!-- default command is PasteHTML -->
      <!-- <item type="dropdown" name="Links" RenderItemBorder="true" text="[[Links]]" command="InsertLink" /> -->
     <!--K <item type="treedropdown" name="LinkTree" text="[[Links]]" width="50" command="InsertLink" /> -->
     <!--K <item type="dropdown" name="Codes" width="65" RenderItemBorder="true" text="[[Codes]]" /> -->
     <!--K <item type="dropdown" name="Images" width="50" RenderItemBorder="true" text="[[Images]]" /> -->
      <item type="dropdown" name="Zoom" text="[[Zoom]]" width="50" command="Zoom" />
      <item type="g_end" />
      <item type="holder" name="insertcustombutonhere" />
     </toolbars>
    </configuration>


    Thanks,
    Kumar.

     

     

    v
View Complete Thread