rem: var addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(Components.interfaces.nsIAddressBook); var uri = GetAbViewURI(); if (!uri) return;  var statusFeedback; statusFeedback = Components.classes["@mozilla.org/messenger/statusfeedback;1"].createInstance(); statusFeedback = statusFeedback.QueryInterface(Components.interfaces.nsIMsgStatusFeedback);  /* turn "moz-abmdbdirectory: "addbook: */  var abURIArr = uri.split(": var printUrl = "addbook:  if (!gPrintSettings) { gPrintSettings = GetPrintSettings(); }  printEngineWindow = window.openDialog("chrome: "", "chrome,dialog=no,all", 1, [printUrl], statusFeedback, gPrintSettings);  return; 
add: AbPrintAddressBookInternal(false, Components.interfaces.nsIMsgPrintEngine.MNAB_PRINT_ADDRBOOK); 
context: function AbPrintAddressBook(){  var addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(Components.interfaces.nsIAddressBook);  var uri = GetAbViewURI();  if (!uri)    return;  var statusFeedback;	statusFeedback = Components.classes["@mozilla.org/messenger/statusfeedback;1"].createInstance();	statusFeedback = statusFeedback.QueryInterface(Components.interfaces.nsIMsgStatusFeedback);  /*    turn "moz-abmdbdirectory://abook.mab" into    "addbook://moz-abmdbdirectory/abook.mab?action=print"   */  var abURIArr = uri.split("://");  var printUrl = "addbook://" + abURIArr[0] + "/" + abURIArr[1] + "?action=print"  if (!gPrintSettings) {    gPrintSettings = GetPrintSettings();  }	printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",										"",										"chrome,dialog=no,all",										1, [printUrl], statusFeedback, gPrintSettings);	return;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a731676e45a8eeb41b311b7e9561d4db9616e7d8/addressbook.js/clean/mailnews/addrbook/resources/content/addressbook.js