CPdrControl Class Reference
class CPdrControl : public CPrinterControl
|
Constructor & Destructor Documentation
CPdrControl(CPdrDevice *, CPrinterPort *)
~CPdrControl()
IMPORT_C
|
~CPdrControl
|
(
|
)
|
|
Member Functions Documentation
AbortPrint()
IMPORT_C void
|
AbortPrint
|
(
|
)
|
[virtual]
|
Aborts the print process before it has completed.
This function should be called if
QueueGetBand()
reports an error.
BandedDevice()
CBandedDevice *
|
BandedDevice
|
(
|
)
|
const [inline]
|
BandsPerPage()
IMPORT_C
TInt
|
BandsPerPage
|
(
|
)
|
[virtual]
|
Gets the number of bands per page.
CommandL(const TInt)
IMPORT_C void
|
CommandL
|
(
|
const
TInt
|
anId
|
)
|
[protected, virtual]
|
CompressBuffer()
IMPORT_C
TBool
|
CompressBuffer
|
(
|
)
|
[protected]
|
ConstructL(CStreamStore &, TStreamId)
CreateContext(CGraphicsContext *&)
DoQueueEndPrintL()
IMPORT_C void
|
DoQueueEndPrintL
|
(
|
)
|
[protected, virtual]
|
DoQueueGetBandL()
IMPORT_C void
|
DoQueueGetBandL
|
(
|
)
|
[protected, virtual]
|
DrawTextL(const TPoint &, const TFontUnderline, const TFontStrikethrough, const TRgb &, const CInfoFont *, const TDesC &)
IsGraphicsBand()
IMPORT_C
TBool
|
IsGraphicsBand
|
(
|
)
|
const
|
MoveByL(const TPoint &)
IMPORT_C void
|
MoveByL
|
(
|
const
TPoint
&
|
aVector
|
)
|
[protected, virtual]
|
MoveToL(const TPoint &)
IMPORT_C void
|
MoveToL
|
(
|
const
TPoint
&
|
aPoint
|
)
|
[protected, virtual]
|
OutputBandL()
void
|
OutputBandL
|
(
|
)
|
[protected, pure virtual]
|
OutputTextL(const TPoint &, TInt, const TTextFormat &, const TDesC8 &)
IMPORT_C void
|
OutputTextL
|
(
|
const
TPoint
&
|
aPoint,
|
|
TInt
|
aWidthInPixels,
|
|
const
TTextFormat
&
|
aTextFormat,
|
|
const
TDesC8
&
|
aString
|
|
)
|
[protected, virtual]
|
QueueEndPrint(TRequestStatus &)
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.
|
QueueGetBand(TRequestStatus &, TBandAttributes &)
Prints the next band on the page.
This is an asynchronous function.
Parameters
TRequestStatus
& aStatus
|
Request status object. On successful completion contains KErrNone, otherwise another of the system-wide error codes.
|
TBandAttributes
& aBand
|
On return, indicates the attributes of the band, including its height and width and whether or not the device will ignore one or other of graphics or text output. This information may be used by applications to draw more efficiently, or may be ignored
|
SetFontPostureL(const TFontPosture)
IMPORT_C void
|
SetFontPostureL
|
(
|
const
TFontPosture
|
aPosture
|
)
|
[protected, virtual]
|
SetFontStrokeWeightL(const TFontStrokeWeight)
IMPORT_C void
|
SetFontStrokeWeightL
|
(
|
const
TFontStrokeWeight
|
aStrokeWeight
|
)
|
[protected, virtual]
|
SetPageOrientationL()
IMPORT_C void
|
SetPageOrientationL
|
(
|
)
|
[protected, virtual]
|
SetPageSizeL()
IMPORT_C void
|
SetPageSizeL
|
(
|
)
|
[protected, virtual]
|
SetTextColorL(const TRgb &)
IMPORT_C void
|
SetTextColorL
|
(
|
const
TRgb
&
|
aColor
|
)
|
[protected, virtual]
|
TransformBuffer()
IMPORT_C
TBool
|
TransformBuffer
|
(
|
)
|
[protected]
|
Member Data Documentation
TInt
iBandIndex
TInt
|
iBandIndex
|
[protected]
|
CBandedDevice * iBandedDevice
CBandedDevice *
|
iBandedDevice
|
[protected]
|
TInt
iEntryIndex
TInt
|
iEntryIndex
|
[protected]
|
CPageBuffer * iPageBuffer
CPageText * iPageText
CPageText *
|
iPageText
|
[protected]
|
CPdrResources * iResources
CPdrResources *
|
iResources
|
[protected]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.