<?xml version="1.0"?> 
<!--
   The contents of this file are subject to the Netscape Public
   License Version 1.1 (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.mozilla.org/NPL/
    
   Software distributed under the License is distributed on an "AS
   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
   implied. See the License for the specific language governing
   rights and limitations under the License.
    
   The Original Code is Mozilla Communicator client code, released
   March 31, 1998.
   
   The Initial Developer of the Original Code is Netscape
   Communications Corporation. Portions created by Netscape are
   Copyright (C) 1998-2000 Netscape Communications Corporation. All
   Rights Reserved.
   
   Contributor(s): 
  -->

<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>

<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-composer.dtd" >

<window xmlns:html="http://www.w3.org/TR/REC-html40"
		    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        class="color-dialog"
        orient="vertical" 
  		  onload="parent.initPanel('chrome://communicator/content/pref/pref-composer.xul');">

  <script language="JavaScript">
  <![CDATA[
    _elementIDs = ["maintainTableStructure", "tableDeleteKey", "preserveFormatting"];
  ]]>
  </script>        
        
  <box class="box-smallheader" title="&lHeader;"/>

  <titledbox orient="vertical" autostretch="never">
    <title><text value="&tableEditing.label;"/></title>
  
      <checkbox 
        value     = "&maintainTableStructure.label;"
        id        = "maintainTableStructure" 
        accesskey = "&maintainStructure.accesskey;"
        pref      = "true"
        preftype  = "bool"
        prefstring= "editor.table.maintain_structure"
        prefattribute="checked"
      />
              
    <separator/>
              
    <box autostretch="never" valign="top">
      <text class="label"
        value="&pressingTheDeleteKey.label;" 
        for="tableDeleteKey" 
      />
      <radiogroup orient="vertical" autostretch="never"
          id       = "tableDeleteKey"
          pref     = "true"
          preftype = "int"
          prefstring="editor.table.delete_key"
          prefattribute="data">
        <radio group="tableDeleteKey" data="0" value="&deleteCell.label;" accesskey="&deleteCell.accesskey;"/>
        <radio group="tableDeleteKey" data="1" value="&deleteContent.label;" accesskey="&deleteContent.accesskey;" />
      </radiogroup>
    </box>
  </titledbox>

<!-- Take out Auto-Save; not supported at this time
	<titledbox orient="vertical">
    <title><text value="&saving;"/></title>
    <box align="horizontal" valign="middle">
      <checkbox 
        pref       = "true" 
        preftype   = "bool" 
        prefstring = "editor.auto_save"
        value      = "&AutoSaveCheck;"
        name       = "autosave" 
      />
      <textfield 
        name="time" 
        type="text" 
        size="3" 
        value="5" 
        pref="true" 
        preftype="int" 
        prefindex="5" 
        prefstring="editor.auto_save_delay"
      />
      <text value="&minText;" />
    </box>
	</titledbox>
  -->

	<titledbox orient="vertical">
    <title><text value="&savingFiles.title;"/></title>
    <box align="horizontal" valign="middle">
      <checkbox 
        value      = "&preserveExistingFormatting;"
        id         = "preserveFormatting" 
        pref       = "true" 
        preftype   = "bool" 
        prefstring = "editor.prettyprint_html"
        prefattribute="checked"
      />
    </box>
	</titledbox>

<!-- External Editors are not supported at this time
		<titledbox orient="vertical">
					<title><text value="&exterLegend.label;"/></title> 
    <box>
      <checkbox 
        name  = "htmlSourceEditorCheckbox"
        value = "&htmlSource;"
        pref       = "true" 
        preftype   = "int" 
        prefindex  = "0" 
        prefstring = "editor.use_html_editor"
      />
      <textfield 
        name = "&chooseButton.label;"
        pref       = "true" 
        preftype   = "string" 
        prefstring = "editor.html_editor"
      />
      <button 
        class = "dialog" 
        name  = ""
        value = "&chooseButton.label;"
      />
    </box>

    <box>
      <checkbox 
        name  = "htmlImageEditorCheckbox" 
        value = "&imageeditor;"
        pref       = "true" 
        preftype   = "int" 
        prefindex  = "0" 
        prefstring ="editor.use_image_editor"
      />

      <textfield 
        name="chooseButton.label" 
        pref       = "true" 
        preftype   = "string" 
        prefstring = "editor.image_editor"
      />
      <button class="dialog" value="&chooseButton.label;" />
    </box> 

  </titledbox>
  -->

  
</window>

