Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: pdrstore.h
Link against: pdrstr.lib

Class CPdrControl

class CPdrControl : public CPrinterControl;

Description

Derivation

Members

Defined in CPdrControl:
AbortPrint(), BandedDevice(), BandsPerPage(), CPdrControl(), CommandL(), CompressBuffer(), ConstructL(), CreateContext(), DoQueueEndPrintL(), DoQueueGetBandL(), DrawTextL(), IsGraphicsBand(), MoveByL(), MoveToL(), OutputBandL(), OutputTextL(), QueueEndPrint(), QueueGetBand(), SetFontPostureL(), SetFontStrokeWeightL(), SetPageOrientationL(), SetPageSizeL(), SetTextColorL(), TransformBuffer(), iBandIndex, iBandedDevice, iEntryIndex, iPageBuffer, iPageText, iPdrDevice, iPosition, iResources, iTextFormat, ~CPdrControl()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CPrinterControl:
EMoreOnPage, ENoMoreOnPage, ENotPrinting, EPrinting, TMoreOnPage, TState, iPrinterPort, iState


Construction and destruction


~CPdrControl()

IMPORT_C ~CPdrControl();

Description


CPdrControl()

protected: IMPORT_C CPdrControl(CPdrDevice *aPdrDevice, CPrinterPort *aPrinterPort);

Description

Parameters

CPdrDevice *aPdrDevice

CPrinterPort *aPrinterPort


ConstructL()

protected: IMPORT_C void ConstructL(CStreamStore &aStore, TStreamId aStreamId);

Description

Parameters

CStreamStore &aStore

TStreamId aStreamId

[Top]


Member functions


CreateContext()

IMPORT_C TInt CreateContext(CGraphicsContext *&aGC);

Description

Parameters

CGraphicsContext *&aGC

Return value

TInt


BandsPerPage()

virtual IMPORT_C TInt BandsPerPage();

Description

Gets the number of bands per page.

Return value

TInt

The number of bands on each page.


QueueGetBand()

virtual IMPORT_C TMoreOnPage QueueGetBand(TRequestStatus &aStatus, TBandAttributes &aBand);

Description

Parameters

TRequestStatus &aStatus

TBandAttributes &aBand

Return value

TMoreOnPage

EMoreOnPage if more to print on the current page, otherwise ENoMoreOnPage.


QueueEndPrint()

virtual IMPORT_C void QueueEndPrint(TRequestStatus &aStatus);

Description

Terminates the print process.

This is an asynchronous function and is called when no more bands in the document remain to be printed.Note that all bands have been printed when no more pages or copies remain to be printed, and QueueGetBand() returns ENoMoreToPrint.

Parameters

TRequestStatus &aStatus

Request status object. On successful completion contains KErrNone, otherwise another of the system-wide error codes.


AbortPrint()

virtual IMPORT_C void AbortPrint();

Description

Tidy up synchronously in a short time.


DrawTextL()

virtual IMPORT_C void DrawTextL(const TPoint &aPoint, const TFontUnderline aUnderlineStyle, const TFontStrikethrough aStrikethroughStyle, const TRgb &aColor, const CInfoFont *aFont, const TDesC &aString);

Description

Parameters

const TPoint &aPoint

const TFontUnderline aUnderlineStyle

const TFontStrikethrough aStrikethroughStyle

const TRgb &aColor

const CInfoFont *aFont

const TDesC &aString


IsGraphicsBand()

IMPORT_C TBool IsGraphicsBand() const;

Description

Return value

TBool


BandedDevice()

inline CBandedDevice *BandedDevice() const;

Description

Return value

CBandedDevice *


DoQueueGetBandL()

protected: virtual IMPORT_C void DoQueueGetBandL();

Description


DoQueueEndPrintL()

protected: virtual IMPORT_C void DoQueueEndPrintL();

Description


OutputBandL()

protected: virtual void OutputBandL()=0;

Description


MoveToL()

protected: virtual IMPORT_C void MoveToL(const TPoint &aPoint);

Description

Parameters

const TPoint &aPoint


MoveByL()

protected: virtual IMPORT_C void MoveByL(const TPoint &aVector);

Description

Parameters

const TPoint &aVector


OutputTextL()

protected: virtual IMPORT_C void OutputTextL(const TPoint &aPoint, TInt aWidthInPixels, const TTextFormat &aTextFormat, const TDesC8 &aString);

Description

Parameters

const TPoint &aPoint

TInt aWidthInPixels

const TTextFormat &aTextFormat

const TDesC8 &aString


SetPageSizeL()

protected: virtual IMPORT_C void SetPageSizeL();

Description


SetPageOrientationL()

protected: virtual IMPORT_C void SetPageOrientationL();

Description


SetFontPostureL()

protected: virtual IMPORT_C void SetFontPostureL(const TFontPosture aPosture);

Description

Parameters

const TFontPosture aPosture


SetFontStrokeWeightL()

protected: virtual IMPORT_C void SetFontStrokeWeightL(const TFontStrokeWeight aStrokeWeight);

Description

Parameters

const TFontStrokeWeight aStrokeWeight


SetTextColorL()

protected: virtual IMPORT_C void SetTextColorL(const TRgb &aColor);

Description

Parameters

const TRgb &aColor


CommandL()

protected: virtual IMPORT_C void CommandL(const TInt anId);

Description

Parameters

const TInt anId


TransformBuffer()

protected: IMPORT_C TBool TransformBuffer();

Description

Return value

TBool


CompressBuffer()

protected: IMPORT_C TBool CompressBuffer();

Description

Return value

TBool

[Top]


Member data


iPdrDevice

protected: CPdrDevice * iPdrDevice;

Description


iPageBuffer

protected: CPageBuffer * iPageBuffer;

Description


iResources

protected: CPdrResources * iResources;

Description


iBandedDevice

protected: CBandedDevice * iBandedDevice;

Description


iPageText

protected: CPageText * iPageText;

Description


iBandIndex

protected: TInt iBandIndex;

Description


iEntryIndex

protected: TInt iEntryIndex;

Description


iPosition

protected: TPoint iPosition;

Description


iTextFormat

protected: TTextFormat iTextFormat;

Description