void Init(DocumentViewerImpl* aDocViewerImpl, nsIPresContext*     aPresContext, nsIPrintSettings*   aPrintSettings, PrintObject*        aPO, PRUint32            aDelay) { NS_IF_RELEASE(mDocViewer); mDocViewer       = aDocViewerImpl; NS_ADDREF(mDocViewer);  mPresContext     = aPresContext; mPrintSettings   = aPrintSettings; mPrintObj        = aPO; mDelay           = aDelay; }
nsresult nsDocViewerSelectionListener::Init(DocumentViewerImpl *aDocViewer) { mDocViewer = aDocViewer; return NS_OK; }
  void Init(DocumentViewerImpl* aDocViewerImpl,             nsIPresContext*     aPresContext,            nsIPrintSettings*   aPrintSettings,            PrintObject*        aPO,            PRUint32            aDelay)   {    NS_IF_RELEASE(mDocViewer);    mDocViewer       = aDocViewerImpl;    NS_ADDREF(mDocViewer);        mPresContext     = aPresContext;    mPrintSettings   = aPrintSettings;    mPrintObj        = aPO;    mDelay           = aDelay;  }