CHeaderFooterPrinter Class Reference

class CHeaderFooterPrinter : public MPageRegionPrinter

Inherits from

Constructor & Destructor Documentation

CHeaderFooterPrinter(CHeaderFooter &, TRect)

CHeaderFooterPrinter ( CHeaderFooter & aHeaderFooter,
TRect aHeaderFooterRect
) [protected]

Parameters

CHeaderFooter & aHeaderFooter
TRect aHeaderFooterRect

~CHeaderFooterPrinter()

~CHeaderFooterPrinter ( ) [virtual]

Member Functions Documentation

ConstructL()

void ConstructL ( ) [protected]

DrawTextL(CGraphicsDevice *)

void DrawTextL ( CGraphicsDevice * aDevice ) [private]

Parameters

CGraphicsDevice * aDevice

NewL(CHeaderFooter &, TRect)

CHeaderFooterPrinter * NewL ( CHeaderFooter & aHeaderFooter,
TRect aHeaderFooterRect
) [static]

Parameters

CHeaderFooter & aHeaderFooter
TRect aHeaderFooterRect

PrintBandL(CGraphicsDevice *, TInt, const TBandAttributes &)

void PrintBandL ( CGraphicsDevice * aDevice,
TInt aPageNo,
const TBandAttributes & aBandInPixels
) [virtual]

Prints a band.

Implementations should set up a graphics context to which all drawing should take place using CGraphicsDevice::CreateContext() . All co-ordinate calculations should be done in twips, and converted into pixels before starting the print job.

Parameters

CGraphicsDevice * aDevice Pointer to the graphics device representing the printer.
TInt aPageNo The number of the page containing the band to be printed.
const TBandAttributes & aBandInPixels Attributes of the band to be printed.

SetBandRect()

void SetBandRect ( ) [private]

Member Data Documentation

CGraphicsContext * iGc

CGraphicsContext * iGc [private]

TRect iHdFtRect

TRect iHdFtRect [private]

CHeaderFooter * iHeaderFooter

CHeaderFooter * iHeaderFooter [private]

CTextDraw * iTextDraw

CTextDraw * iTextDraw [private]

CTextLayout * iTextLayout

CTextLayout * iTextLayout [private]