www.pudn.com > TurboPadSource.tar.gz > printout.h


/** 
*    \class Printout 
*    Printout Class 
* 
*    Helps in the printing and previewing of documents. 
*/ 
 
#ifndef Printout_H 
#define Printout_H 
 
#include  
#include "child.h" 
 
class Printout : public wxPrintout 
{ 
    public: 
        Printout(const wxString& title = "", CPtr cFrame = NULL); 
 
        bool HasPage(int page); 
        bool OnBeginDocument(int startPage, int endPage); 
        bool OnPrintPage(int page); 
        void GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo); 
 
    private: 
        CPtr childFrame; 
}; 
 
#endif