PrintData::PrintData() : mPrintView(nsnull), mDebugFilePtr(nsnull), mPrintObject(nsnull), mSelectedPO(nsnull),
PrintData::PrintData(ePrintDataType aType) : mType(aType), mPrintView(nsnull), mDebugFilePtr(nsnull), mPrintObject(nsnull), mSelectedPO(nsnull),
PrintData::PrintData() :  mPrintView(nsnull), mDebugFilePtr(nsnull), mPrintObject(nsnull), mSelectedPO(nsnull),  mShowProgressDialog(PR_TRUE), mPrintDocList(nsnull), mIsIFrameSelected(PR_FALSE),  mIsParentAFrameSet(PR_FALSE), mPrintingAsIsSubDoc(PR_FALSE), mOnStartSent(PR_FALSE),  mIsAborted(PR_FALSE), mPreparingForPrint(PR_FALSE), mDocWasToBeDestroyed(PR_FALSE),  mShrinkToFit(PR_FALSE), mPrintFrameType(nsIPrintSettings::kFramesAsIs),   mNumPrintableDocs(0), mNumDocsPrinted(0), mNumPrintablePages(0), mNumPagesPrinted(0),  mShrinkRatio(1.0), mOrigDCScale(1.0), mOrigTextZoom(1.0), mOrigZoom(1.0), mPPEventListeners(NULL),   mIsCachingPresentation(PR_FALSE), mCachedPresObj(nsnull), mBrandName(nsnull){#ifdef DEBUG_PRINTING  mDebugFD = fopen("printing.log", "w");#endif  nsCOMPtr<nsIStringBundle> brandBundle;  nsCOMPtr<nsIStringBundleService> svc( do_GetService( NS_STRINGBUNDLE_CONTRACTID ) );  if (svc) {    svc->CreateBundle( "chrome://global/locale/brand.properties", getter_AddRefs( brandBundle ) );    if (brandBundle) {      brandBundle->GetStringFromName(NS_LITERAL_STRING("brandShortName").get(), &mBrandName );    }  }  if (!mBrandName) {    mBrandName = ToNewUnicode(NS_LITERAL_STRING("Mozilla Document"));  }}