diff -r 000000000000 -r 6474c204b198 toolkit/components/printing/content/printPreviewBindings.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolkit/components/printing/content/printPreviewBindings.xml Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,326 @@ + + + + + + + +%printPreviewDTD; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + document.getAnonymousNodes(this)[0] + + + document.getAnonymousNodes(this)[5].childNodes[0] + + + document.getAnonymousNodes(this)[5].childNodes[2] + + + document.getAnonymousNodes(this)[9].firstChild + + + document.getAnonymousNodes(this)[10].firstChild + + + document.getAnonymousNodes(this)[12] + + + this.mOrientButtonsBox.childNodes[0] + + + this.mOrientButtonsBox.childNodes[1] + + + document.getAnonymousNodes(this)[15].firstChild + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = 10) { + aValue /= 100.0; + } else { + if (this.mScaleCombobox.hasAttribute('lastValidInx')) { + this.mScaleCombobox.selectedIndex = this.mScaleCombobox.getAttribute('lastValidInx'); + } + return; + } + } + + this.setScaleCombobox(aValue); + this.mScaleCombobox.setAttribute('lastValidInx', this.mScaleCombobox.selectedIndex); + + if (settings.scaling != aValue || settings.shrinkToFit) + { + settings.shrinkToFit = false; + settings.scaling = aValue; + this.savePrintSettings(settings, settings.kInitSaveShrinkToFit | settings.kInitSaveScaling); + PrintUtils.printPreview(); + } + ]]> + + + + + + + + + + + + + + + + + + + + + + + + +