Bug 452317 - FeedConverter.js: QueryInterface should throw NS_ERROR_NO_INTERFACE...
[wine-gecko.git] / toolkit / components / printing / content / printProgress.xul
blob089820eb16820a788766905c50f3a8ac3e15ac80
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 # Scott MacGregor <mscott@netscape.com>
25 # Jean-Francois Ducarroz <ducarroz@netscape.com>
26 # Rod Spears <rods@netscape.com>
28 # Alternatively, the contents of this file may be used under the terms of
29 # either the GNU General Public License Version 2 or later (the "GPL"), or
30 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 # in which case the provisions of the GPL or the LGPL are applicable instead
32 # of those above. If you wish to allow use of your version of this file only
33 # under the terms of either the GPL or the LGPL, and not to allow others to
34 # use your version of this file under the terms of the MPL, indicate your
35 # decision by deleting the provisions above and replace them with the notice
36 # and other provisions required by the GPL or the LGPL. If you do not delete
37 # the provisions above, a recipient may use your version of this file under
38 # the terms of any one of the MPL, the GPL or the LGPL.
40 # ***** END LICENSE BLOCK *****
42 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
43 <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
45 <!DOCTYPE window SYSTEM "chrome://global/locale/printProgress.dtd">
47 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
48 class="dialog"
49 title="&printWindow.title;"
50 style="width: 36em;"
51 onload="onLoad()"
52 onunload="onUnload()">
54 <script type="application/javascript" src="chrome://global/content/printProgress.js"/>
56 <!-- This is non-visible content that simply adds translatable string
57 into the document so that it is accessible to JS code.
59 XXX-TODO:
60 convert to use string bundles.
61 -->
63 <data id="dialog.strings.dialogCloseLabel">&dialogClose.label;</data>
64 <data id="dialog.strings.printComplete">&printComplete;</data>
65 <data id="dialog.strings.progressText">&percentPrint;</data>
66 <data id="dialog.strings.progressLabel">&progress;</data>
67 <data id="dialog.strings.preparing">&preparing;</data>
69 <grid flex="1">
70 <columns>
71 <column/>
72 <column/>
73 <column/>
74 </columns>
76 <rows>
77 <row>
78 <hbox pack="end">
79 <label id="dialog.titleLabel" value="&title;"/>
80 </hbox>
81 <label id="dialog.title"/>
82 </row>
83 <row class="thin-separator">
84 <hbox pack="end">
85 <label id="dialog.progressLabel" control="dialog.progress" value="&progress;"/>
86 </hbox>
87 <label id="dialog.tempLabel" value="&preparing;"/>
88 <progressmeter id="dialog.progress" mode="normal" value="0"/>
89 <hbox pack="end" style="min-width: 2.5em;">
90 <label id="dialog.progressText"/>
91 </hbox>
92 </row>
93 </rows>
94 </grid>
95 <separator/>
96 <hbox id="CancelButton" pack="end">
97 <button id="cancel" label="&dialogCancel.label;" icon="cancel"
98 oncommand="doCancelButton()"/>
99 </hbox>
100 </window>