Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIPrintingContext Class Reference

#include <nsIPrintingContext.h>

Inheritance diagram for nsIPrintingContext:
Inheritance graph
[legend]
Collaboration diagram for nsIPrintingContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD Init (nsIPrintSettings *aPS, PRBool aIsPrintPreview)=0
 Initialize the printing context for use.
NS_IMETHOD PrintManagerOpen (PRBool *aIsOpen)=0
 This will tell if the printmanager is currently open dc 12/03/98.
NS_IMETHOD ClosePrintManager ()=0
 Closes the printmanager if it is open.
NS_IMETHOD BeginDocument (PRUnichar *aTitle, PRUnichar *aPrintToFileName, PRInt32 aStartPage, PRInt32 aEndPage)=0
NS_IMETHOD EndDocument ()=0
NS_IMETHOD BeginPage ()=0
NS_IMETHOD EndPage ()=0
NS_IMETHOD GetPrinterResolution (double *aResolution)=0
NS_IMETHOD GetPageRect (double *aTop, double *aLeft, double *aBottom, double *aRight)=0

Detailed Description

Definition at line 51 of file nsIPrintingContext.h.


Member Function Documentation

NS_IMETHOD nsIPrintingContext::BeginDocument ( PRUnichar aTitle,
PRUnichar aPrintToFileName,
PRInt32  aStartPage,
PRInt32  aEndPage 
) [pure virtual]

Implemented in nsDeviceContextSpecX.

Implemented in nsDeviceContextSpecX.

Closes the printmanager if it is open.

dc 12/03/98

Returns:
error status

Implemented in nsDeviceContextSpecX.

Implemented in nsDeviceContextSpecX.

Implemented in nsDeviceContextSpecX.

NS_IMETHOD nsIPrintingContext::GetPageRect ( double *  aTop,
double *  aLeft,
double *  aBottom,
double *  aRight 
) [pure virtual]

Implemented in nsDeviceContextSpecX.

NS_IMETHOD nsIPrintingContext::GetPrinterResolution ( double *  aResolution) [pure virtual]

Implemented in nsDeviceContextSpecX.

NS_IMETHOD nsIPrintingContext::Init ( nsIPrintSettings aPS,
PRBool  aIsPrintPreview 
) [pure virtual]

Initialize the printing context for use.

Parameters:
aIsPrintPreviewTRUE if doing print preview, FALSE if normal printing.
Returns:
error status

Implemented in nsDeviceContextSpecX.

This will tell if the printmanager is currently open dc 12/03/98.

Parameters:
aIsOpenTrue or False depending if the printmanager is open
Returns:
error status

Implemented in nsDeviceContextSpecX.


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