rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
var rowCnt = userOutlinerView.rowCount; var enableBackupAllButton=document.getElementById('mine_backupAllButton'); if(rowCnt < 1) { enableBackupAllButton.setAttribute("disabled",true); } else { enableBackupAllButton.setAttribute("enabled",true); }
function LoadCerts(){ certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB); caOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); caOutlinerView.loadCerts(nsIX509Cert.CA_CERT); document.getElementById('ca-outliner') .outlinerBoxObject.view = caOutl...
caOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); caOutlinerView.loadCerts(nsIX509Cert.CA_CERT); document.getElementById('ca-outliner') .outlinerBoxObject.view = caOutlinerView;
caTreeView = Components.classes[nsCertTree] .createInstance(nsICertTree); caTreeView.loadCerts(nsIX509Cert.CA_CERT); document.getElementById('ca-tree') .treeBoxObject.view = caTreeView;
function LoadCerts(){ certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB); caOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); caOutlinerView.loadCerts(nsIX509Cert.CA_CERT); document.getElementById('ca-outliner') .outlinerBoxObject.view = caOutl...
serverOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); serverOutlinerView.loadCerts(nsIX509Cert.SERVER_CERT); document.getElementById('server-outliner') .outlinerBoxObject.view = serverOutlinerView;
serverTreeView = Components.classes[nsCertTree] .createInstance(nsICertTree); serverTreeView.loadCerts(nsIX509Cert.SERVER_CERT); document.getElementById('server-tree') .treeBoxObject.view = serverTreeView;
function LoadCerts(){ certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB); caOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); caOutlinerView.loadCerts(nsIX509Cert.CA_CERT); document.getElementById('ca-outliner') .outlinerBoxObject.view = caOutl...
emailOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); emailOutlinerView.loadCerts(nsIX509Cert.EMAIL_CERT); document.getElementById('email-outliner') .outlinerBoxObject.view = emailOutlinerView;
emailTreeView = Components.classes[nsCertTree] .createInstance(nsICertTree); emailTreeView.loadCerts(nsIX509Cert.EMAIL_CERT); document.getElementById('email-tree') .treeBoxObject.view = emailTreeView;
function LoadCerts(){ certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB); caOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); caOutlinerView.loadCerts(nsIX509Cert.CA_CERT); document.getElementById('ca-outliner') .outlinerBoxObject.view = caOutl...
userOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); userOutlinerView.loadCerts(nsIX509Cert.USER_CERT); document.getElementById('user-outliner') .outlinerBoxObject.view = userOutlinerView;
userTreeView = Components.classes[nsCertTree] .createInstance(nsICertTree); userTreeView.loadCerts(nsIX509Cert.USER_CERT); document.getElementById('user-tree') .treeBoxObject.view = userTreeView;
function LoadCerts(){ certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB); caOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); caOutlinerView.loadCerts(nsIX509Cert.CA_CERT); document.getElementById('ca-outliner') .outlinerBoxObject.view = caOutl...
var rowCnt = userOutlinerView.rowCount;
var rowCnt = userTreeView.rowCount;
function LoadCerts(){ certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB); caOutlinerView = Components.classes[nsCertOutliner] .createInstance(nsICertOutliner); caOutlinerView.loadCerts(nsIX509Cert.CA_CERT); document.getElementById('ca-outliner') .outlinerBoxObject.view = caOutl...
window.crypto.enableSmartCardEvents = true; document.addEventListener("smartcard-insert", onSmartCardChange, false); document.addEventListener("smartcard-remove", onSmartCardChange, false);
function LoadCerts(){ certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB); var certcache = Components.classes[nsNSSCertCache].createInstance(nsINSSCertCache); certcache.cacheAllCerts(); caTreeView = Components.classes[nsCertTree] .createInstance(nsICertTree); caTreeView.loadCer...
var enumerator = cookiemanager.enumerator; var count = 0; var showPolicyField = false; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); if (!nextCookie) break; nextCookie = nextCookie.QueryInterface(Components.interfaces.nsICookie); var host = nextCookie.host; if (nextCookie.policy != nsICo...
if (!cookieBundle) cookieBundle = document.getElementById("cookieBundle"); if (!cookiesTree) cookiesTree = document.getElementById("cookiesTree"); var dataObject = window.opener.top.hPrefWindow.wsm.dataManager.pageData[window.location.href]; if (!('cookies' in dataObject)) { var enumerator = cookiemanager.enumerator...
function loadCookies() { // load cookies into a table var enumerator = cookiemanager.enumerator; var count = 0; var showPolicyField = false; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); if (!nextCookie) break; nextCookie = nextCookie.QueryInterface(Components.interfaces.ns...
cookies[count] = new Cookie(count++, nextCookie.name, nextCookie.value, nextCookie.isDomain, host, (host.charAt(0)==".") ? host.substring(1,host.length) : host, nextCookie.path, nextCookie.isSecure, nextCookie.expires, nextCookie.status, nextCookie.policy); } cookiesTreeView.rowCount = cookies.length; cookiesTree.tre...
function loadCookies() { // load cookies into a table var enumerator = cookiemanager.enumerator; var count = 0; var showPolicyField = false; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); if (!nextCookie) break; nextCookie = nextCookie.QueryInterface(Components.interfaces.ns...
if (cookies.length == 0) { document.getElementById("removeAllCookies").setAttribute("disabled","true"); } else { document.getElementById("removeAllCookies").removeAttribute("disabled"); } if (showPolicyField) { document.getElementById("policyField").removeAttribute("hidden"); }
document.getElementById("removeAllCookies").disabled = cookies.length == 0;
function loadCookies() { // load cookies into a table var enumerator = cookiemanager.enumerator; var count = 0; var showPolicyField = false; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); if (!nextCookie) break; nextCookie = nextCookie.QueryInterface(Components.interfaces.ns...
function loadCookies() { CreateCookieList(); var cookielist = document.getElementById("cookielist"); for(i = 0; i < cookies.length; i++) { var item = document.createElement("treeitem"); var row = document.createElement("treerow"); var cell = document.createElement("treecell"); var domain = cookies[i].domain; if(dom...
function loadCookies(){ cookie_mode = 0; top.frames[index_frame].document.open(); top.frames[index_frame].document.write( "<body bgcolor='#c0c0c0'>" + "<table border='0' width='100%'>" + "<tr>" + "<td align='center' valign='middle' bgcolor='#ffffff'>" + "<font size='2' color='#666666'>" + "<b>" + cookiesTab + "</b>" + ...
function loadCookies(){ CreateCookieList(); // builds an object array from cookiestream var cookielist = document.getElementById("cookielist"); for(i = 0; i < cookies.length; i++) { var item = document.createElement("treeitem"); var row = document.createElement("treerow"); var cell = document.createE...
cookiesOutlinerView.rowCount = cookies.length;
cookiesTreeView.rowCount = cookies.length;
function loadCookies() { // load cookies into a table var enumerator = cookiemanager.enumerator; var count = 0; var showPolicyField = false; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); nextCookie = nextCookie.QueryInterface(Components.interfaces.nsICookie); var host = nex...
cookiesOutliner.outlinerBoxObject.view = cookiesOutlinerView;
cookiesTree.treeBoxObject.view = cookiesTreeView;
function loadCookies() { // load cookies into a table var enumerator = cookiemanager.enumerator; var count = 0; var showPolicyField = false; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); nextCookie = nextCookie.QueryInterface(Components.interfaces.nsICookie); var host = nex...
function loadCookies() { var cookieString; var cookieArray = [];
function loadCookies() {
function loadCookies(){ var cookieString; var cookieArray = []; var enumerator = cookiemanager.enumerator; var count = 0; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); nextCookie = nextCookie.QueryInterface(Components.interfaces.nsICookie); var name = nextCookie.name; v...
var name = nextCookie.name; var value = nextCookie.value; var isDomain = nextCookie.isDomain; var host = nextCookie.host; var path = nextCookie.path; var isSecure = nextCookie.isSecure; var expires = nextCookie.expires;
cookiesOutliner.outlinerBoxObject.view = cookiesOutlinerView; CookieColumnSort('rawHost');
function loadCookies(){ var cookieString; var cookieArray = []; var enumerator = cookiemanager.enumerator; var count = 0; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); nextCookie = nextCookie.QueryInterface(Components.interfaces.nsICookie); var name = nextCookie.name; v...
AddCookieToList (count, name, value, isDomain, host, path, isSecure, expires); if(host.charAt(0) == ".") { host = host.substring(1,host.length); } AddItem("cookieList", [host, name], "cookietree_", count++); } Wallet_ColumnSort('0', 'cookieList'); if (count == 0) {
if (cookies.length == 0) {
function loadCookies(){ var cookieString; var cookieArray = []; var enumerator = cookiemanager.enumerator; var count = 0; while (enumerator.hasMoreElements()) { var nextCookie = enumerator.getNext(); nextCookie = nextCookie.QueryInterface(Components.interfaces.nsICookie); var name = nextCookie.name; v...
var outlinerView = gDBView.QueryInterface(Components.interfaces.nsIOutlinerView); var outlinerSelection = outlinerView.selection; outlinerSelection.select(gCurrentlyDisplayedMessage); if (outlinerView) outlinerView.selectionChanged(); EnsureRowInThreadOutlinerIsVisible(gCurrentlyDisplayedMessage);
var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView); var treeSelection = treeView.selection; treeSelection.select(gCurrentlyDisplayedMessage); if (treeView) treeView.selectionChanged(); EnsureRowInThreadTreeIsVisible(gCurrentlyDisplayedMessage);
function LoadCurrentlyDisplayedMessage(){ if (gCurrentlyDisplayedMessage != nsMsgViewIndex_None) { var outlinerView = gDBView.QueryInterface(Components.interfaces.nsIOutlinerView); var outlinerSelection = outlinerView.selection; outlinerSelection.select(gCurrentlyDisplayedMessage); if (outlinerView) ...
load (LIB_PATH + "message-manager.js"); bot.messageManager = new MessageManager();
function loadDeps(){ load (LIB_PATH + "utils.js"); load (LIB_PATH + "events.js"); load (LIB_PATH + "connection.js"); load (LIB_PATH + "http.js"); load (LIB_PATH + "dcc.js"); load (LIB_PATH + "irc.js"); load (LIB_PATH + "irc-debug.js"); if (!connection_init(LIB_PATH)) return false; ...
if (item.alarmRelated == item.ALARM_RELATED_START) {
var alarmRelatedStart = (item.alarmRelated == item.ALARM_RELATED_START); if (alarmRelatedStart) {
function loadDetails() { gDetailsShown = true; var item = window.calendarItem; /* attendence */ var attendeeString = ""; var attendeeListBox = document.getElementById("attendees-listbox"); var child; while ((child = attendeeListBox.lastChild) && (child.tagName == "listitem")) { attendeeListB...
if (minutes == 15) {
if ((minutes == 15) && alarmRelatedStart) {
function loadDetails() { gDetailsShown = true; var item = window.calendarItem; /* attendence */ var attendeeString = ""; var attendeeListBox = document.getElementById("attendees-listbox"); var child; while ((child = attendeeListBox.lastChild) && (child.tagName == "listitem")) { attendeeListB...
} else if (minutes == 30) {
} else if ((minutes == 30) && alarmRelatedStart) {
function loadDetails() { gDetailsShown = true; var item = window.calendarItem; /* attendence */ var attendeeString = ""; var attendeeListBox = document.getElementById("attendees-listbox"); var child; while ((child = attendeeListBox.lastChild) && (child.tagName == "listitem")) { attendeeListB...
this.setValue( "target", this.target.path );
if (this.targetFile != null) { this.setValue( "target", this.targetFile.path ); } else { this.setValue( "target", this.target.spec ); this.hide( "pauseResume" ); this.hide( "launch" ); this.hide( "reveal" ); }
loadDialog: function() { // Check whether we're saving versus opening with a helper app. if ( !this.saving ) { // Put proper label on source field. this.setValue( "sourceLabel", this.getString( "openingSource" ) ); // Target is the "preferred" application. Hide if emp...
if ( !this.saving ) {
if ( !this.saving || !this.targetFile ) {
loadDialog: function() { // Check whether we're saving versus opening with a helper app. if ( !this.saving ) { // Put proper label on source field. this.setValue( "sourceLabel", this.getString( "openingSource" ) ); // Target is the "preferred" application. Hide if emp...
function loadDialog() { dialog.contentType.childNodes[0].nodeValue = " " + data.contentType;
function loadDialog() { dump("data.contentType = " + data.contentType + "\n"); dialog.contentType.setAttribute( "value", data.contentType );
function loadDialog() { // Set initial dialog field contents. dialog.contentType.childNodes[0].nodeValue = " " + data.contentType;}
var print_file = default_file;
function loadDialog(){ var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone; var print_tofile = ""; try { gPrefs = Compon...
print_file = gPrintSettings.toFileName;
function loadDialog(){ var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone; var print_tofile = ""; try { gPrefs = Compon...
if (print_tofile) { dialog.destGroup.selectedItem = dialog.fileRadio; doEnablePrintToFile(true); } else { dialog.destGroup.selectedItem = dialog.printerRadio; doEnablePrintToFile(false); }
function loadDialog(){ var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone; var print_tofile = ""; try { gPrefs = Compon...
dump("toFileName ["+print_file+"]\n");
function loadDialog(){ var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone; var print_tofile = ""; try { gPrefs = Compon...
} if (print_file == "") { print_file = default_file;
function loadDialog(){ var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone; var print_tofile = ""; try { gPrefs = Compon...
dialog.fileInput.value = print_file; if (gPrintSettings.toFileName != "") { dialog.fileInput.value = gPrintSettings.toFileName; }
function loadDialog(){ var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone; var print_tofile = ""; try { gPrefs = Compon...
var print_reversed = false;
function loadDialog(){ var print_reversed = false; var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command...
print_reversed = printService.printReversed;
function loadDialog(){ var print_reversed = false; var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command...
dump("printReversed "+print_reversed+"\n");
function loadDialog(){ var print_reversed = false; var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command...
} if ( print_reversed) { dialog.reverseGroup.selectedItem = dialog.lastRadio; } else { dialog.reverseGroup.selectedItem = dialog.firstRadio;
function loadDialog(){ var print_reversed = false; var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command...
if (gPrintSettings) { print_orientation = gPrintSettings.orientation;
try { gPrefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); gPrintService = Components.classes["@mozilla.org/gfx/printsettings-service;1"]; if (gPrintService) { gPrintService = gPrintService.getService(); if (gPrintService) { gPrintService = gPrintService.Qu...
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
print_margin_top = gPrintSettings.marginTop; print_margin_left = gPrintSettings.marginLeft; print_margin_right = gPrintSettings.marginRight; print_margin_bottom = gPrintSettings.marginBottom; }
setPrinterDefaultsForSelectedPrinter(); print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_margin_left = gPrintSettings.marginLeft; print_margin_right = gPrintSettings.marginRight; print_margin_bottom = gPrintSettings.marginBottom;
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
if (isListOfPrinterFeaturesAvailable()) { if (gPrefs.getBoolPref("print.tmp.printerfeatures." + gPrintSettings.printerName + ".can_change_orientation")) gDialog.orientation.removeAttribute("disabled"); else gDialog.orientation.setAttribute("disabled","true"); }
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
var ritems = window.originalRecurrenceInfo.getRecurrenceItems({});
var rrules = splitRecurrenceRules(window.originalRecurrenceInfo); var rules = rrules[0]; var exceptions = rrules[1];
function loadDialog(){ if (!window.originalRecurrenceInfo) return; var ritems = window.originalRecurrenceInfo.getRecurrenceItems({}); /* split out rules and exceptions */ var rules = []; var exceptions = []; for each (var r in ritems) { if (r instanceof calIRecurrenceRule) { i...
var rules = []; var exceptions = [];
if (rules.length > 0) { var rule = rules[0]; if (rule instanceof calIRecurrenceRule) {
function loadDialog(){ if (!window.originalRecurrenceInfo) return; var ritems = window.originalRecurrenceInfo.getRecurrenceItems({}); /* split out rules and exceptions */ var rules = []; var exceptions = []; for each (var r in ritems) { if (r instanceof calIRecurrenceRule) { i...
for each (var r in ritems) { if (r instanceof calIRecurrenceRule) { if (r.isNegative) exceptions.push(r); else rules.push(r);
switch(rule.type) { case "DAILY": document.getElementById("period-list").selectedIndex = 0; setElementValue("daily-days", rule.interval); break; case "WEEKLY": document.getElementById("period-list").selectedIndex = 1; const byDayTable = { 1 : "sun", 2 : "mon", 3 : "tue", 4 : "wed", 5 : "thu", 6 : "fri", 7: "sat" }; ...
function loadDialog(){ if (!window.originalRecurrenceInfo) return; var ritems = window.originalRecurrenceInfo.getRecurrenceItems({}); /* split out rules and exceptions */ var rules = []; var exceptions = []; for each (var r in ritems) { if (r instanceof calIRecurrenceRule) { i...
if (rules.length > 0) { var rule = rules[0];
var exceptionListBox = document.getElementById("recurrence-exceptions-listbox");
function loadDialog(){ if (!window.originalRecurrenceInfo) return; var ritems = window.originalRecurrenceInfo.getRecurrenceItems({}); /* split out rules and exceptions */ var rules = []; var exceptions = []; for each (var r in ritems) { if (r instanceof calIRecurrenceRule) { i...
switch(rule.type) { case "DAILY": document.getElementById("period-list").selectedIndex = 0; setElementValue("daily-days", rule.interval); break; case "WEEKLY": document.getElementById("period-list").selectedIndex = 1; const byDayTable = { 1 : "sun", 2 : "mon", 3 : "tue", 4 : "wed", 5 : "thu", 6 : "fri", 7: "sat" }; ...
for each (exception in exceptions) { if (exception instanceof calIRecurrenceDate) { exceptionListBox.appendItem(exception.date.toString()).date = exception.date; } else if (exception instanceof calIRecurrenceDateSet) { var dateSet = exception.getDates({}); for each(date in dateSet) exceptionListBox.appendItem(date.toSt...
function loadDialog(){ if (!window.originalRecurrenceInfo) return; var ritems = window.originalRecurrenceInfo.getRecurrenceItems({}); /* split out rules and exceptions */ var rules = []; var exceptions = []; for each (var r in ritems) { if (r instanceof calIRecurrenceRule) { i...
keepProgressWindowUpBox.checked = prefs.GetBoolPref("browser.download.keepProgressWndAlive");
keepProgressWindowUpBox.checked = prefs.GetBoolPref("browser.download.progressDnldDialog.keepAlive");
function loadDialog() { var sourceUrlValue = {}; var initialDownloadTimeValue = {}; // targetFile is global because we are going to want re-use later one... targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue); var sourceUrl = sourceUrlValue.value; startTime = initialDownloadTi...
dump("orientation "+print_orientation+"\n");
dump("print_orientation "+print_orientation+"\n");
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
gDialog.printBGColors.checked = gPrintSettings.printBGColors; gDialog.printBGImages.checked = gPrintSettings.printBGImages;
gDialog.printBG.checked = gPrintSettings.printBGColors || gPrintSettings.printBGImages;
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
doEnableScaling(!gDialog.shrinkToFit.checked);
gDialog.scalingLabel.disabled = gDialog.scalingInput.disabled = gDialog.shrinkToFit.checked;
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
gDialog.orientation.selectedIndex = 0;
gDialog.orientation.selectedItem = gDialog.portrait; } else if (print_orientation == gPrintSettingsInterface.kLandscapeOrientation) { gDialog.orientation.selectedItem = gDialog.landscape; }
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
} else if (print_orientation == gPrintSettingsInterface.kLandscapeOrientation) { gDialog.orientation.selectedIndex = 1;
var marginGroupLabel = gDialog.marginGroup.label; if (gPrintSettings.paperSizeUnit == gPrintSettingsInterface.kPaperSizeInches) { marginGroupLabel = marginGroupLabel.replace(/#1/, gDialog.strings["marginUnits.inches"]); } else { marginGroupLabel = marginGroupLabel.replace(/#1/, gDialog.strings["marginUnits.metric"]); ...
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
gDialog.hLeftInput.value = gPrintSettings.headerStrLeft; gDialog.hCenterInput.value = gPrintSettings.headerStrCenter; gDialog.hRightInput.value = gPrintSettings.headerStrRight;
setHeaderFooter( gDialog.hLeftOption, gPrintSettings.headerStrLeft ); setHeaderFooter( gDialog.hCenterOption, gPrintSettings.headerStrCenter ); setHeaderFooter( gDialog.hRightOption, gPrintSettings.headerStrRight );
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
gDialog.fLeftInput.value = gPrintSettings.footerStrLeft; gDialog.fCenterInput.value = gPrintSettings.footerStrCenter; gDialog.fRightInput.value = gPrintSettings.footerStrRight;
setHeaderFooter( gDialog.fLeftOption, gPrintSettings.footerStrLeft ); setHeaderFooter( gDialog.fCenterOption, gPrintSettings.footerStrCenter ); setHeaderFooter( gDialog.fRightOption, gPrintSettings.footerStrRight );
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
setTimeout( function() { gDialog.orientation.focus(); }, 0 );
function loadDialog(){ var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (gPrintSettings) { print_orientation = gPrintSettings.orientation; print_margin_top = gPrintSettings.marginTop; print_marg...
sourceUrl = { spec: persistArgs.source.URL };
var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService); sourceUrl = { spec: ioService.getURLSpecFromFile(persistArgs.source) };
function loadDialog(){ var sourceUrlValue = {}; var initialDownloadTimeValue = {}; var sourceUrl = null; // targetFile is global because we are going to want re-use later one... if (helperAppLoader) { targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue); sourceUrl = sour...
dialog.findKey.focus();
function loadDialog() { // Set initial dialog field contents. dialog.findKey.setAttribute( "value", data.searchString ); if ( data.caseSensitive ) { dialog.caseSensitive.setAttribute( "checked", "" ); } else { dialog.caseSensitive....
if (printSettings) { print_paper_type = printSettings.paperSizeType; print_paper_unit = printSettings.paperSizeUnit; print_paper_width = printSettings.paperWidth; print_paper_height = printSettings.paperHeight; print_orientation = printSettings.orientation;
if (gPrintSettings) { print_paper_type = gPrintSettings.paperSizeType; print_paper_unit = gPrintSettings.paperSizeUnit; print_paper_width = gPrintSettings.paperWidth; print_paper_height = gPrintSettings.paperHeight; print_orientation = gPrintSettings.orientation;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
print_margin_top = printSettings.marginTop; print_margin_left = printSettings.marginLeft; print_margin_right = printSettings.marginRight; print_margin_bottom = printSettings.marginBottom;
print_margin_top = gPrintSettings.marginTop; print_margin_left = gPrintSettings.marginLeft; print_margin_right = gPrintSettings.marginRight; print_margin_bottom = gPrintSettings.marginBottom;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
if (doDebug) {
if (gDoDebug) {
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
for (var i=0;i<paperArray.length;i++) { if (print_paper_width == paperArray[i].width && print_paper_height == paperArray[i].height) {
for (var i=0;i<gPaperArray.length;i++) { if (print_paper_width == gPaperArray[i].width && print_paper_height == gPaperArray[i].height) {
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
dialog.printBGColors.checked = printSettings.printBGColors; dialog.printBGImages.checked = printSettings.printBGImages;
gDialog.printBGColors.checked = gPrintSettings.printBGColors; gDialog.printBGImages.checked = gPrintSettings.printBGImages;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
if ( print_orientation == gPrintSettingsInterface.kPortraitOrientation ) { dialog.orientation.selectedIndex = 0;
if (print_orientation == gPrintSettingsInterface.kPortraitOrientation) { gDialog.orientation.selectedIndex = 0;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
} else if ( print_orientation == gPrintSettingsInterface.kLandscapeOrientation ) { dialog.orientation.selectedIndex = 1;
} else if (print_orientation == gPrintSettingsInterface.kLandscapeOrientation) { gDialog.orientation.selectedIndex = 1;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
dialog.topInput.value = getDoubleStr(print_margin_top, 1); dialog.bottomInput.value = getDoubleStr(print_margin_bottom, 1); dialog.leftInput.value = getDoubleStr(print_margin_left, 1); dialog.rightInput.value = getDoubleStr(print_margin_right, 1);
gDialog.topInput.value = getDoubleStr(print_margin_top, 1); gDialog.bottomInput.value = getDoubleStr(print_margin_bottom, 1); gDialog.leftInput.value = getDoubleStr(print_margin_left, 1); gDialog.rightInput.value = getDoubleStr(print_margin_right, 1);
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
dialog.hLeftInput.value = printSettings.headerStrLeft; dialog.hCenterInput.value = printSettings.headerStrCenter; dialog.hRightInput.value = printSettings.headerStrRight;
gDialog.hLeftInput.value = gPrintSettings.headerStrLeft; gDialog.hCenterInput.value = gPrintSettings.headerStrCenter; gDialog.hRightInput.value = gPrintSettings.headerStrRight;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
dialog.fLeftInput.value = printSettings.footerStrLeft; dialog.fCenterInput.value = printSettings.footerStrCenter; dialog.fRightInput.value = printSettings.footerStrRight;
gDialog.fLeftInput.value = gPrintSettings.footerStrLeft; gDialog.fCenterInput.value = gPrintSettings.footerStrCenter; gDialog.fRightInput.value = gPrintSettings.footerStrRight;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
dialog.scalingInput.value = getDoubleStr(printSettings.scaling * 100.0, 3);
gDialog.scalingInput.value = getDoubleStr(gPrintSettings.scaling * 100.0, 3);
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; if (printSetti...
var targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue);
targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue);
function loadDialog() { var sourceUrlValue = {}; var initialDownloadTimeValue = {}; var targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue); var sourceUrl = sourceUrlValue.value; startTime = initialDownloadTimeValue.value / 1000; // set the elapsed time on the first pass... va...
var elapsed = now - startTime;
elapsed = now - startTime;
function loadDialog() { var sourceUrlValue = {}; var initialDownloadTimeValue = {}; var targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue); var sourceUrl = sourceUrlValue.value; startTime = initialDownloadTimeValue.value / 1000; // set the elapsed time on the first pass... va...
var prefs = Components.classes[prefContractID].getService(Components.interfaces.nsIPref); if (prefs) keepProgressWindowUpBox.checked = prefs.GetBoolPref("browser.download.keepProgressWndAlive");
function loadDialog() { var sourceUrlValue = {}; var initialDownloadTimeValue = {}; var targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue); var sourceUrl = sourceUrlValue.value; startTime = initialDownloadTimeValue.value / 1000; // set the elapsed time on the first pass... va...
dialog.cmdInput.value = print_command;
dialog.cmdInput.value = print_command; try { var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); dialog.topInput.value = pref.getIntPref("print.print_edge_top") / 100.0; dialog.bottomInput.value = pref.getIntPref("print.print_edge_left") / 100.0; dia...
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_color = true; var print_command = default_command; if (gPrintSettings) { print_paper_type = gPrintSettings.paperSizeType; print_paper_unit...
gPrinterName = gPrintSettings.printerName;
function loadDialog(){ var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone; var print_tofile = ""; try { printService = ...
getPrinters();
function loadDialog(){ var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone; var print_tofile = ""; try { printService = ...
dialog.bottomInput.value = gPrefs.getIntPref("print.print_edge_left") / 100.0; dialog.leftInput.value = gPrefs.getIntPref("print.print_edge_right") / 100.0; dialog.rightInput.value = gPrefs.getIntPref("print.print_edge_bottom") / 100.0;
dialog.bottomInput.value = gPrefs.getIntPref("print.print_edge_bottom") / 100.0; dialog.leftInput.value = gPrefs.getIntPref("print.print_edge_left") / 100.0; dialog.rightInput.value = gPrefs.getIntPref("print.print_edge_right") / 100.0;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_paper_name = ""; var print_color = true; var print_command = default_command; gPrefs = Components.classes["@mozilla.org/p...
dialog.bottomInput.value = gPrefs.getIntPref("print.printer_"+printername+".print_edge_left") / 100.0; dialog.leftInput.value = gPrefs.getIntPref("print.printer_"+printername+".print_edge_right") / 100.0; dialog.rightInput.value = gPrefs.getIntPref("print.printer_"+printername+".print_edge_bottom") / 100.0;
dialog.bottomInput.value = gPrefs.getIntPref("print.printer_"+printername+".print_edge_bottom") / 100.0; dialog.leftInput.value = gPrefs.getIntPref("print.printer_"+printername+".print_edge_left") / 100.0; dialog.rightInput.value = gPrefs.getIntPref("print.printer_"+printername+".print_edge_right") / 100.0;
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_paper_name = ""; var print_color = true; var print_command = default_command; gPrefs = Components.classes["@mozilla.org/p...
var printername = gPrintSettings.printerName; dialog.topInput.value = gPrefs.getIntPref("print."+printername+"print_edge_top") / 100.0; dialog.bottomInput.value = gPrefs.getIntPref("print."+printername+"print_edge_left") / 100.0; dialog.leftInput.value = gPrefs.getIntPref("print."+printername+"print_edge_right") /...
function loadDialog(){ var print_paper_type = 0; var print_paper_unit = 0; var print_paper_width = 0.0; var print_paper_height = 0.0; var print_paper_width_mm = 0.0; var print_paper_height_mm = 0.0; var print_color = true; var print_command = default_command; gPref...
var targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue);
var initialDownloadTimeValue = {}; var targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue);
function loadDialog() { var sourceUrlValue = {}; var targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue); var sourceUrl = sourceUrlValue.value; dialog.location.setAttribute("value", sourceUrlValue.value.spec ); dialog.fileName.setAttribute( "value", targetFile.unicodePath );}
startTime = initialDownloadTimeValue.value / 1000; var now = ( new Date() ).getTime(); var elapsed = now - startTime; dialog.timeElapsed.setAttribute("value", formatSeconds( elapsed / 1000 )); dialog.timeLeft.setAttribute("value", formatSeconds( 0 ));
function loadDialog() { var sourceUrlValue = {}; var targetFile = helperAppLoader.getDownloadInfo(sourceUrlValue); var sourceUrl = sourceUrlValue.value; dialog.location.setAttribute("value", sourceUrlValue.value.spec ); dialog.fileName.setAttribute( "value", targetFile.unicodePath );}
var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5;
function loadDialog(){ var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command; try { printService = Compone...
try { printService = Components.classes["@mozilla.org/gfx/printoptions;1"]; if (printService) { printService = printService.getService(); if (printService) { printService = printService.QueryInterface(Components.interfaces.nsIPrintOptions); } } } catch(e) {} if (printService) { print_color = printService.printInC...
if (gPrintSettings) { print_color = gPrintSettings.printInColor; print_command = gPrintSettings.printCommand;
function loadDialog(){ var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command; try { printService = Compone...
dump("paperSize "+print_paper_size+"\n"); dump("orientation "+print_orientation+"\n");
function loadDialog(){ var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command; try { printService = Compone...
dump("print_margin_top "+print_margin_top+"\n"); dump("print_margin_left "+print_margin_left+"\n"); dump("print_margin_right "+print_margin_right+"\n"); dump("print_margin_bottom "+print_margin_bottom+"\n");
function loadDialog(){ var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command; try { printService = Compone...
if ( print_paper_size == gPrintOptInterface.kLetterPaperSize ) { dialog.paperGroup.selectedItem = dialog.letterRadio; } else if ( print_paper_size == gPrintOptInterface.kLegalPaperSize ) { dialog.paperGroup.selectedItem = dialog.legalRadio; } else if ( print_paper_size == gPrintOptInterface.kExecutivePaperSize ) { dial...
function loadDialog(){ var print_color = true; var print_paper_size = 0; var print_orientation = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command; try { printService = Compone...
var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; var print_file = default_file;
var print_tofile = false; var print_reversed = false; var print_color = true; var print_paper_size = 0; var print_margin_top = 0.5; var print_margin_left = 0.5; var print_margin_bottom = 0.5; var print_margin_right = 0.5; var print_command = default_command; var print_file = ...
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
prefs = Components.classes["@mozilla.org/preferences;1"]; if (prefs) { prefs = prefs.getService(); if (prefs) prefs = prefs.QueryInterface(Components.interfaces.nsIPref);
printService = Components.classes["@mozilla.org/gfx/printoptions;1"]; if (printService) { printService = printService.getService(); if (printService) { printService = printService.QueryInterface(Components.interfaces.nsIPrintOptions); }
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
if (prefs) { try { print_tofile = prefs.GetBoolPref("print.print_tofile"); } catch(e) { } try { print_reversed = prefs.GetBoolPref("print.print_reversed"); } catch(e) { } try { print_color = prefs.GetBoolPref("print.print_color"); } catch(e) { } try { print_paper_size = prefs.GetIntPref("print.print_paper_size"); } cat...
if (printService) { print_reversed = printService.printReversed; print_color = printService.printInColor; print_paper_size = printService.paperSize;
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
try { print_command = prefs.CopyCharPref("print.print_command"); } catch(e) { } try { print_file = prefs.CopyCharPref("print.print_file"); } catch(e) { } try { print_tofile = prefs.GetBoolPref("print.print_tofile"); } catch(e) { } try { print_selection_radio_enabled = prefs.GetBoolPref("print.selection_radio_enabled");...
print_margin_top = printService.marginTop; print_margin_left = printService.marginLeft; print_margin_right = printService.marginRight; print_margin_bottom = printService.marginBottom; print_command = printService.printCommand; print_file = printService.toFileName; print_tofile = printService.printToFil...
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
if ( print_tofile == true) {
if (print_command == "") { print_command = default_command; } if ( print_tofile) {
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
if ( print_color == true) {
if ( print_color) {
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
if ( print_reversed == true) {
if ( print_reversed) {
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
if ( print_paper_size == 0 ) {
if ( print_paper_size == gPrintOptInterface.kLetterPaperSize ) {
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
} else if ( print_paper_size == 1 ) {
} else if ( print_paper_size == gPrintOptInterface.kLegalPaperSize ) {
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
} else if ( print_paper_size == 2 ) {
} else if ( print_paper_size == gPrintOptInterface.kExecutivePaperSize ) {
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
} else if ( print_paper_size == 3 ) {
} else if ( print_paper_size == gPrintOptInterface.kA4PaperSize ) {
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
if ( print_selection_radio_enabled == true) {
if ( print_selection_radio_enabled) {
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
dialog.topInput.value = print_margin_top * 0.001; dialog.bottomInput.value = print_margin_bottom * 0.001; dialog.leftInput.value = print_margin_left * 0.001; dialog.rightInput.value = print_margin_right * 0.001;
dialog.topInput.value = getDoubleStr(print_margin_top, 1); dialog.bottomInput.value = getDoubleStr(print_margin_bottom, 1); dialog.leftInput.value = getDoubleStr(print_margin_left, 1); dialog.rightInput.value = getDoubleStr(print_margin_right, 1);
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
document.getElementById("printButton").getAttribute("value"));
document.getElementById("printButton").getAttribute("value")); if ( print_isFrame ) { dialog.aslayedoutRadio.removeAttribute("disabled"); dialog.selectedframeRadio.removeAttribute("disabled"); dialog.eachframesepRadio.removeAttribute("disabled"); dialog.printrangeGroupLabel.removeAttribute("disabled"); if (print_fra...
function loadDialog(){ var print_tofile = false; var print_reversed = false; var print_color = true; var print_landscape = true; var print_paper_size = 0; var print_margin_top = 500; var print_margin_left = 500; var print_margin_bottom = 500; var print_margin_right = 500; var print_command = default_command; ...
var print_tofile = false;
function loadDialog(){ var print_tofile = false; var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintOptInterface.kSelectedFrame; var print_howToEnableUI = gPrintOptInterface.kFrameEnableNone; try { printService...
var print_frametype = gPrintOptInterface.kSelectedFrame; var print_howToEnableUI = gPrintOptInterface.kFrameEnableNone;
var print_frametype = gPrintSetInterface.kSelectedFrame; var print_howToEnableUI = gPrintSetInterface.kFrameEnableNone;
function loadDialog(){ var print_tofile = false; var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintOptInterface.kSelectedFrame; var print_howToEnableUI = gPrintOptInterface.kFrameEnableNone; try { printService...
if (printService) { print_copies = printService.numCopies; print_file = printService.toFileName; print_tofile = printService.printToFile; print_frametype = printService.printFrameType; print_howToEnableUI = printService.howToEnableFrameUI; print_selection_radio_enabled = printService.GetPrintOptions(gPrintOp...
if (gPrintSettings) { gPrinterName = gPrintSettings.printerName; gPrintToFile = gPrintSettings.printToFile; gOriginalNumCopies = gPrintSettings.numCopies; print_copies = gPrintSettings.numCopies; print_file = gPrintSettings.toFileName; print_frametype = gPrintSettings.printFrameType;...
function loadDialog(){ var print_tofile = false; var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintOptInterface.kSelectedFrame; var print_howToEnableUI = gPrintOptInterface.kFrameEnableNone; try { printService...
dump("toFileName "+print_file+"\n"); dump("printToFile "+print_tofile+"\n"); dump("printToFile "+print_tofile+"\n"); dump("print_frame "+print_frametype+"\n"); dump("print_howToEnableUI "+print_howToEnableUI+"\n");
dump("loadDialog*********************************************\n"); dump("toFileName ["+print_file+"]\n"); dump("printToFile "+gPrintToFile+"\n"); dump("print_frame "+print_frametype+"\n"); dump("print_howToEnableUI "+print_howToEnableUI+"\n");
function loadDialog(){ var print_tofile = false; var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintOptInterface.kSelectedFrame; var print_howToEnableUI = gPrintOptInterface.kFrameEnableNone; try { printService...
if (print_tofile) { dialog.destGroup.selectedItem = dialog.fileRadio; doPrintToFile( true ); } else { dialog.destGroup.selectedItem = dialog.printerRadio; doPrintToFile( false ); }
function loadDialog(){ var print_tofile = false; var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintOptInterface.kSelectedFrame; var print_howToEnableUI = gPrintOptInterface.kFrameEnableNone; try { printService...
if (print_howToEnableUI == gPrintOptInterface.kFrameEnableAll) {
if (print_howToEnableUI == gPrintSetInterface.kFrameEnableAll) {
function loadDialog(){ var print_tofile = false; var print_copies = 1; var print_file = default_file; var print_selection_radio_enabled = false; var print_frametype = gPrintOptInterface.kSelectedFrame; var print_howToEnableUI = gPrintOptInterface.kFrameEnableNone; try { printService...