»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Graphics PDRSTORE »
CPdrControl
Location:
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()
, 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
IMPORT_C ~CPdrControl();
Description
protected: IMPORT_C CPdrControl(CPdrDevice *aPdrDevice, CPrinterPort *aPrinterPort);
Description
Parameters
protected: IMPORT_C void ConstructL(CStreamStore &aStore, TStreamId aStreamId);
Description
Parameters
IMPORT_C TInt CreateContext(CGraphicsContext *&aGC);
Description
Parameters
Return value
virtual IMPORT_C TInt BandsPerPage();
Description
Gets the number of bands per page.
Return value
TInt
|
The number of bands on each page.
|
|
virtual IMPORT_C TMoreOnPage QueueGetBand(TRequestStatus &aStatus, TBandAttributes &aBand);
Description
Parameters
Return value
TMoreOnPage
|
EMoreOnPage if more to print on the current page, otherwise ENoMoreOnPage.
|
|
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.
|
|
virtual IMPORT_C void AbortPrint();
Description
Tidy up synchronously in a short time.
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
IMPORT_C TBool IsGraphicsBand() const;
Description
Return value
inline CBandedDevice *BandedDevice() const;
Description
Return value
protected: virtual IMPORT_C void DoQueueGetBandL();
Description
protected: virtual IMPORT_C void DoQueueEndPrintL();
Description
protected: virtual void OutputBandL()=0;
Description
protected: virtual IMPORT_C void MoveToL(const TPoint &aPoint);
Description
Parameters
protected: virtual IMPORT_C void MoveByL(const TPoint &aVector);
Description
Parameters
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 |
|
|
protected: virtual IMPORT_C void SetPageSizeL();
Description
protected: virtual IMPORT_C void SetPageOrientationL();
Description
protected: virtual IMPORT_C void SetFontPostureL(const TFontPosture aPosture);
Description
Parameters
protected: virtual IMPORT_C void SetFontStrokeWeightL(const TFontStrokeWeight aStrokeWeight);
Description
Parameters
protected: virtual IMPORT_C void SetTextColorL(const TRgb &aColor);
Description
Parameters
protected: virtual IMPORT_C 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