Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <PDRSTORE.H>
Link against: pdrstr.lib

Class CPdrControl

class CPdrControl : public CPrinterControl;

Description

Derivation

Members

Defined in CPdrControl:

Inherited from CBase:

Inherited from CPrinterControl:


Construction and destruction


~CPdrControl()

IMPORT_C ~CPdrControl();

Description


CPdrControl(CPdrDevice *,CPrinterPort *)

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

Description

Parameters

CPdrDevice *aPdrDevice

CPrinterPort *aPrinterPort


ConstructL(CStreamStore &,TStreamId)

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

Description

Parameters

CStreamStore &aStore

TStreamId aStreamId

[Top]


Member functions


CreateContext(CGraphicsContext *&)

IMPORT_C TInt CreateContext(CGraphicsContext *&aGC);

Description

Parameters

CGraphicsContext *&aGC

Return value

TInt


BandsPerPage()

IMPORT_C virtual TInt BandsPerPage();

Description

Gets the number of bands per page.

Return value

TInt

The number of bands on each page.


QueueGetBand(TRequestStatus &,TBandAttributes &)

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

Description

Parameters

TRequestStatus &aStatus

TBandAttributes &aBand

Return value

CPrinterControl::TMoreOnPage

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


QueueEndPrint(TRequestStatus &)

IMPORT_C virtual 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 CPdrControl::QueueGetBand(TRequestStatus &,TBandAttributes &) returns ENoMoreToPrint.

Parameters

TRequestStatus &aStatus

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


AbortPrint()

IMPORT_C virtual void AbortPrint();

Description

Tidy up synchronously in a short time.


DrawTextL(const TPoint &,const TFontUnderline,const TFontStrikethrough,const TRgb &,const CInfoFont *,const TDesC &)

IMPORT_C virtual 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 TDesC16 &aString


IsGraphicsBand()const

IMPORT_C TBool IsGraphicsBand() const;

Description

Return value

TBool


BandedDevice()const

inline CBandedDevice* BandedDevice() const;

Description

Return value

CBandedDevice *


DoQueueGetBandL()

protected: IMPORT_C virtual void DoQueueGetBandL();

Description


DoQueueEndPrintL()

protected: IMPORT_C virtual void DoQueueEndPrintL();

Description


OutputBandL()

protected: virtual void OutputBandL()=0;

Description


MoveToL(const TPoint &)

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

Description

Parameters

const TPoint &aPoint


MoveByL(const TPoint &)

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

Description

Parameters

const TPoint &aVector


OutputTextL(const TPoint &,TInt,const TTextFormat &,const TDesC8 &)

protected: IMPORT_C virtual 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: IMPORT_C virtual void SetPageSizeL();

Description


SetPageOrientationL()

protected: IMPORT_C virtual void SetPageOrientationL();

Description


SetFontPostureL(const TFontPosture)

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

Description

Parameters

const TFontPosture aPosture


SetFontStrokeWeightL(const TFontStrokeWeight)

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

Description

Parameters

const TFontStrokeWeight aStrokeWeight


SetTextColorL(const TRgb &)

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

Description

Parameters

const TRgb &aColor


CommandL(const TInt)

protected: IMPORT_C virtual 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