class MPrintProcessObserver |
Print progress and status notification interface class.
The notification functions are called before, during and after a print or print preview operation, to give notification of its progress.
The print process observer will often be the GUI's standard print progress or print preview dialog.
An object of a class which implements this interface may be passed as a parameter to CPrintSetup::StartPrintL(), or to CPrintSetup::StartPreviewPrintL().
Public Member Functions | |
---|---|
void | NotifyBandPrinted(TInt, TInt, TInt) |
void | NotifyPrintEnded(TInt) |
void | NotifyPrintStarted(TPrintParameters) |
void | NotifyBandPrinted | ( | TInt | aPercentageOfPagePrinted, |
TInt | aCurrentPageNum, | |||
TInt | aCurrentCopyNum | |||
) | [pure virtual] |
Notifies that a band is about to be printed.
It may be used to display print progress information, including the current page number. It is called immediately before each band is printed.
void | NotifyPrintEnded | ( | TInt | anErrorCode | ) | [pure virtual] |
Notifies that the print or print preview operation has completed.
It may be used to display information about how the operation completed, for example any errors that occurred. It is called once, immediately after the print job terminates.
TInt anErrorCode | KErrNone if the print job completed successfully, otherwise another of the system-wide error codes. |
void | NotifyPrintStarted | ( | TPrintParameters | aPrintParams | ) | [pure virtual] |
Notifies that a print or print preview operation is about to begin.
It may be used to display information about the document to be printed. It is called once, immediately before printing or print previewing begins.
When subclassing, add variables to store initialisation information as required.
TPrintParameters aPrintParams | The parameters for the print job. |
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.