CTextPageRegionPrinter Class Reference

#include <frmprint.h>

Link against: form.lib

class CTextPageRegionPrinter : public CBase, public MPageRegionPrinter, public CBase, public MPageRegionPrinter

Inherits from

Constructor & Destructor Documentation

~CTextPageRegionPrinter ( )

IMPORT_C~CTextPageRegionPrinter()

Member Function Documentation

NewL ( MLayDoc *, CPrinterDevice * )

IMPORT_C CTextPageRegionPrinter *NewL(MLayDoc *aLayDoc,
CPrinterDevice *aPrinterDevice
)[static]
Page region printer interface.
Post-condition
CTextPageRegionPrinter object is now fully initialised
Parameters
aLayDocInformation needed by the text layout engine to lay out a text object.
aPrinterDevicePhysical graphics device.
Return Value
CTextPageRegionPrinter returned

PrintBandL ( CGraphicsDevice *, TInt, const TBandAttributes & )

IMPORT_C voidPrintBandL(CGraphicsDevice *aLayoutDevice,
TIntaPageNo,
const TBandAttributes &aBandInPixels
)[virtual]

Set the number given to the first page of the document that has been paginated. Typically 1, but might be different (eg for document containing second chapter of book).

SetDocument ( MLayDoc * )

IMPORT_C voidSetDocument(MLayDoc *aDoc)

Sets the layout document.

Parameters
aDocLayout document.

SetFirstPageOfDoc ( TInt )

IMPORT_C voidSetFirstPageOfDoc(TIntaFirstPage)

Set the number given to the first page of the document that has been paginated. Typically 1, but might be different (eg for document containing second chapter of book).

SetPageList ( const CArrayFix< TInt > * )

IMPORT_C voidSetPageList(const CArrayFix< TInt > *aPageList)

Sets the page list.

Parameters
aPageListPage list.

SetPageMarginsInTwips ( const TMargins & )

IMPORT_C voidSetPageMarginsInTwips(const TMargins &aPageMargins)

Sets the page margin in twips.

SetPageSpecInTwips ( const TPageSpec & )

IMPORT_C voidSetPageSpecInTwips(const TPageSpec &aPageSpec)

Sets the Page Spec In Twips.

SetParagraphFillTextOnly ( TBool )

IMPORT_C voidSetParagraphFillTextOnly(TBoolaFillTextOnly)

Sets the fill to either the text box or whole view rect occupied by paragraph. Deprecated7.0

SetPrintPreview ( TBool )

IMPORT_C voidSetPrintPreview(TBoolaPrintPreview)

Sets the print preview.

SetPrinterDevice ( CPrinterDevice * )

IMPORT_C voidSetPrinterDevice(CPrinterDevice *aPrinterDevice)

Sets the printer device.

Parameters
aPrinterDevicePhysical graphics device.

SetTextMarginWidthsInTwips ( TInt, TInt )

IMPORT_C voidSetTextMarginWidthsInTwips(TIntaLabelMarginWidth,
TIntaGutterMarginWidth
)

Sets the text margin widths in twips.