Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions
nsPrintObject Class Reference

#include <nsPrintObject.h>

Collaboration diagram for nsPrintObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsPrintObject ()
 ~nsPrintObject ()
nsresult Init (nsIDocShell *aDocShell)
PRBool IsPrintable ()
void DestroyPresentation ()

Public Attributes

nsCOMPtr< nsIDocShellmDocShell
nsCOMPtr< nsIPresShellmDisplayPresShell
nsCOMPtr< nsPresContextmDisplayPresContext
nsCOMPtr< nsIDocumentmDocument
PrintObjectType mFrameType
nsCOMPtr< nsPresContextmPresContext
nsStyleSetmStyleSet
nsCOMPtr< nsIPresShellmPresShell
nsCOMPtr< nsIViewManagermViewManager
nsCOMPtr< nsIWidgetmWindow
nsIViewmRootView
nsIContentmContent
nsIFramemSeqFrame
nsIFramemPageFrame
PRInt32 mPageNum
nsRect mRect
nsRect mReflowRect
nsVoidArray mKids
nsPrintObjectmParent
PRPackedBool mHasBeenPrinted
PRPackedBool mDontPrint
PRPackedBool mPrintAsIs
PRPackedBool mSkippedPageEject
PRPackedBool mSharedPresShell
PRPackedBool mIsHidden
PRPackedBool mInvisible
nsRect mClipRect
PRUint16 mImgAnimationMode
PRUnicharmDocTitle
PRUnicharmDocURL
float mShrinkRatio
nscoord mXMost

Private Member Functions

nsPrintObjectoperator= (const nsPrintObject &aOther)

Detailed Description

Definition at line 61 of file nsPrintObject.h.


Constructor & Destructor Documentation

Definition at line 58 of file nsPrintObject.cpp.

{
  if (mPresContext) {
    mPresContext->SetImageAnimationMode(mImgAnimationMode);
  }

  for (PRInt32 i=0;i<mKids.Count();i++) {
    nsPrintObject* po = (nsPrintObject*)mKids[i];
    NS_ASSERTION(po, "nsPrintObject can't be null!");
    delete po;
  }

  if (mPresShell && !mSharedPresShell) {
    mPresShell->EndObservingDocument();
    mPresShell->Destroy();
  }

  if (mDocTitle) nsMemory::Free(mDocTitle);
  if (mDocURL) nsMemory::Free(mDocURL);

}

Member Function Documentation

Definition at line 103 of file nsPrintObject.cpp.

Here is the caller graph for this function:

Definition at line 83 of file nsPrintObject.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 71 of file nsPrintObject.h.

{ return !mDontPrint; }

Here is the caller graph for this function:

nsPrintObject& nsPrintObject::operator= ( const nsPrintObject aOther) [private]

Member Data Documentation

Definition at line 105 of file nsPrintObject.h.

Definition at line 88 of file nsPrintObject.h.

Definition at line 77 of file nsPrintObject.h.

Definition at line 76 of file nsPrintObject.h.

Definition at line 75 of file nsPrintObject.h.

Definition at line 108 of file nsPrintObject.h.

Definition at line 78 of file nsPrintObject.h.

Definition at line 109 of file nsPrintObject.h.

Definition at line 98 of file nsPrintObject.h.

Definition at line 80 of file nsPrintObject.h.

Definition at line 97 of file nsPrintObject.h.

Definition at line 107 of file nsPrintObject.h.

Definition at line 103 of file nsPrintObject.h.

Definition at line 102 of file nsPrintObject.h.

Definition at line 95 of file nsPrintObject.h.

Definition at line 90 of file nsPrintObject.h.

Definition at line 91 of file nsPrintObject.h.

Definition at line 96 of file nsPrintObject.h.

Definition at line 81 of file nsPrintObject.h.

Definition at line 83 of file nsPrintObject.h.

Definition at line 99 of file nsPrintObject.h.

Definition at line 92 of file nsPrintObject.h.

Definition at line 93 of file nsPrintObject.h.

Definition at line 86 of file nsPrintObject.h.

Definition at line 89 of file nsPrintObject.h.

Definition at line 101 of file nsPrintObject.h.

Definition at line 110 of file nsPrintObject.h.

Definition at line 100 of file nsPrintObject.h.

Definition at line 82 of file nsPrintObject.h.

Definition at line 84 of file nsPrintObject.h.

Definition at line 85 of file nsPrintObject.h.

Definition at line 111 of file nsPrintObject.h.


The documentation for this class was generated from the following files: