summaryrefslogtreecommitdiffstats
path: root/toolkit/components/printing/content/printdialog.xul
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /toolkit/components/printing/content/printdialog.xul
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'toolkit/components/printing/content/printdialog.xul')
-rw-r--r--toolkit/components/printing/content/printdialog.xul126
1 files changed, 126 insertions, 0 deletions
diff --git a/toolkit/components/printing/content/printdialog.xul b/toolkit/components/printing/content/printdialog.xul
new file mode 100644
index 000000000..d6452945b
--- /dev/null
+++ b/toolkit/components/printing/content/printdialog.xul
@@ -0,0 +1,126 @@
+<?xml version="1.0"?>
+
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<!DOCTYPE dialog SYSTEM "chrome://global/locale/printdialog.dtd">
+
+<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ onload="onLoad();"
+ ondialogaccept="return onAccept();"
+ oncancel="return onCancel();"
+ buttoniconaccept="print"
+ title="&printDialog.title;"
+ persist="screenX screenY"
+ screenX="24" screenY="24">
+
+ <script type="application/javascript" src="chrome://global/content/printdialog.js"/>
+
+ <stringbundle id="printingBundle" src="chrome://global/locale/printing.properties"/>
+
+ <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"
+ label="&propertiesButton.label;"
+ accesskey="&propertiesButton.accesskey;"
+ icon="properties"
+ oncommand="displayPropertiesDialog();"/>
+ </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"
+ label="&fileCheck.label;"
+ accesskey="&fileCheck.accesskey;"
+ pack="end"/>
+ </row>
+ </rows>
+ </grid>
+ </groupbox>
+
+ <hbox>
+ <groupbox flex="1">
+ <caption label="&printrangeGroup.label;"/>
+
+ <radiogroup id="printrangeGroup">
+ <radio id="allpagesRadio"
+ label="&allpagesRadio.label;"
+ accesskey="&allpagesRadio.accesskey;"
+ oncommand="doPrintRange(0)"/>
+ <hbox align="center">
+ <radio id="rangeRadio"
+ label="&rangeRadio.label;"
+ accesskey="&rangeRadio.accesskey;"
+ oncommand="doPrintRange(1)"/>
+ <label id="frompageLabel"
+ control="frompageInput"
+ value="&frompageInput.label;"
+ accesskey="&frompageInput.accesskey;"/>
+ <textbox id="frompageInput" style="width:5em;" onkeyup="checkInteger(this)"/>
+ <label id="topageLabel"
+ control="topageInput"
+ value="&topageInput.label;"
+ accesskey="&topageInput.accesskey;"/>
+ <textbox id="topageInput" style="width:5em;" onkeyup="checkInteger(this)"/>
+ </hbox>
+ <radio id="selectionRadio"
+ label="&selectionRadio.label;"
+ accesskey="&selectionRadio.accesskey;"
+ oncommand="doPrintRange(2)"/>
+ </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;" onkeyup="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 titles and labels -->
+ <data style="display:none;" id="printButton" label="&printButton.label;"/>
+ <data style="display:none;" id="fpDialog" label="&fpDialog.title;"/>
+
+</dialog>
+