const nsString* aCharsetOverride=nsnull,
const nsAReadableString* aCharsetOverride=nsnull,
NS_New_HTMLToTXT_SinkStream(nsIHTMLContentSink** aInstancePtrResult,                             nsIOutputStream* aOutStream,                            const nsString* aCharsetOverride=nsnull,                            PRUint32 aWrapColumn=0, PRUint32 aFlags=0){  nsCOMPtr<nsIHTMLToTXTSinkStream> it;  nsresult rv;  rv = nsComponentManager::CreateInstance(nsIHTMLToTXTSinkStream::GetCID(),                                          nsnull,                                          NS_GET_IID(nsIHTMLToTXTSinkStream),                                          getter_AddRefs(it));  if (NS_SUCCEEDED(rv)) {    rv = it->Initialize(aOutStream, nsnull, aFlags);    if (NS_SUCCEEDED(rv)) {      it->SetWrapColumn(aWrapColumn);      if (aCharsetOverride != nsnull) {        it->SetCharsetOverride(aCharsetOverride);      }      rv = it->QueryInterface(NS_GET_IID(nsIHTMLContentSink),                              (void**)aInstancePtrResult);    }  }    return rv;}