Mozilla/mozilla/editor/ui/composer/content/EditorAppShell.xul
akkana%netscape.com c6aa8ff3bd Fix linux startup crash parsing entity defs
git-svn-id: svn://10.0.0.236/trunk@28742 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:30:44 +00:00

133 lines
5.1 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
<!DOCTYPE window
[
<!-- These entity declarations will go into a separare, locale file at some point -->
<!-- Window title -->
<!ENTITY editorWindow.title "Editor">
<!-- Menu items: the . means that the menu item isn't implemented yet -->
<!-- File menu items -->
<!ENTITY fileMenu.label "File">
<!ENTITY newCmd.label ".New Window">
]>
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="Startup()" title="Editor">
<html:script language="JavaScript" src="chrome://editor/content/EditorCommands.js">
</html:script>
<broadcaster id="canPrint"/>
<menubar>
<menu name="File">
<menuitem name=".New" onclick=""/>
<menuitem name=".Change Icons" onclick=""/>
<separator />
<menuitem name=".Print Setup" onclick=""/>
<menuitem name="Print Preview" onclick="EditorPrintPreview()"/>
<menuitem name=".Print" onclick=""/>
<separator />
<menuitem name=".Close" onclick=""/>
<menuitem name="Quit" onclick="EditorExit()"/>
</menu>
<menu name="Edit">
<menuitem name="Undo" onclick="EditorUndo()"/>
<menuitem name="Redo" onclick="EditorRedo()"/>
<separator />
<menuitem name="Cut" onclick="EditorCut()"/>
<menuitem name="Copy" onclick="EditorCopy()"/>
<menuitem name="Paste" onclick="EditorPaste()"/>
<menuitem name=".Clear" onclick=""/>
<separator />
<menuitem name="Select All" onclick="EditorSelectAll()"/>
<separator />
<menuitem name="Find..." onclick="EditorFind(true)"/>
<menuitem name="Find Again" onclick="EditorFind(false)"/>
</menu>
<menu name="View">
<menuitem name=".Hide Composition Toolbar" onclick=""/>
<menuitem name=".Hide Format Toolbar" onclick="" />
</menu>
<menu name="Insert">
<menuitem name="Link..." onclick="EditorInsertLink()"/>
<menuitem name=".Target..." onclick=""/>
<menuitem name="Image..." onclick="EditorInsertImage()"/>
<menuitem name=".Horizontal Line" onclick=""/>
<menuitem name=".Table" onclick=""/>
<menuitem name=".HTML Tag..." onclick=""/>
<separator />
<menuitem name=".Line Break" onclick=""/>
<menuitem name=".Break Below Image(s)" onclick=""/>
</menu>
<menu name="Format">
<menuitem name=".Font" onclick=""/>
<menuitem name=".Size" onclick=""/>
<menuitem name=".Style" onclick=""/>
<menuitem name=".Color..." onclick=""/>
<menuitem name=".Remove All Style(s)" onclick=""/>
<separator />
<menuitem name=".Heading" onclick=""/>
</menu>
<menu name="Tools">
<menuitem name=".Spell Check" onclick=""/>
</menu>
<menu name="Debug">
<menuitem name="Output Text" onclick="EditorGetText()"/>
<menuitem name="Output HTML" onclick="EditorGetHTML()"/>
<separator />
<menuitem name="Insert Text" onclick="EditorInsertText()"/>
<separator />
<menuitem name="Test Selection" onclick="EditorTestSelection()"/>
<menuitem name="Test Document" onclick="EditorTestDocument()"/>
</menu>
<menu name="Help">
<menuitem name=".About" onclick=""/>
</menu>
</menubar>
<box id="outer-box" align="vertical">
<broadcaster id="Editor:Style:IsBold" bold="false"/>
<broadcaster id="Editor:Style:IsItalic"/>
<broadcaster id="Editor:Style:IsUnderline"/>
<toolbox>
<toolbar>
<titledbutton align="left" class="popup" value="Normal"/>
<titledbutton align="left" class="popup" value="Size"/>
<titledbutton align="left" class="popup" value="Color"/>
<titledbutton src="chrome://editor/skin/images/ED_Bold.gif" align="bottom"
onclick="EditorApplyStyle('b')">
<observes element="Editor:Style:IsBold" attribute="bold" onchange="onBoldChange()"/>
</titledbutton>
<titledbutton src="chrome://editor/skin/images/ED_Italic.gif" align="bottom" onclick="EditorApplyStyle('i')"/>
<titledbutton src="chrome://editor/skin/images/ED_Underline.gif" align="bottom" onclick="EditorApplyStyle('u')"/>
<titledbutton src="chrome://editor/skin/images/ED_ClearStyle.gif" align="bottom" onclick="EditorRemoveStyle('all')"/>
<titledbutton src="chrome://editor/skin/images/ED_Bullets.gif" align="bottom" onclick="EditorInsertList('ul')"/>
<titledbutton src="chrome://editor/skin/images/ED_Numbers.gif" align="bottom" onclick="EditorInsertList('ol')"/>
<titledbutton src="chrome://editor/skin/images/ED_Indent.gif" align="bottom" onclick="EditorIndent('indent')"/>
<titledbutton src="chrome://editor/skin/images/ED_Left.gif" align="bottom" class="popup" onclick="EditorAlign('left')"/>
<titledbutton src="chrome://editor/skin/images/ED_Link.gif" align="bottom" class="popup" onclick="EditorInsertLink()"/>
</toolbar>
</toolbox>
<html:iframe id="content-frame" html:name="content" html:src="chrome://editor/content/EditorInitPage.html" flex="100%" />
</box>
</window>