Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 8 | <!DOCTYPE dialog SYSTEM "chrome://global/locale/printjoboptions.dtd"> |
michael@0 | 9 | |
michael@0 | 10 | <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 11 | onload="onLoad();" |
michael@0 | 12 | ondialogaccept="return onAccept();" |
michael@0 | 13 | title="&printJobOptions.title;" |
michael@0 | 14 | persist="screenX screenY" |
michael@0 | 15 | screenX="24" screenY="24"> |
michael@0 | 16 | |
michael@0 | 17 | <script type="application/javascript" src="chrome://global/content/printjoboptions.js"/> |
michael@0 | 18 | |
michael@0 | 19 | <stringbundle id="printBundle" src="chrome://global/locale/printPageSetup.properties"/> |
michael@0 | 20 | |
michael@0 | 21 | <grid> |
michael@0 | 22 | <columns> |
michael@0 | 23 | <column/> |
michael@0 | 24 | <column flex="1"/> |
michael@0 | 25 | </columns> |
michael@0 | 26 | |
michael@0 | 27 | <rows> |
michael@0 | 28 | <row id="jobTitleGroup"> |
michael@0 | 29 | <hbox align="center" pack="end"> |
michael@0 | 30 | <label id="jobTitleLabel" |
michael@0 | 31 | value="&jobTitleInput.label;" |
michael@0 | 32 | accesskey="&jobTitleInput.accesskey;" |
michael@0 | 33 | control="jobTitleInput"/> |
michael@0 | 34 | </hbox> |
michael@0 | 35 | <textbox id="jobTitleInput" flex="1"/> |
michael@0 | 36 | </row> |
michael@0 | 37 | |
michael@0 | 38 | <row id="paperGroup"> |
michael@0 | 39 | <hbox align="center" pack="end"> |
michael@0 | 40 | <label id="paperLabel" |
michael@0 | 41 | value="&paperInput.label;" |
michael@0 | 42 | accesskey="&paperInput.accesskey;" |
michael@0 | 43 | control="paperList"/> |
michael@0 | 44 | </hbox> |
michael@0 | 45 | <menulist id="paperList" flex="1"> |
michael@0 | 46 | <menupopup/> |
michael@0 | 47 | </menulist> |
michael@0 | 48 | </row> |
michael@0 | 49 | |
michael@0 | 50 | <row id="plexGroup"> |
michael@0 | 51 | <hbox align="center" pack="end"> |
michael@0 | 52 | <label id="plexLabel" |
michael@0 | 53 | value="&plexInput.label;" |
michael@0 | 54 | accesskey="&plexInput.accesskey;" |
michael@0 | 55 | control="plexList"/> |
michael@0 | 56 | </hbox> |
michael@0 | 57 | <menulist id="plexList" flex="1"> |
michael@0 | 58 | <menupopup/> |
michael@0 | 59 | </menulist> |
michael@0 | 60 | </row> |
michael@0 | 61 | |
michael@0 | 62 | <row id="resolutionGroup"> |
michael@0 | 63 | <hbox align="center" pack="end"> |
michael@0 | 64 | <label id="resolutionLabel" |
michael@0 | 65 | value="&resolutionInput.label;" |
michael@0 | 66 | accesskey="&resolutionInput.accesskey;" |
michael@0 | 67 | control="resolutionList"/> |
michael@0 | 68 | </hbox> |
michael@0 | 69 | <menulist id="resolutionList" flex="1"> |
michael@0 | 70 | <menupopup/> |
michael@0 | 71 | </menulist> |
michael@0 | 72 | </row> |
michael@0 | 73 | |
michael@0 | 74 | <row id="colorspaceGroup"> |
michael@0 | 75 | <hbox align="center" pack="end"> |
michael@0 | 76 | <label id="colorspaceLabel" |
michael@0 | 77 | value="&colorspaceInput.label;" |
michael@0 | 78 | accesskey="&colorspaceInput.accesskey;" |
michael@0 | 79 | control="colorspaceList"/> |
michael@0 | 80 | </hbox> |
michael@0 | 81 | <menulist id="colorspaceList" flex="1"> |
michael@0 | 82 | <menupopup/> |
michael@0 | 83 | </menulist> |
michael@0 | 84 | </row> |
michael@0 | 85 | |
michael@0 | 86 | <row id="cmdGroup"> |
michael@0 | 87 | <label id="cmdLabel" |
michael@0 | 88 | value="&cmdInput.label;" |
michael@0 | 89 | accesskey="&cmdInput.accesskey;" |
michael@0 | 90 | control="cmdInput"/> |
michael@0 | 91 | <textbox id="cmdInput" flex="1"/> |
michael@0 | 92 | </row> |
michael@0 | 93 | |
michael@0 | 94 | <row id="colorGroup"> |
michael@0 | 95 | <hbox align="center" pack="end"> |
michael@0 | 96 | <label control="colorRadioGroup" value="&colorGroup.label;"/> |
michael@0 | 97 | </hbox> |
michael@0 | 98 | <radiogroup id="colorRadioGroup" orient="horizontal"> |
michael@0 | 99 | <radio id="grayRadio" |
michael@0 | 100 | label="&grayRadio.label;" |
michael@0 | 101 | accesskey="&grayRadio.accesskey;"/> |
michael@0 | 102 | <radio id="colorRadio" |
michael@0 | 103 | label="&colorRadio.label;" |
michael@0 | 104 | accesskey="&colorRadio.accesskey;"/> |
michael@0 | 105 | </radiogroup> |
michael@0 | 106 | </row> |
michael@0 | 107 | |
michael@0 | 108 | <row id="fontsGroup"> |
michael@0 | 109 | <hbox align="center" pack="end"> |
michael@0 | 110 | <label value="&fontsGroup.label;"/> |
michael@0 | 111 | </hbox> |
michael@0 | 112 | <checkbox id="downloadFonts" |
michael@0 | 113 | label="&downloadFonts.label;" |
michael@0 | 114 | accesskey="&downloadFonts.accesskey;"/> |
michael@0 | 115 | </row> |
michael@0 | 116 | </rows> |
michael@0 | 117 | </grid> |
michael@0 | 118 | |
michael@0 | 119 | <grid> |
michael@0 | 120 | <columns> |
michael@0 | 121 | <column/> |
michael@0 | 122 | </columns> |
michael@0 | 123 | <rows> |
michael@0 | 124 | <row> |
michael@0 | 125 | <groupbox flex="1"> |
michael@0 | 126 | <caption label="&edgeMarginInput.label;"/> |
michael@0 | 127 | <hbox> |
michael@0 | 128 | <hbox align="center"> |
michael@0 | 129 | <label id="topLabel" |
michael@0 | 130 | value="&topInput.label;" |
michael@0 | 131 | accesskey="&topInput.accesskey;" |
michael@0 | 132 | control="topInput"/> |
michael@0 | 133 | <textbox id="topInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/> |
michael@0 | 134 | </hbox> |
michael@0 | 135 | <hbox align="center"> |
michael@0 | 136 | <label id="bottomLabel" |
michael@0 | 137 | value="&bottomInput.label;" |
michael@0 | 138 | accesskey="&bottomInput.accesskey;" |
michael@0 | 139 | control="bottomInput"/> |
michael@0 | 140 | <textbox id="bottomInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/> |
michael@0 | 141 | </hbox> |
michael@0 | 142 | <hbox align="center"> |
michael@0 | 143 | <label id="leftLabel" |
michael@0 | 144 | value="&leftInput.label;" |
michael@0 | 145 | accesskey="&leftInput.accesskey;" |
michael@0 | 146 | control="leftInput"/> |
michael@0 | 147 | <textbox id="leftInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/> |
michael@0 | 148 | </hbox> |
michael@0 | 149 | <hbox align="center"> |
michael@0 | 150 | <label id="rightLabel" |
michael@0 | 151 | value="&rightInput.label;" |
michael@0 | 152 | accesskey="&rightInput.accesskey;" |
michael@0 | 153 | control="rightInput"/> |
michael@0 | 154 | <textbox id="rightInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/> |
michael@0 | 155 | </hbox> |
michael@0 | 156 | </hbox> |
michael@0 | 157 | </groupbox> |
michael@0 | 158 | </row> |
michael@0 | 159 | |
michael@0 | 160 | </rows> |
michael@0 | 161 | </grid> |
michael@0 | 162 | |
michael@0 | 163 | </dialog> |