|
||
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()
Gets the grid layout used by this printing object.NewL(CGridLay *,CGridLabelImg *,CGridCellImg *,TZoomFactor *)
Creates a new grid printer object.PaginateL()
Paginates the grid. PrintBandL(CGraphicsDevice *,TInt,const TBandAttributes &)
Prints a band.SetPageSizeInTwipsL(const TSize &)
Sets the size of the page.SetRealPrintingDeviceMap(const MGraphicsDeviceMap *)
Supplies the object that deals with the mapping between twips and device-specifi...SetTopLeftMargin(const TPoint &)
Sets the top left margin.~CGridPrinter()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static CGridPrinter* NewL(CGridLay *aGridLay, CGridLabelImg *aPrintLabelImg, CGridCellImg *aPrintCellImg, TZoomFactor
*aZoomFactor);
Creates a new grid printer object.
|
|
CGridLay::ConstructL(CGridLay *,CGridImg *)
A second-phase constructor, taking an existing grid layout object, that construc...IMPORT_C virtual ~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(CGridLay *,CGridLabelImg *,CGridCellImg *,TZoomFactor *)
. Internally, the class creates its own CGridLay
object from the information supplied in the CGridLay
object passed to CGridPrinter::NewL(CGridLay *,CGridLabelImg *,CGridCellImg *,TZoomFactor *)
.
|
IMPORT_C virtual void PrintBandL(CGraphicsDevice *aDevice, TInt aPageNo, const TBandAttributes &aBandInPixels);
Prints a band.
The function implements MPageRegionPrinter::PrintBandL(CGraphicsDevice *,TInt,const TBandAttributes &)
.
!For Now
|