1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/components/printing/content/printjoboptions.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,163 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.7 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.9 + 1.10 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.11 +<!DOCTYPE dialog SYSTEM "chrome://global/locale/printjoboptions.dtd"> 1.12 + 1.13 +<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.14 + onload="onLoad();" 1.15 + ondialogaccept="return onAccept();" 1.16 + title="&printJobOptions.title;" 1.17 + persist="screenX screenY" 1.18 + screenX="24" screenY="24"> 1.19 + 1.20 + <script type="application/javascript" src="chrome://global/content/printjoboptions.js"/> 1.21 + 1.22 + <stringbundle id="printBundle" src="chrome://global/locale/printPageSetup.properties"/> 1.23 + 1.24 + <grid> 1.25 + <columns> 1.26 + <column/> 1.27 + <column flex="1"/> 1.28 + </columns> 1.29 + 1.30 + <rows> 1.31 + <row id="jobTitleGroup"> 1.32 + <hbox align="center" pack="end"> 1.33 + <label id="jobTitleLabel" 1.34 + value="&jobTitleInput.label;" 1.35 + accesskey="&jobTitleInput.accesskey;" 1.36 + control="jobTitleInput"/> 1.37 + </hbox> 1.38 + <textbox id="jobTitleInput" flex="1"/> 1.39 + </row> 1.40 + 1.41 + <row id="paperGroup"> 1.42 + <hbox align="center" pack="end"> 1.43 + <label id="paperLabel" 1.44 + value="&paperInput.label;" 1.45 + accesskey="&paperInput.accesskey;" 1.46 + control="paperList"/> 1.47 + </hbox> 1.48 + <menulist id="paperList" flex="1"> 1.49 + <menupopup/> 1.50 + </menulist> 1.51 + </row> 1.52 + 1.53 + <row id="plexGroup"> 1.54 + <hbox align="center" pack="end"> 1.55 + <label id="plexLabel" 1.56 + value="&plexInput.label;" 1.57 + accesskey="&plexInput.accesskey;" 1.58 + control="plexList"/> 1.59 + </hbox> 1.60 + <menulist id="plexList" flex="1"> 1.61 + <menupopup/> 1.62 + </menulist> 1.63 + </row> 1.64 + 1.65 + <row id="resolutionGroup"> 1.66 + <hbox align="center" pack="end"> 1.67 + <label id="resolutionLabel" 1.68 + value="&resolutionInput.label;" 1.69 + accesskey="&resolutionInput.accesskey;" 1.70 + control="resolutionList"/> 1.71 + </hbox> 1.72 + <menulist id="resolutionList" flex="1"> 1.73 + <menupopup/> 1.74 + </menulist> 1.75 + </row> 1.76 + 1.77 + <row id="colorspaceGroup"> 1.78 + <hbox align="center" pack="end"> 1.79 + <label id="colorspaceLabel" 1.80 + value="&colorspaceInput.label;" 1.81 + accesskey="&colorspaceInput.accesskey;" 1.82 + control="colorspaceList"/> 1.83 + </hbox> 1.84 + <menulist id="colorspaceList" flex="1"> 1.85 + <menupopup/> 1.86 + </menulist> 1.87 + </row> 1.88 + 1.89 + <row id="cmdGroup"> 1.90 + <label id="cmdLabel" 1.91 + value="&cmdInput.label;" 1.92 + accesskey="&cmdInput.accesskey;" 1.93 + control="cmdInput"/> 1.94 + <textbox id="cmdInput" flex="1"/> 1.95 + </row> 1.96 + 1.97 + <row id="colorGroup"> 1.98 + <hbox align="center" pack="end"> 1.99 + <label control="colorRadioGroup" value="&colorGroup.label;"/> 1.100 + </hbox> 1.101 + <radiogroup id="colorRadioGroup" orient="horizontal"> 1.102 + <radio id="grayRadio" 1.103 + label="&grayRadio.label;" 1.104 + accesskey="&grayRadio.accesskey;"/> 1.105 + <radio id="colorRadio" 1.106 + label="&colorRadio.label;" 1.107 + accesskey="&colorRadio.accesskey;"/> 1.108 + </radiogroup> 1.109 + </row> 1.110 + 1.111 + <row id="fontsGroup"> 1.112 + <hbox align="center" pack="end"> 1.113 + <label value="&fontsGroup.label;"/> 1.114 + </hbox> 1.115 + <checkbox id="downloadFonts" 1.116 + label="&downloadFonts.label;" 1.117 + accesskey="&downloadFonts.accesskey;"/> 1.118 + </row> 1.119 + </rows> 1.120 + </grid> 1.121 + 1.122 + <grid> 1.123 + <columns> 1.124 + <column/> 1.125 + </columns> 1.126 + <rows> 1.127 + <row> 1.128 + <groupbox flex="1"> 1.129 + <caption label="&edgeMarginInput.label;"/> 1.130 + <hbox> 1.131 + <hbox align="center"> 1.132 + <label id="topLabel" 1.133 + value="&topInput.label;" 1.134 + accesskey="&topInput.accesskey;" 1.135 + control="topInput"/> 1.136 + <textbox id="topInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/> 1.137 + </hbox> 1.138 + <hbox align="center"> 1.139 + <label id="bottomLabel" 1.140 + value="&bottomInput.label;" 1.141 + accesskey="&bottomInput.accesskey;" 1.142 + control="bottomInput"/> 1.143 + <textbox id="bottomInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/> 1.144 + </hbox> 1.145 + <hbox align="center"> 1.146 + <label id="leftLabel" 1.147 + value="&leftInput.label;" 1.148 + accesskey="&leftInput.accesskey;" 1.149 + control="leftInput"/> 1.150 + <textbox id="leftInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/> 1.151 + </hbox> 1.152 + <hbox align="center"> 1.153 + <label id="rightLabel" 1.154 + value="&rightInput.label;" 1.155 + accesskey="&rightInput.accesskey;" 1.156 + control="rightInput"/> 1.157 + <textbox id="rightInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/> 1.158 + </hbox> 1.159 + </hbox> 1.160 + </groupbox> 1.161 + </row> 1.162 + 1.163 + </rows> 1.164 + </grid> 1.165 + 1.166 +</dialog>