diff options
Diffstat (limited to 'comm/mail/components/compose/content/dialogs/EdInsertTOC.xhtml')
-rw-r--r-- | comm/mail/components/compose/content/dialogs/EdInsertTOC.xhtml | 505 |
1 files changed, 505 insertions, 0 deletions
diff --git a/comm/mail/components/compose/content/dialogs/EdInsertTOC.xhtml b/comm/mail/components/compose/content/dialogs/EdInsertTOC.xhtml new file mode 100644 index 0000000000..38c85c764d --- /dev/null +++ b/comm/mail/components/compose/content/dialogs/EdInsertTOC.xhtml @@ -0,0 +1,505 @@ +<?xml version="1.0"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> +<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/input-fields.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/variables.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/colors.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?> + +<!DOCTYPE window SYSTEM "chrome://messenger/locale/messengercompose/EditorInsertTOC.dtd"> + +<window + title="&Window.title;" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml" + onload="Startup();" + lightweightthemes="true" + oncancel="window.close(); return true;" +> + <dialog> + <script src="chrome://messenger/content/globalOverlay.js" /> + <script src="chrome://global/content/editMenuOverlay.js" /> + <!-- Methods common to all editor dialogs --> + <script src="chrome://messenger/content/messengercompose/editorUtilities.js" /> + + <script src="chrome://messenger/content/messengercompose/EdDialogCommon.js" /> + <script src="chrome://messenger/content/messengercompose/EdInsertTOC.js" /> + <script src="chrome://messenger/content/dialogShadowDom.js" /> + + <spacer id="location" offsetY="50" persist="offsetX offsetY" /> + <spacer id="dummy" style="display: none" /> + <vbox flex="1"> + <html:fieldset> + <html:legend>&buildToc.label;</html:legend> + <html:table> + <html:tr> + <html:th></html:th> + <html:th>&tag.label;</html:th> + <html:th>&class.label;</html:th> + </html:tr> + <html:tr> + <html:th id="header1Label">&header1.label;</html:th> + <html:td> + <menulist id="header1Menulist"> + <menupopup> + <menuitem + id="header1none" + label="--" + value="" + oncommand="selectHeader(this, 1)" + /> + <menuseparator /> + <menuitem + id="header1H1" + label="h1" + value="h1" + oncommand="selectHeader(this, 1)" + /> + <menuitem + id="header1H2" + label="h2" + value="h2" + oncommand="selectHeader(this, 1)" + /> + <menuitem + id="header1H3" + label="h3" + value="h3" + oncommand="selectHeader(this, 1)" + /> + <menuitem + id="header1H4" + label="h4" + value="h4" + oncommand="selectHeader(this, 1)" + /> + <menuitem + id="header1H5" + label="h5" + value="h5" + oncommand="selectHeader(this, 1)" + /> + <menuitem + id="header1H6" + label="h6" + value="h6" + oncommand="selectHeader(this, 1)" + /> + <menuitem + id="header1DIV" + label="div" + value="div" + oncommand="selectHeader(this, 1)" + /> + <menuitem + id="header1P" + label="p" + value="p" + oncommand="selectHeader(this, 1)" + /> + </menupopup> + </menulist> + </html:td> + <html:td> + <html:input + id="header1Class" + type="text" + class="input-inline" + size="10" + onchange="changeClass(this, 1)" + aria-labelledby="header1Label" + /> + </html:td> + </html:tr> + <html:tr> + <html:th id="header2Label">&header2.label;</html:th> + <html:td> + <menulist id="header2Menulist"> + <menupopup> + <menuitem + id="header2none" + label="--" + value="" + oncommand="selectHeader(this, 2)" + /> + <menuseparator /> + <menuitem + id="header2H1" + label="h1" + value="h1" + oncommand="selectHeader(this, 2)" + /> + <menuitem + id="header2H2" + label="h2" + value="h2" + oncommand="selectHeader(this, 2)" + /> + <menuitem + id="header2H3" + label="h3" + value="h3" + oncommand="selectHeader(this, 2)" + /> + <menuitem + id="header2H4" + label="h4" + value="h4" + oncommand="selectHeader(this, 2)" + /> + <menuitem + id="header2H5" + label="h5" + value="h5" + oncommand="selectHeader(this, 2)" + /> + <menuitem + id="header2H6" + label="h6" + value="h6" + oncommand="selectHeader(this, 2)" + /> + <menuitem + id="header2DIV" + label="div" + value="div" + oncommand="selectHeader(this, 2)" + /> + <menuitem + id="header2P" + label="p" + value="p" + oncommand="selectHeader(this, 2)" + /> + </menupopup> + </menulist> + </html:td> + <html:td> + <html:input + id="header2Class" + type="text" + class="input-inline" + size="10" + onchange="changeClass(this, 2)" + aria-labelledby="header2Label" + /> + </html:td> + </html:tr> + <html:tr> + <html:th id="header3Label">&header3.label;</html:th> + <html:td> + <menulist id="header3Menulist"> + <menupopup> + <menuitem + id="header3none" + label="--" + value="" + oncommand="selectHeader(this, 3)" + /> + <menuseparator /> + <menuitem + id="header3H1" + label="h1" + value="h1" + oncommand="selectHeader(this, 3)" + /> + <menuitem + id="header3H2" + label="h2" + value="h2" + oncommand="selectHeader(this, 3)" + /> + <menuitem + id="header3H3" + label="h3" + value="h3" + oncommand="selectHeader(this, 3)" + /> + <menuitem + id="header3H4" + label="h4" + value="h4" + oncommand="selectHeader(this, 3)" + /> + <menuitem + id="header3H5" + label="h5" + value="h5" + oncommand="selectHeader(this, 3)" + /> + <menuitem + id="header3H6" + label="h6" + value="h6" + oncommand="selectHeader(this, 3)" + /> + <menuitem + id="header3DIV" + label="div" + value="div" + oncommand="selectHeader(this, 3)" + /> + <menuitem + id="header3P" + label="p" + value="p" + oncommand="selectHeader(this, 3)" + /> + </menupopup> + </menulist> + </html:td> + <html:td> + <html:input + id="header3Class" + type="text" + class="input-inline" + size="10" + onchange="changeClass(this, 3)" + aria-labelledby="header3Label" + /> + </html:td> + </html:tr> + <html:tr> + <html:th id="header4Label">&header4.label;</html:th> + <html:td> + <menulist id="header4Menulist"> + <menupopup> + <menuitem + id="header4none" + label="--" + value="" + oncommand="selectHeader(this, 4)" + /> + <menuseparator /> + <menuitem + id="header4H1" + label="h1" + value="h1" + oncommand="selectHeader(this, 4)" + /> + <menuitem + id="header4H2" + label="h2" + value="h2" + oncommand="selectHeader(this, 4)" + /> + <menuitem + id="header4H3" + label="h3" + value="h3" + oncommand="selectHeader(this, 4)" + /> + <menuitem + id="header4H4" + label="h4" + value="h4" + oncommand="selectHeader(this, 4)" + /> + <menuitem + id="header4H5" + label="h5" + value="h5" + oncommand="selectHeader(this, 4)" + /> + <menuitem + id="header4H6" + label="h6" + value="h6" + oncommand="selectHeader(this, 4)" + /> + <menuitem + id="header4DIV" + label="div" + value="div" + oncommand="selectHeader(this, 4)" + /> + <menuitem + id="header4P" + label="p" + value="p" + oncommand="selectHeader(this, 4)" + /> + </menupopup> + </menulist> + </html:td> + <html:td> + <html:input + id="header4Class" + type="text" + class="input-inline" + size="10" + onchange="changeClass(this, 4)" + aria-labelledby="header4Label" + /> + </html:td> + </html:tr> + <html:tr> + <html:th id="header5Label">&header5.label;</html:th> + <html:td> + <menulist id="header5Menulist"> + <menupopup> + <menuitem + id="header5none" + label="--" + value="" + oncommand="selectHeader(this, 5)" + /> + <menuseparator /> + <menuitem + id="header5H1" + label="h1" + value="h1" + oncommand="selectHeader(this, 5)" + /> + <menuitem + id="header5H2" + label="h2" + value="h2" + oncommand="selectHeader(this, 5)" + /> + <menuitem + id="header5H3" + label="h3" + value="h3" + oncommand="selectHeader(this, 5)" + /> + <menuitem + id="header5H4" + label="h4" + value="h4" + oncommand="selectHeader(this, 5)" + /> + <menuitem + id="header5H5" + label="h5" + value="h5" + oncommand="selectHeader(this, 5)" + /> + <menuitem + id="header5H6" + label="h6" + value="h6" + oncommand="selectHeader(this, 5)" + /> + <menuitem + id="header5DIV" + label="div" + value="div" + oncommand="selectHeader(this, 5)" + /> + <menuitem + id="header5P" + label="p" + value="p" + oncommand="selectHeader(this, 5)" + /> + </menupopup> + </menulist> + </html:td> + <html:td> + <html:input + id="header5Class" + type="text" + class="input-inline" + size="10" + onchange="changeClass(this, 5)" + aria-labelledby="header5Label" + /> + </html:td> + </html:tr> + <html:tr> + <html:th id="header6Label">&header6.label;</html:th> + <html:td> + <menulist id="header6Menulist"> + <menupopup> + <menuitem + id="header6none" + label="--" + value="" + oncommand="selectHeader(this, 6)" + /> + <menuseparator /> + <menuitem + id="header6H1" + label="h1" + value="h1" + oncommand="selectHeader(this, 6)" + /> + <menuitem + id="header6H2" + label="h2" + value="h2" + oncommand="selectHeader(this, 6)" + /> + <menuitem + id="header6H3" + label="h3" + value="h3" + oncommand="selectHeader(this, 6)" + /> + <menuitem + id="header6H4" + label="h4" + value="h4" + oncommand="selectHeader(this, 6)" + /> + <menuitem + id="header6H5" + label="h5" + value="h5" + oncommand="selectHeader(this, 6)" + /> + <menuitem + id="header6H6" + label="h6" + value="h6" + oncommand="selectHeader(this, 6)" + /> + <menuitem + id="header6DIV" + label="div" + value="div" + oncommand="selectHeader(this, 6)" + /> + <menuitem + id="header6P" + label="p" + value="p" + oncommand="selectHeader(this, 6)" + /> + </menupopup> + </menulist> + </html:td> + <html:td> + <html:input + id="header6Class" + type="text" + class="input-inline" + size="10" + onchange="changeClass(this, 6)" + aria-labelledby="header6Label" + /> + </html:td> + </html:tr> + </html:table> + </html:fieldset> + <vbox> + <checkbox + id="orderedListCheckbox" + label="&orderedList.label;" + oncommand="ToggleOrderedList(this)" + /> + <checkbox + id="readOnlyCheckbox" + label="&makeReadOnly.label;" + oncommand="ToggleReadOnlyToc(this)" + /> + </vbox> + <separator class="groove" /> + </vbox> + </dialog> +</window> |