Handles printing of traces.
More...
#include <printout.h>
List of all members.
Public Member Functions |
| | wxStfPrintout (const wxChar *title=_T("Printout")) |
| | Constructor.
|
| bool | OnPrintPage (int page) |
| | Called by the framework when a page should be printed.
|
| bool | HasPage (int page) |
| | Checks whether a page exists.
|
| bool | OnBeginDocument (int startPage, int endPage) |
| | Called by the framework at the start of document printing.
|
| void | GetPageInfo (int *minPage, int *maxPage, int *selPageFrom, int *selPageTo) |
| | Retrieve information about the pages that will be printed.
|
|
void | DrawPageOne () |
| | Prints the first (and only) page.
|
Detailed Description
Handles printing of traces.
Constructor & Destructor Documentation
| wxStfPrintout::wxStfPrintout |
( |
const wxChar * |
title = _T("Printout") | ) |
|
Member Function Documentation
| void wxStfPrintout::GetPageInfo |
( |
int * |
minPage, |
|
|
int * |
maxPage, |
|
|
int * |
selPageFrom, |
|
|
int * |
selPageTo |
|
) |
| |
Retrieve information about the pages that will be printed.
- Parameters:
-
| minPage | On return, a pointer to the minimal page number allowed. |
| maxPage | On return, a pointer to the maximal page number allowed. |
| selPageFrom | On return, a pointer to the minimal selected page number allowed. |
| selPageTo | On return, a pointer to the maximal selected page number allowed. |
| bool wxStfPrintout::HasPage |
( |
int |
page | ) |
|
Checks whether a page exists.
- Parameters:
-
| page | The page number to be checked. |
- Returns:
- True if page exists.
| bool wxStfPrintout::OnBeginDocument |
( |
int |
startPage, |
|
|
int |
endPage |
|
) |
| |
Called by the framework at the start of document printing.
- Parameters:
-
| startPage | Page from which to start printing. |
| endPage | Page at which to end printing. |
- Returns:
- false cancels the print job.
| bool wxStfPrintout::OnPrintPage |
( |
int |
page | ) |
|
Called by the framework when a page should be printed.
- Parameters:
-
| page | The page number to be printed |
- Returns:
- false will cancel the print job.
The documentation for this class was generated from the following file: