?? messengercompose.xul
字號:
<?xml version="1.0"?># ***** BEGIN LICENSE BLOCK *****# Version: MPL 1.1/GPL 2.0/LGPL 2.1## The contents of this file are subject to the Mozilla 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/MPL/## 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 the Initial Developer are Copyright (C) 1999# the Initial Developer. All Rights Reserved.## Contributor(s):# Ben Goodger <ben@netscape.com> (ass'td polish fixes)# H錵an Waara <hwaara@chello.se># Neil Rashbrook <neil@parkwaycc.co.uk> (ass'td polish fix)## Alternatively, the contents of this file may be used under the terms of# either the GNU General Public License Version 2 or later (the "GPL"), or# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),# in which case the provisions of the GPL or the LGPL are applicable instead# of those above. If you wish to allow use of your version of this file only# under the terms of either the GPL or the LGPL, and not to allow others to# use your version of this file under the terms of the MPL, indicate your# decision by deleting the provisions above and replace them with the notice# and other provisions required by the GPL or the LGPL. If you do not delete# the provisions above, a recipient may use your version of this file under# the terms of any one of the MPL, the GPL or the LGPL.## ***** END LICENSE BLOCK *****<?xml-stylesheet href="chrome://messenger/skin/messengercompose/messengercompose.css" type="text/css"?><?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?><?xul-overlay href="chrome://editor/content/editorOverlay.xul"?><!DOCTYPE window [<!ENTITY % messengercomposeDTD SYSTEM "chrome://messenger/locale/messengercompose/messengercompose.dtd" >%messengercomposeDTD;<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >%brandDTD;<!ENTITY % charsetDTD SYSTEM "chrome://global/locale/charsetOverlay.dtd" >%charsetDTD;]><window id="msgcomposeWindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:nc="http://home.netscape.com/NC-rdf#" onunload="ComposeUnload()" onload="ComposeLoad()" onclose="return DoCommandClose()" onfocus="EditorOnFocus()" title="&msgComposeWindow.title;" windowtype="msgcompose" width="640" height="480" persist="screenX screenY width height sizemode"> <stringbundleset id="stringbundleset"> <stringbundle id="bundle_composeMsgs" src="chrome://messenger/locale/messengercompose/composeMsgs.properties"/> <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/> <stringbundle id="languageBundle" src="chrome://global/locale/languageNames.properties"/></stringbundleset><script type="application/x-javascript" src="chrome://communicator/content/printing.js"/><script type="application/x-javascript" src="chrome://editor/content/editorInlineSpellCheck.js"/><script type="application/x-javascript" src="chrome://messenger/content/accountUtils.js"/><script type="application/x-javascript" src="chrome://messenger/content/widgetglue.js"/><script type="application/x-javascript" src="chrome://messenger/content/mailCore.js"/><script type="application/x-javascript" src="chrome://editor/content/editor.js"/><script type="application/x-javascript" src="chrome://messenger/content/messengercompose/MsgComposeCommands.js"/><!-- drag and drop --><script type="application/x-javascript" src="chrome://messenger/content/addressbook/abDragDrop.js"/><script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/><script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/><!-- move needed functions into a single js file --><script type="application/x-javascript" src="chrome://messenger/content/messengercompose/addressingWidgetOverlay.js"/><script type="application/x-javascript" src="chrome://global/content/charsetOverlay.js"/><script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/><script type="application/x-javascript" src="chrome://communicator/content/utilityOverlay.js"/><commandset id="composeCommands"> <commandset id="msgComposeCommandUpdate" commandupdater="true" events="focus" oncommandupdate="CommandUpdate_MsgCompose()"/> <commandset id="globalEditMenuItems" commandupdater="true" events="focus" oncommandupdate="goUpdateGlobalEditMenuItems()"/> <commandset id="selectEditMenuItems" commandupdater="true" events="select" oncommandupdate="goUpdateSelectEditMenuItems()"/> <commandset id="undoEditMenuItems" commandupdater="true" events="undo" oncommandupdate="goUpdateUndoEditMenuItems()"/> <commandset id="clipboardEditMenuItems" commandupdater="true" events="clipboard" oncommandupdate="goUpdatePasteMenuItems()"/> <commandset id="commonEditorMenuItems"/> <commandset id="composerMenuItems"/> <commandset id="composerEditMenuItems"/> <commandset id="composerStyleMenuItems"/> <commandset id="composerTableMenuItems"/> <commandset id="composerListMenuItems"/> <!-- File Menu --> <command id="cmd_new" oncommand="goDoCommand('cmd_newMessage')"/> <command id="cmd_attachFile" oncommand="goDoCommand('cmd_attachFile')"/> <command id="cmd_attachPage" oncommand="goDoCommand('cmd_attachPage')"/> <command id="cmd_attachVCard" checked="false" oncommand="ToggleAttachVCard(event.target)"/> <command id="cmd_close" oncommand="goDoCommand('cmd_close')"/> <command id="cmd_saveDefault" oncommand="goDoCommand('cmd_saveDefault')"/> <command id="cmd_saveAsFile" oncommand="goDoCommand('cmd_saveAsFile')"/> <command id="cmd_saveAsDraft" oncommand="goDoCommand('cmd_saveAsDraft')"/> <command id="cmd_saveAsTemplate" oncommand="goDoCommand('cmd_saveAsTemplate')"/> <command id="cmd_sendButton" oncommand="goDoCommand('cmd_sendButton')"/> <command id="cmd_sendNow" oncommand="goDoCommand('cmd_sendNow')"/> <command id="cmd_sendWithCheck" oncommand="goDoCommand('cmd_sendWithCheck')"/> <command id="cmd_sendLater" oncommand="goDoCommand('cmd_sendLater')"/> <command id="cmd_printSetup" oncommand="goDoCommand('cmd_printSetup')"/> <command id="cmd_print" oncommand="goDoCommand('cmd_print')"/> <!-- Edit Menu --> <!--command id="cmd_pasteQuote"/ DO NOT INCLUDE THOSE COMMANDS ELSE THE EDIT MENU WILL BE BROKEN! --> <!--command id="cmd_find"/--> <!--command id="cmd_findNext"/--> <command id="cmd_undo" oncommand="goDoCommand('cmd_undo')" disabled="true"/> <command id="cmd_redo" oncommand="goDoCommand('cmd_redo')" disabled="true"/> <command id="cmd_cut" oncommand="goDoCommand('cmd_cut')" disabled="true"/> <command id="cmd_copy" oncommand="goDoCommand('cmd_copy')" disabled="true"/> <command id="cmd_paste" oncommand="goDoCommand('cmd_paste')" disabled="true"/> <command id="cmd_rewrap" oncommand="goDoCommand('cmd_rewrap')"/> <command id="cmd_delete" oncommand="goDoCommand('cmd_delete')" valueDefault="&deleteCmd.label;" disabled="true"/> <command id="cmd_selectAll" oncommand="goDoCommand('cmd_selectAll')" disabled="true"/> <command id="cmd_openAttachment" oncommand="goDoCommand('cmd_openAttachment')" disabled="true"/> <command id="cmd_account" oncommand="goDoCommand('cmd_account')"/> <!-- View Menu --> <command id="cmd_showComposeToolbar" oncommand="goDoCommand('cmd_showComposeToolbar')"/> <command id="cmd_showFormatToolbar" oncommand="goDoCommand('cmd_showFormatToolbar')"/> <!-- Options Menu --> <command id="cmd_quoteMessage" oncommand="goDoCommand('cmd_quoteMessage')"/> <command id="cmd_insert"/>#ifdef XP_MACOSX <!-- Mac Window menu --> <command id="minimizeWindow" label="&minimizeWindow.label;" oncommand="window.minimize();"/> <command id="zoomWindow" label="&zoomWindow.label;" oncommand="zoomWindow();"/> <command id="Tasks:Mail" oncommand="toMessengerWindow();"/> <command id="Tasks:AddressBook" oncommand="toAddressBook();"/>#endif</commandset><broadcasterset id="composeBroadcasters"> <broadcaster id="Editor:Throbber" busy="false"/> <broadcaster id="args" value="editorType=default"/> <broadcaster id="viewAddressPicker" autoCheck="false" type="checkbox" oncommand="toggleAddressPicker();"/></broadcasterset><keyset id="tasksKeys"> <!-- File Menu -->#ifdef XP_MACOSX <key id="key_newMessage" key="&newMessage.key;" oncommand="goOpenNewMessage();" modifiers="accel,shift"/> <key id="key_newMessage2" key="&newMessageCmd2.key;" oncommand="goOpenNewMessage();" modifiers="accel"/>#else <key id="key_newMessage" key="&newMessage.key;" oncommand="goOpenNewMessage();" modifiers="accel"/> <key id="key_newMessage2" key="&newMessageCmd2.key;" oncommand="goOpenNewMessage();" modifiers="accel"/>#endif <key id="key_close" key="&closeCmd.key;" command="cmd_close" modifiers="accel"/> <key id="key_save" key="&saveCmd.key;" command="cmd_saveDefault" modifiers="accel"/> <key id="key_send" keycode="&sendCmd.keycode;" observes="cmd_sendWithCheck" modifiers="accel"/> <key id="key_sendLater" keycode="&sendLaterCmd.keycode;" observes="cmd_sendLater" modifiers="accel, shift"/> <key id="key_print" key="&printCmd.key;" command="cmd_print" modifiers="accel"/> <key id="key_quit" oncommand="goQuitApplication();" key="&quitApplicationCmd.key;" modifiers="accel"/> <!-- Edit Menu --> <key id="key_undo" key="&undoCmd.key;" modifiers="accel"/> <key id="key_redo" key="&redoCmd.key;" modifiers="accel"/> <key id="key_cut" key="&cutCmd.key;" modifiers="accel"/> <key id="key_copy" key="©Cmd.key;" modifiers="accel"/> <key id="key_paste" key="&pasteCmd.key;" modifiers="accel"/>#ifdef XP_MACOSX <key id="key_delete" keycode="VK_BACK"/> <key id="key_delete2" keycode="VK_DELETE"/>#else <key id="key_delete" keycode="VK_DELETE"/>#endif <key id="key_selectAll" key="&selectAllCmd.key;" modifiers="accel"/> <key id="key_find" key="&findCmd.key;" command="cmd_find" modifiers="accel"/> <key id="key_findNext" key="&findAgainCmd.key;" command="cmd_findNext" modifiers="accel"/> <key id="key_findPrev" key="&findPrevCmd.key;" command="cmd_findPrev" modifiers="accel, shift"/> <key keycode="&findAgainCmd.key2;" command="cmd_findNext"/>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -