<?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-1999 Netscape Communications Corporation. All
   - Rights Reserved.
   - 
   - Contributor(s): 
  -->

<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>

<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?> 
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 

<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorListProperties.dtd">
<window class="dialog" title="&windowTitle.label;"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    xmlns:html="http://www.w3.org/1999/xhtml"
    onload = "Startup()"
    align="vertical">

  <!-- Methods common to all editor dialogs -->
  <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  <script type="application/x-javascript" src="chrome://editor/content/EdListProps.js"/>
  <script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />

  <keyset id="dialogKeys"/>
  <broadcaster id="args" value=""/>
  <spring id="location" offsetY="50" persist="offsetX offsetY"/>

  <titledbox orient="vertical" flex="1"><label value="&ListType.label;"/>
    <menulist id="ListType" oncommand="SelectListType()">
      <menupopup>
        <menuitem label="&none.value;"/>
        <menuitem label="&bulletList.value;"/>
        <menuitem label="&numberList.value;"/>
        <menuitem label="&definitionList.value;"/>
      </menupopup>
    </menulist>
    <radiogroup id="RadioGroup" orient="vertical" index="0" persist="index">
      <radio group="RadioGroup" id="ChangeAll"      label="&changeEntireListRadio.label;"/>
      <radio group="RadioGroup" id="ChangeSelected" label="&changeSelectedRadio.label;"/>
    </radiogroup>
  </titledbox>
  <spring class="spacer"/>

  <!-- message text and list items are set in JS 
       text value should be identical to string with id=BulletStyle in editor.properties 
  -->
  <titledbox orient="vertical" flex="1"><label id="BulletStyleLabel" value="&bulletStyle.label;"/>
    <menulist class="MinWidth10em" id="BulletStyle" oncommand="SelectBulletStyle()"/>
    <spring class="spacer"/>
    <box>
      <text class="label" id="StartingNumberLabel" value="&startingNumber.label;"/>
      <textbox class="narrow" id="StartingNumber" oninput="forceInteger(this.id)"/>
      <spring/>
    </box>
    <html id="StartExample" class="wrap" flex="1" style="width: 1em">&startingHelp.label;</html>
  </titledbox>
  <!-- from EdDialogOverlay -->
  <box id="AdvancedEdit"/>
  <!-- from global dialogOverlay -->
  <box id="okCancelButtons"/> 

</window>
