NS_NewPrintPreviewContext(nsIPresContext** aInstancePtrResult)
NS_NewPrintPreviewContext(nsIPrintPreviewContext** aInstancePtrResult)
NS_NewPrintPreviewContext(nsIPresContext** aInstancePtrResult){  if (aInstancePtrResult == nsnull) {    return NS_ERROR_NULL_POINTER;  }  PrintPreviewContext *it = new PrintPreviewContext();  if (it == nsnull) {    return NS_ERROR_OUT_OF_MEMORY;  }  return it->QueryInterface(NS_GET_IID(nsIPresContext), (void **) aInstancePtrResult);}