CHeaderFooterPrinter Class Reference

class CHeaderFooterPrinter : public MPageRegionPrinter

Inherits from

Constructor & Destructor Documentation

CHeaderFooterPrinter(CHeaderFooter &, TRect)

CHeaderFooterPrinter(CHeaderFooter &aHeaderFooter,
TRectaHeaderFooterRect
)[protected]

Parameters

CHeaderFooter & aHeaderFooter
TRect aHeaderFooterRect

~CHeaderFooterPrinter()

~CHeaderFooterPrinter()[virtual]

Member Functions Documentation

ConstructL()

voidConstructL()[protected]

DrawTextL(CGraphicsDevice *)

voidDrawTextL(CGraphicsDevice *aDevice)[private]

Parameters

CGraphicsDevice * aDevice

NewL(CHeaderFooter &, TRect)

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

Parameters

CHeaderFooter & aHeaderFooter
TRect aHeaderFooterRect

PrintBandL(CGraphicsDevice *, TInt, const TBandAttributes &)

voidPrintBandL(CGraphicsDevice *aDevice,
TIntaPageNo,
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 * aDevicePointer to the graphics device representing the printer.
TInt aPageNoThe number of the page containing the band to be printed.
const TBandAttributes & aBandInPixelsAttributes of the band to be printed.

SetBandRect()

voidSetBandRect()[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]