Location:
GRDPRINT.H
Link against: grid.lib
class CGridPrinter : public CBase, public MPageRegionPrinter;
Handles printing and print preview functionality for grid.
MPageRegionPrinter
- Interface for printing in bands
CBase
- Base class for all classes to be instantiated on the heap
CGridPrinter
- Handles printing and print preview functionality for grid
Defined in CGridPrinter
:
GridLay()
, NewL()
, PaginateL()
, PrintBandL()
, SetPageSizeInTwipsL()
, SetRealPrintingDeviceMap()
, SetTopLeftMargin()
, ~CGridPrinter()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CGridPrinter *NewL(CGridLay *aGridLay, CGridLabelImg *aPrintLabelImg, CGridCellImg *aPrintCellImg, TZoomFactor
*aZoomFactor);
Creates a new grid printer object.
|
|
virtual IMPORT_C ~CGridPrinter();
Destructor.
Frees resources before destruction of the object.
inline void SetRealPrintingDeviceMap(const MGraphicsDeviceMap *aGraphicsDeviceMap);
Supplies the object that deals with the mapping between twips and device-specific units for a specific printer.
|
IMPORT_C void SetTopLeftMargin(const TPoint &aTlMarginInTwips);
Sets the top left margin.
|
IMPORT_C void SetPageSizeInTwipsL(const TSize &aSizeInTwips);
Sets the size of the page.
|
inline CGridLay &GridLay();
Gets the grid layout used by this printing object.
Note that this is not the same object passed to CGridPrinter::NewL()
. Internally, the class creates its own CGridLay
object from the information supplied in the CGridLay
object passed to CGridPrinter::NewL()
.
|
virtual IMPORT_C void PrintBandL(CGraphicsDevice *aDevice, TInt aPageNo, const TBandAttributes &aBandInPixels);
Prints a band.
The function implements MPageRegionPrinter::PrintBandL()
.
!For Now
|