home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / comm.jar / content / editor / pref-composer.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-07-09  |  6.4 KB  |  203 lines

  1. <?xml version="1.0"?> 
  2. <!--
  3.    The contents of this file are subject to the Netscape Public
  4.    License Version 1.1 (the "License"); you may not use this file
  5.    except in compliance with the License. You may obtain a copy of
  6.    the License at http://www.mozilla.org/NPL/
  7.     
  8.    Software distributed under the License is distributed on an "AS
  9.    IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    implied. See the License for the specific language governing
  11.    rights and limitations under the License.
  12.     
  13.    The Original Code is Mozilla Communicator client code, released
  14.    March 31, 1998.
  15.    
  16.    The Initial Developer of the Original Code is Netscape
  17.    Communications Corporation. Portions created by Netscape are
  18.    Copyright (C) 1998-2000 Netscape Communications Corporation. All
  19.    Rights Reserved.
  20.    
  21.    Contributor(s): 
  22.      Ryan Cassin (rcassin@supernova.org)
  23.   -->
  24.  
  25. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  26. <?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
  27. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  28.  
  29. <!DOCTYPE window SYSTEM "chrome://editor/locale/pref-composer.dtd" >
  30.  
  31. <window xmlns:html="http://www.w3.org/1999/xhtml"
  32.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  33.         class="color-dialog"
  34.         orient="vertical" 
  35.         onload="parent.initPanel('chrome://editor/content/pref-composer.xul');">
  36.  
  37.   <script type="application/x-javascript">
  38.   <!-- Add "shouldAutoSave", "autoSaveAmount" to _elementIDs when implemented -->
  39.   <![CDATA[
  40.     var _elementIDs = ["maintainTableStructure", "tableDeleteKey", "preserveFormatting", "recentFiles"];
  41.   ]]>
  42.   </script>        
  43.         
  44.   <popupset id="aTooltipSet" />
  45.  
  46.   <hbox class="box-smallheader" title="&lHeader;"/>
  47.  
  48.   <!-- Recent files menu -->
  49.   <groupbox orient="vertical">
  50.     <label value="&recentFiles.title;"/>
  51.     <hbox autostretch="never" valign="middle">
  52.       <text value="&documentsInMenu;"/>
  53.       <textbox
  54.         id="recentFiles"
  55.         name="recent string" 
  56.         type="text" 
  57.         size="3" 
  58.         value="10" 
  59.         pref="true" 
  60.         preftype="int" 
  61.         prefstring="editor.history.url_maximum"
  62.         prefattribute="value"
  63.       />
  64.     </hbox>
  65.   </groupbox>
  66.  
  67. <!-- HTML formatting on output -->
  68.   <groupbox orient="vertical">
  69.     <label value="&savingFiles.title;"/>
  70.     <spring class="spacer"/>
  71.     <radiogroup orient="vertical" autostretch="never"
  72.       id            = "preserveFormatting"
  73.       pref          = "true"
  74.       preftype      = "bool"
  75.       prefstring    = "editor.prettyprint"
  76.       prefattribute = "value">
  77.       <radio 
  78.         group      = "preserveFormatting"
  79.         value       = "false"
  80.         label      = "&preserveExistingFormatting;" 
  81.         accesskey  = "&preserveExistingFormatting.accesskey;"
  82.         tooltip    = "aTooltip"
  83.         tooltiptext= "&preserveExistingFormatting.tooltip;"
  84.       />
  85.       <radio 
  86.         group      = "preserveFormatting" 
  87.         value       = "true"
  88.         label      = "&reformat.label;" 
  89.         accesskey  = "&reformat.accesskey;"
  90.         tooltip    = "aTooltip"
  91.         tooltiptext= "&reformat.tooltip;"
  92.       />
  93.     </radiogroup>
  94.   </groupbox>
  95.   
  96.   <groupbox orient="vertical" autostretch="never">
  97.     <label value="&tableEditing.label;"/>
  98.     <checkbox 
  99.       label     = "&maintainTableStructure.label;"
  100.       id        = "maintainTableStructure" 
  101.       accesskey = "&maintainStructure.accesskey;"
  102.       tooltip   = "aTooltip" tooltiptext="&maintainTableStructure.tooltip;"
  103.       pref      = "true"
  104.       preftype  = "bool"
  105.       prefstring= "editor.table.maintain_structure"
  106.       prefattribute="checked"
  107.     />
  108.     <separator class = "thin"/>
  109.     <hbox autostretch="never" valign="top">
  110.       <text class="label"
  111.         value="&pressingTheDeleteKey.label;" 
  112.         tooltip = "aTooltip" tooltiptext="&pressingTheDeleteKey.tooltip;"
  113.         for="tableDeleteKey" 
  114.       />
  115.       <radiogroup orient="vertical" autostretch="never"
  116.           id       = "tableDeleteKey"
  117.           pref     = "true"
  118.           preftype = "int"
  119.           prefstring="editor.table.delete_key"
  120.           prefattribute="value">
  121.         <radio group="tableDeleteKey" value="0" label="&deleteCell.label;" accesskey="&deleteCell.accesskey;"/>
  122.         <radio group="tableDeleteKey" value="1" label="&deleteContent.label;" accesskey="&deleteContent.accesskey;" />
  123.       </radiogroup>
  124.     </hbox>
  125.   </groupbox>
  126.  
  127. <!-- Take out Auto-Save; not supported at this time
  128.   <groupbox orient="vertical">
  129.     <label value="&saving;"/>
  130.     <hbox valign="middle">
  131.       <checkbox 
  132.         label      = "&AutoSaveCheck;"
  133.         id         = "shouldAutoSave"
  134.         pref       = "true" 
  135.         preftype   = "bool" 
  136.         prefstring = "editor.auto_save"
  137.         name       = "autosave" 
  138.         prefattribute="checked"
  139.       />
  140.       <textbox
  141.         id="autoSaveAmount"
  142.         name="time" 
  143.         type="text" 
  144.         size="3" 
  145.         value="5" 
  146.         pref="true" 
  147.         preftype="int" 
  148.         prefstring="editor.auto_save_delay"
  149.         prefattribute="value"
  150.       />
  151.       <text value="&minText;" />
  152.     </hbox>
  153.   </groupbox>
  154. -->
  155.  
  156. <!-- External Editors are not supported at this time
  157.     <groupbox orient="vertical">
  158.           <label value="&exterLegend.label;"/> 
  159.     <hbox>
  160.       <checkbox 
  161.         name  = "htmlSourceEditorCheckbox"
  162.         label = "&htmlSource;"
  163.         pref       = "true" 
  164.         preftype   = "int" 
  165.         prefindex  = "0" 
  166.         prefstring = "editor.use_html_editor"
  167.       />
  168.       <textbox
  169.         name = "&chooseButton.label;"
  170.         pref       = "true" 
  171.         preftype   = "string" 
  172.         prefstring = "editor.html_editor"
  173.       />
  174.       <button 
  175.         class = "dialog" 
  176.         name  = ""
  177.         label = "&chooseButton.label;"
  178.       />
  179.     </hbox>
  180.  
  181.     <hbox>
  182.       <checkbox 
  183.         name  = "htmlImageEditorCheckbox" 
  184.         label = "&imageeditor;"
  185.         pref       = "true" 
  186.         preftype   = "int" 
  187.         prefindex  = "0" 
  188.         prefstring ="editor.use_image_editor"
  189.       />
  190.  
  191.       <textbox
  192.         name="chooseButton.label" 
  193.         pref       = "true" 
  194.         preftype   = "string" 
  195.         prefstring = "editor.image_editor"
  196.       />
  197.       <button class="dialog" label="&chooseButton.label;" />
  198.     </hbox> 
  199.  
  200.   </groupbox>
  201.   -->
  202. </window>
  203.