wxHtmlEasyPrinting indentation changes + CreatePrintout,DoPrint and DoPreview virtual and protected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-08-23 18:56:41 +00:00
parent b838cfc915
commit 2978621101

View File

@@ -97,7 +97,7 @@ enum {
class WXDLLEXPORT wxHtmlPrintout : public wxPrintout
{
public:
public:
wxHtmlPrintout(const wxString& title = "Printout");
~wxHtmlPrintout();
@@ -134,7 +134,7 @@ class WXDLLEXPORT wxHtmlPrintout : public wxPrintout
void GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo);
bool OnBeginDocument(int startPage, int endPage);
private:
private:
void RenderPage(wxDC *dc, int page);
// renders one page into dc
@@ -144,7 +144,7 @@ class WXDLLEXPORT wxHtmlPrintout : public wxPrintout
// counts pages and fills m_NumPages and m_PageBreaks
private:
private:
int m_NumPages;
int m_PageBreaks[wxHTML_PRINT_MAX_PAGES];
@@ -175,8 +175,7 @@ class WXDLLEXPORT wxHtmlPrintout : public wxPrintout
class WXDLLEXPORT wxHtmlEasyPrinting : public wxObject
{
public:
public:
wxHtmlEasyPrinting(const wxString& name = "Printing", wxFrame *parent_frame = NULL);
~wxHtmlEasyPrinting();
@@ -209,12 +208,12 @@ class WXDLLEXPORT wxHtmlEasyPrinting : public wxObject
// return page setting data objects.
// (You can set their parameters.)
private:
wxHtmlPrintout *CreatePrintout();
bool DoPreview(wxHtmlPrintout *printout1, wxHtmlPrintout *printout2);
bool DoPrint(wxHtmlPrintout *printout);
protected:
virtual wxHtmlPrintout *CreatePrintout();
virtual bool DoPreview(wxHtmlPrintout *printout1, wxHtmlPrintout *printout2);
virtual bool DoPrint(wxHtmlPrintout *printout);
private:
wxPrintData *m_PrintData;
wxPageSetupDialogData *m_PageSetupData;
wxString m_Name;