#include <frmprint.h>
Link against: form.lib
class CTextPageRegionPrinter : public CBase, public MPageRegionPrinter, public CBase, public MPageRegionPrinter |
Public Member Functions | |
---|---|
~CTextPageRegionPrinter() | |
IMPORT_C CTextPageRegionPrinter * | NewL(MLayDoc *, CPrinterDevice *) |
virtual IMPORT_C void | PrintBandL(CGraphicsDevice *, TInt, const TBandAttributes &) |
IMPORT_C void | SetDocument(MLayDoc *) |
IMPORT_C void | SetFirstPageOfDoc(TInt) |
IMPORT_C void | SetPageList(const CArrayFix< TInt > *) |
IMPORT_C void | SetPageMarginsInTwips(const TMargins &) |
IMPORT_C void | SetPageSpecInTwips(const TPageSpec &) |
IMPORT_C void | SetParagraphFillTextOnly(TBool) |
IMPORT_C void | SetPrintPreview(TBool) |
IMPORT_C void | SetPrinterDevice(CPrinterDevice *) |
IMPORT_C void | SetTextMarginWidthsInTwips(TInt, TInt) |
IMPORT_C | ~CTextPageRegionPrinter | ( | ) |
IMPORT_C CTextPageRegionPrinter * | NewL | ( | MLayDoc * | aLayDoc, |
CPrinterDevice * | aPrinterDevice | |||
) | [static] |
Parameters | |
---|---|
aLayDoc | Information needed by the text layout engine to lay out a text object. |
aPrinterDevice | Physical graphics device. |
IMPORT_C void | PrintBandL | ( | CGraphicsDevice * | aLayoutDevice, |
TInt | aPageNo, | |||
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).
IMPORT_C void | SetDocument | ( | MLayDoc * | aDoc | ) |
Sets the layout document.
Parameters | |
---|---|
aDoc | Layout document. |
IMPORT_C void | SetFirstPageOfDoc | ( | TInt | aFirstPage | ) |
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).
IMPORT_C void | SetParagraphFillTextOnly | ( | TBool | aFillTextOnly | ) |
Sets the fill to either the text box or whole view rect occupied by paragraph. Deprecated7.0
IMPORT_C void | SetPrinterDevice | ( | CPrinterDevice * | aPrinterDevice | ) |
Sets the printer device.
Parameters | |
---|---|
aPrinterDevice | Physical graphics device. |