NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
NumeRePrintout.h
Go to the documentation of this file.
1#ifndef NUMEREPRINTOUT_H
2#define NUMEREPRINTOUT_H
3
4
5#include "wx/print.h"
6
7class NumeReEditor;
8class Options;
9
14class NumeRePrintout: public wxPrintout
15{
16
17public:
18
20 NumeRePrintout (NumeReEditor *edit, Options* options, const wxString& title = "");
21
23 bool OnPrintPage (int page);
24 bool OnBeginDocument (int startPage, int endPage);
25 void OnEndDocument();
26
28 bool HasPage (int page);
29 void GetPageInfo (int *minPage, int *maxPage, int *selPageFrom, int *selPageTo);
30
31private:
34 wxRect m_pageRect;
37 wxArrayInt m_pages;
38
39 bool PrintScaling (wxDC *dc);
40};
41
42
43
44#endif //NUMEREPRINTOUT_H
The class of the editor window.
Definition: editor.h:53
bool OnPrintPage(int page)
event handlers
bool OnBeginDocument(int startPage, int endPage)
void GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo)
wxArrayInt m_pages
NumeReEditor * m_edit
bool PrintScaling(wxDC *dc)
Options * m_options
NumeRePrintout(NumeReEditor *edit, Options *options, const wxString &title="")
constructor
bool HasPage(int page)
print functions
This class implements an interface of the internal Settings object adapted to be usable from the GUI.
Definition: Options.h:178