Stimfit 0.12.7
Public Member Functions

Handles printing of traces. More...

#include <printout.h>

Inheritance diagram for wxStfPrintout:
Inheritance graph
[legend]
Collaboration diagram for wxStfPrintout:
Collaboration graph
[legend]

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"))

Constructor.

Parameters:
titlePrintout title

Member Function Documentation

void wxStfPrintout::GetPageInfo ( int *  minPage,
int *  maxPage,
int *  selPageFrom,
int *  selPageTo 
)

Retrieve information about the pages that will be printed.

Parameters:
minPageOn return, a pointer to the minimal page number allowed.
maxPageOn return, a pointer to the maximal page number allowed.
selPageFromOn return, a pointer to the minimal selected page number allowed.
selPageToOn return, a pointer to the maximal selected page number allowed.
bool wxStfPrintout::HasPage ( int  page)

Checks whether a page exists.

Parameters:
pageThe 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:
startPagePage from which to start printing.
endPagePage 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:
pageThe page number to be printed
Returns:
false will cancel the print job.

The documentation for this class was generated from the following file: