mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
157 lines
5.9 KiB
Plaintext
157 lines
5.9 KiB
Plaintext
|
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
||
|
|
||
|
<!-- ***** 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) 1998-1999
|
||
|
the Initial Developer. All Rights Reserved.
|
||
|
|
||
|
Contributor(s):
|
||
|
Masaki Katakai <katakai@japan.sun.com>
|
||
|
Dan Rosen <dr@netscape.com>
|
||
|
Jessica Blanco <jblanco@us.ibm.com>
|
||
|
Asko Tontti <atontti@cc.hut.fi>
|
||
|
Roland Mainz <roland.mainz@nrubsig.org>
|
||
|
Peter Weilbacher <mozilla@weilbacher.org>
|
||
|
|
||
|
Alternatively, the contents of this file may be used under the terms of
|
||
|
either of 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://communicator/skin/" type="text/css"?>
|
||
|
<!DOCTYPE dialog SYSTEM "chrome://global/locale/printdialog.dtd">
|
||
|
|
||
|
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||
|
id="printDialog"
|
||
|
onload="onLoad();"
|
||
|
ondialogaccept="return onAccept();"
|
||
|
buttonlabelaccept="&printButton.label;"
|
||
|
oncancel="return onCancel();"
|
||
|
title="&printDialog.title;"
|
||
|
persist="screenX screenY"
|
||
|
screenX="24" screenY="24">
|
||
|
|
||
|
<script type="application/x-javascript" src="chrome://global/content/printdialog.js"/>
|
||
|
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||
|
|
||
|
<groupbox>
|
||
|
<caption label="&printer.label;"/>
|
||
|
|
||
|
<grid>
|
||
|
<columns>
|
||
|
<column/>
|
||
|
<column flex="1"/>
|
||
|
<column/>
|
||
|
</columns>
|
||
|
|
||
|
<rows>
|
||
|
<row align="center">
|
||
|
<hbox align="center" pack="end">
|
||
|
<label id="printerLabel" value="&printerInput.label;"
|
||
|
accesskey="&printerInput.accesskey;" control="printerList"/>
|
||
|
</hbox>
|
||
|
<menulist id="printerList" flex="1" type="description"
|
||
|
oncommand="setPrinterDefaultsForSelectedPrinter();"/>
|
||
|
<button id="properties" oncommand="displayPropertiesDialog();"
|
||
|
label="&propertiesButton.label;"
|
||
|
accesskey="&propertiesButton.accesskey;"/>
|
||
|
</row>
|
||
|
<row align="center">
|
||
|
<hbox align="center" pack="end">
|
||
|
<label id="descTextLabel" control="descText"
|
||
|
value="&descText.label;"/>
|
||
|
</hbox>
|
||
|
<label id="descText"/>
|
||
|
<checkbox id="fileCheck" checked="false" pack="end"
|
||
|
label="&fileCheck.label;"
|
||
|
accesskey="&fileCheck.accesskey;"/>
|
||
|
</row>
|
||
|
</rows>
|
||
|
</grid>
|
||
|
</groupbox>
|
||
|
|
||
|
<hbox>
|
||
|
<groupbox flex="1">
|
||
|
<caption label="&printRangeGroup.label;"/>
|
||
|
|
||
|
<radiogroup id="printRangeGroup">
|
||
|
<radio id="allPagesRadio" oncommand="doPrintRange(0);"
|
||
|
label="&allPagesRadio.label;"
|
||
|
accesskey="&allPagesRadio.accesskey;"/>
|
||
|
<hbox align="center">
|
||
|
<radio id="rangeRadio" oncommand="doPrintRange(1);"
|
||
|
label="&rangeRadio.label;" accesskey="&rangeRadio.accesskey;"/>
|
||
|
<label id="fromPageLabel" control="fromPageInput"
|
||
|
value="&fromPageInput.label;"
|
||
|
accesskey="&fromPageInput.accesskey;"/>
|
||
|
<textbox id="fromPageInput" style="width:5em;"
|
||
|
oninput="checkInteger(this);"/>
|
||
|
<label id="toPageLabel" control="toPageInput"
|
||
|
value="&toPageInput.label;"
|
||
|
accesskey="&toPageInput.accesskey;"/>
|
||
|
<textbox id="toPageInput" style="width:5em;"
|
||
|
oninput="checkInteger(this);"/>
|
||
|
</hbox>
|
||
|
<radio id="selectionRadio" oncommand="doPrintRange(2)"
|
||
|
label="&selectionRadio.label;"
|
||
|
accesskey="&selectionRadio.accesskey;"/>
|
||
|
</radiogroup>
|
||
|
</groupbox>
|
||
|
|
||
|
<groupbox flex="1">
|
||
|
<caption label="&copies.label;"/>
|
||
|
<hbox align="center">
|
||
|
<label control="numCopiesInput"
|
||
|
value="&numCopies.label;" accesskey="&numCopies.accesskey;"/>
|
||
|
<textbox id="numCopiesInput" style="width:5em;"
|
||
|
oninput="checkInteger(this);"/>
|
||
|
</hbox>
|
||
|
</groupbox>
|
||
|
</hbox>
|
||
|
|
||
|
<groupbox flex="1">
|
||
|
<caption label="&printFrameGroup.label;" id="printFrameGroupLabel"/>
|
||
|
<radiogroup id="printFrameGroup">
|
||
|
<radio id="asLaidOutRadio"
|
||
|
label="&asLaidOutRadio.label;"
|
||
|
accesskey="&asLaidOutRadio.accesskey;"/>
|
||
|
<radio id="selectedFrameRadio"
|
||
|
label="&selectedFrameRadio.label;"
|
||
|
accesskey="&selectedFrameRadio.accesskey;"/>
|
||
|
<radio id="eachFrameSepRadio"
|
||
|
label="&eachFrameSepRadio.label;"
|
||
|
accesskey="&eachFrameSepRadio.accesskey;"/>
|
||
|
</radiogroup>
|
||
|
</groupbox>
|
||
|
|
||
|
<!-- used to store the title of the filepicker -->
|
||
|
<data style="display:none;" id="fpDialog" label="&fpDialog.title;"/>
|
||
|
|
||
|
</dialog>
|
||
|
|