Bug 277296 - The print dialogs have no accesskeys; r=gavin, a191=beltzner
[mozilla-central.git] / toolkit / components / printing / content / printjoboptions.xul
blobee3caf5d853ad2bf4ac2a773b3cb3dd0efc100e0
1 <?xml version="1.0"?>
2 # -*- Mode: HTML -*-
3 # ***** BEGIN LICENSE BLOCK *****
4 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 # The contents of this file are subject to the Mozilla Public License Version
7 # 1.1 (the "License"); you may not use this file except in compliance with
8 # the License. You may obtain a copy of the License at
9 # http://www.mozilla.org/MPL/
11 # Software distributed under the License is distributed on an "AS IS" basis,
12 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 # for the specific language governing rights and limitations under the
14 # License.
16 # The Original Code is mozilla.org printing front-end.
18 # The Initial Developer of the Original Code is
19 # Netscape Communications Corporation.
20 # Portions created by the Initial Developer are Copyright (C) 2002
21 # the Initial Developer. All Rights Reserved.
23 # Contributor(s):
24 # Masaki Katakai <katakai@japan.sun.com>
25 # Dan Rosen <dr@netscape.com>
26 # Roland Mainz <roland.mainz@informatik.med.uni-giessen.de>
27 # Asko Tontti <atontti@cc.hut.fi>
28 # Jessica Blanco <jblanco@us.ibm.com>
30 # Alternatively, the contents of this file may be used under the terms of
31 # either the GNU General Public License Version 2 or later (the "GPL"), or
32 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
33 # in which case the provisions of the GPL or the LGPL are applicable instead
34 # of those above. If you wish to allow use of your version of this file only
35 # under the terms of either the GPL or the LGPL, and not to allow others to
36 # use your version of this file under the terms of the MPL, indicate your
37 # decision by deleting the provisions above and replace them with the notice
38 # and other provisions required by the GPL or the LGPL. If you do not delete
39 # the provisions above, a recipient may use your version of this file under
40 # the terms of any one of the MPL, the GPL or the LGPL.
42 # ***** END LICENSE BLOCK *****
44 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
45 <!DOCTYPE dialog SYSTEM "chrome://global/locale/printjoboptions.dtd">
47 <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
48 onload="onLoad();"
49 ondialogaccept="return onAccept();"
50 title="&printJobOptions.title;"
51 persist="screenX screenY"
52 screenX="24" screenY="24">
54 <script type="application/javascript" src="chrome://global/content/printjoboptions.js"/>
56 <stringbundle id="printBundle" src="chrome://global/locale/printPageSetup.properties"/>
58 <grid>
59 <columns>
60 <column/>
61 <column flex="1"/>
62 </columns>
64 <rows>
65 <row id="jobTitleGroup">
66 <hbox align="center" pack="end">
67 <label id="jobTitleLabel"
68 value="&jobTitleInput.label;"
69 accesskey="&jobTitleInput.accesskey;"
70 control="jobTitleInput"/>
71 </hbox>
72 <textbox id="jobTitleInput" flex="1"/>
73 </row>
75 <row id="paperGroup">
76 <hbox align="center" pack="end">
77 <label id="paperLabel"
78 value="&paperInput.label;"
79 accesskey="&paperInput.accesskey;"
80 control="paperList"/>
81 </hbox>
82 <menulist id="paperList" flex="1">
83 <menupopup/>
84 </menulist>
85 </row>
87 <row id="plexGroup">
88 <hbox align="center" pack="end">
89 <label id="plexLabel"
90 value="&plexInput.label;"
91 accesskey="&plexInput.accesskey;"
92 control="plexList"/>
93 </hbox>
94 <menulist id="plexList" flex="1">
95 <menupopup/>
96 </menulist>
97 </row>
99 <row id="resolutionGroup">
100 <hbox align="center" pack="end">
101 <label id="resolutionLabel"
102 value="&resolutionInput.label;"
103 accesskey="&resolutionInput.accesskey;"
104 control="resolutionList"/>
105 </hbox>
106 <menulist id="resolutionList" flex="1">
107 <menupopup/>
108 </menulist>
109 </row>
111 <row id="colorspaceGroup">
112 <hbox align="center" pack="end">
113 <label id="colorspaceLabel"
114 value="&colorspaceInput.label;"
115 accesskey="&colorspaceInput.accesskey;"
116 control="colorspaceList"/>
117 </hbox>
118 <menulist id="colorspaceList" flex="1">
119 <menupopup/>
120 </menulist>
121 </row>
123 <row id="cmdGroup">
124 <label id="cmdLabel"
125 value="&cmdInput.label;"
126 accesskey="&cmdInput.accesskey;"
127 control="cmdInput"/>
128 <textbox id="cmdInput" flex="1"/>
129 </row>
131 <row id="colorGroup">
132 <hbox align="center" pack="end">
133 <label control="colorRadioGroup" value="&colorGroup.label;"/>
134 </hbox>
135 <radiogroup id="colorRadioGroup" orient="horizontal">
136 <radio id="grayRadio"
137 label="&grayRadio.label;"
138 accesskey="&grayRadio.accesskey;"/>
139 <radio id="colorRadio"
140 label="&colorRadio.label;"
141 accesskey="&colorRadio.accesskey;"/>
142 </radiogroup>
143 </row>
145 <row id="fontsGroup">
146 <hbox align="center" pack="end">
147 <label value="&fontsGroup.label;"/>
148 </hbox>
149 <checkbox id="downloadFonts"
150 label="&downloadFonts.label;"
151 accesskey="&downloadFonts.accesskey;"/>
152 </row>
153 </rows>
154 </grid>
156 <grid>
157 <columns>
158 <column/>
159 </columns>
160 <rows>
161 <row>
162 <groupbox flex="1">
163 <caption label="&edgeMarginInput.label;"/>
164 <hbox>
165 <hbox align="center">
166 <label id="topLabel"
167 value="&topInput.label;"
168 accesskey="&topInput.accesskey;"
169 control="topInput"/>
170 <textbox id="topInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/>
171 </hbox>
172 <hbox align="center">
173 <label id="bottomLabel"
174 value="&bottomInput.label;"
175 accesskey="&bottomInput.accesskey;"
176 control="bottomInput"/>
177 <textbox id="bottomInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/>
178 </hbox>
179 <hbox align="center">
180 <label id="leftLabel"
181 value="&leftInput.label;"
182 accesskey="&leftInput.accesskey;"
183 control="leftInput"/>
184 <textbox id="leftInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/>
185 </hbox>
186 <hbox align="center">
187 <label id="rightLabel"
188 value="&rightInput.label;"
189 accesskey="&rightInput.accesskey;"
190 control="rightInput"/>
191 <textbox id="rightInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/>
192 </hbox>
193 </hbox>
194 </groupbox>
195 </row>
197 </rows>
198 </grid>
200 </dialog>