#include <PDRSTORE.H>
Link against:
pdrstr.lib
class CPdrControl : public CPrinterControl;
Description
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CPdrControl
- (No abstract)
Members
Defined in CPdrControl
:
AbortPrint()
Tidy up synchronously in a short time.
BandedDevice()const
BandsPerPage()
Gets the number of bands per page.
CPdrControl(CPdrDevice *,CPrinterPort *)
CommandL(const TInt)
CompressBuffer()
ConstructL(CStreamStore &,TStreamId)
CreateContext(CGraphicsContext *&)
DoQueueEndPrintL()
DoQueueGetBandL()
DrawTextL(const TPoint &,const TFontUnderline,const TFontStrikethrough,const TRgb &,const CInfoFont *,const TDesC &)
IsGraphicsBand()const
MoveByL(const TPoint &)
MoveToL(const TPoint &)
OutputBandL()
OutputTextL(const TPoint &,TInt,const TTextFormat &,const TDesC8 &)
QueueEndPrint(TRequestStatus &)
Terminates the print process.
QueueGetBand(TRequestStatus &,TBandAttributes &)
SetFontPostureL(const TFontPosture)
SetFontStrokeWeightL(const TFontStrokeWeight)
SetPageOrientationL()
SetPageSizeL()
SetTextColorL(const TRgb &)
TransformBuffer()
iBandIndex
iBandedDevice
iEntryIndex
iPageBuffer
iPageText
iPdrDevice
iPosition
iResources
iTextFormat
~CPdrControl()
Inherited from CBase
:
Inherited from CPrinterControl
:
Construction and destruction
IMPORT_C ~CPdrControl();
Description
CPdrControl(CPdrDevice *,CPrinterPort *)
protected: IMPORT_C CPdrControl(CPdrDevice *aPdrDevice, CPrinterPort *aPrinterPort);
Description
Parameters
ConstructL(CStreamStore &,TStreamId)
protected: IMPORT_C void ConstructL(CStreamStore &aStore, TStreamId aStreamId);
Description
Parameters
CreateContext(CGraphicsContext *&)
IMPORT_C TInt CreateContext(CGraphicsContext *&aGC);
Description
Parameters
Return value
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
Return value
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.
|
|
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
IMPORT_C TBool IsGraphicsBand() const;
Description
Return value
inline CBandedDevice* BandedDevice() const;
Description
Return value
protected: IMPORT_C virtual void DoQueueGetBandL();
Description
protected: IMPORT_C virtual void DoQueueEndPrintL();
Description
protected: virtual void OutputBandL()=0;
Description
protected: IMPORT_C virtual void MoveToL(const TPoint &aPoint);
Description
Parameters
protected: IMPORT_C virtual void MoveByL(const TPoint &aVector);
Description
Parameters
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 |
|
|
protected: IMPORT_C virtual void SetPageSizeL();
Description
protected: IMPORT_C virtual void SetPageOrientationL();
Description
SetFontPostureL(const TFontPosture)
protected: IMPORT_C virtual void SetFontPostureL(const TFontPosture aPosture);
Description
Parameters
SetFontStrokeWeightL(const TFontStrokeWeight)
protected: IMPORT_C virtual void SetFontStrokeWeightL(const TFontStrokeWeight aStrokeWeight);
Description
Parameters
SetTextColorL(const TRgb &)
protected: IMPORT_C virtual void SetTextColorL(const TRgb &aColor);
Description
Parameters
protected: IMPORT_C virtual void CommandL(const TInt anId);
Description
Parameters
protected: IMPORT_C TBool TransformBuffer();
Description
Return value
protected: IMPORT_C TBool CompressBuffer();
Description
Return value
protected: CPdrDevice * iPdrDevice;
Description
protected: CPageBuffer * iPageBuffer;
Description
protected: CPdrResources * iResources;
Description
protected: CBandedDevice * iBandedDevice;
Description
protected: CPageText * iPageText;
Description
protected: TInt iBandIndex;
Description
protected: TInt iEntryIndex;
Description
protected: TPoint iPosition;
Description
protected: TTextFormat iTextFormat;
Description