| Code::Blocks
    SVN r11506
    | 
#include <cbeditorprintout.h>
| Public Member Functions | |
| cbEditorPrintout (const wxString &title, cbStyledTextCtrl *control, bool selectionOnly) | |
| ~cbEditorPrintout () override | |
| bool | OnPrintPage (int page) override | 
| bool | HasPage (int page) override | 
| void | GetPageInfo (int *minPage, int *maxPage, int *selPageFrom, int *selPageTo) override | 
| bool | OnBeginDocument (int startPage, int endPage) override | 
| Protected Member Functions | |
| bool | ScaleDC (wxDC *dc) | 
| Protected Attributes | |
| cbStyledTextCtrl * | m_TextControl | 
| wxRect | m_pageRect | 
| wxRect | m_printRect | 
| int | m_printed | 
| int | m_SelStart | 
| int | m_SelEnd | 
| wxArrayInt * | m_pPageSelStart | 
Definition at line 13 of file cbeditorprintout.h.
| cbEditorPrintout::cbEditorPrintout | ( | const wxString & | title, | 
| cbStyledTextCtrl * | control, | ||
| bool | selectionOnly | ||
| ) | 
Definition at line 25 of file cbeditorprintout.cpp.
References wxScintilla::GetLength(), wxScintilla::GetSelectedText(), wxScintilla::GetSelectionEnd(), wxScintilla::GetSelectionStart(), wxString::IsEmpty(), m_pPageSelStart, m_SelEnd, and m_SelStart.
| 
 | override | 
Definition at line 40 of file cbeditorprintout.cpp.
References m_pPageSelStart.
| 
 | override | 
Definition at line 78 of file cbeditorprintout.cpp.
References wxScintilla::FormatRange(), g_printer, wxPrintData::GetOrientation(), wxPrintData::GetPaperId(), wxPrintDialogData::GetPrintData(), wxPrinter::GetPrintDialogData(), HasPage(), m_pageRect, m_pPageSelStart, m_printed, m_printRect, m_SelEnd, m_SelStart, m_TextControl, ScaleDC(), and wxLANDSCAPE.
| 
 | override | 
Definition at line 73 of file cbeditorprintout.cpp.
References m_printed, and m_SelEnd.
Referenced by GetPageInfo().
| 
 | override | 
Definition at line 162 of file cbeditorprintout.cpp.
References _T, LogManager::DebugLog(), F(), Manager::Get(), Manager::GetLogManager(), and m_pPageSelStart.
| 
 | override | 
Definition at line 47 of file cbeditorprintout.cpp.
References _T, LogManager::DebugLog(), F(), wxScintilla::FormatRange(), Manager::Get(), Manager::GetLogManager(), m_pageRect, m_pPageSelStart, m_printed, m_printRect, m_SelEnd, m_TextControl, and ScaleDC().
| 
 | protected | 
Definition at line 177 of file cbeditorprintout.cpp.
Referenced by GetPageInfo(), and OnPrintPage().
| 
 | protected | 
Definition at line 25 of file cbeditorprintout.h.
Referenced by GetPageInfo(), and OnPrintPage().
| 
 | protected | 
Definition at line 30 of file cbeditorprintout.h.
Referenced by cbEditorPrintout(), GetPageInfo(), OnBeginDocument(), OnPrintPage(), and ~cbEditorPrintout().
| 
 | protected | 
Definition at line 27 of file cbeditorprintout.h.
Referenced by GetPageInfo(), HasPage(), and OnPrintPage().
| 
 | protected | 
Definition at line 26 of file cbeditorprintout.h.
Referenced by GetPageInfo(), and OnPrintPage().
| 
 | protected | 
Definition at line 29 of file cbeditorprintout.h.
Referenced by cbEditorPrintout(), GetPageInfo(), HasPage(), and OnPrintPage().
| 
 | protected | 
Definition at line 28 of file cbeditorprintout.h.
Referenced by cbEditorPrintout(), and GetPageInfo().
| 
 | protected | 
Definition at line 24 of file cbeditorprintout.h.
Referenced by GetPageInfo(), and OnPrintPage().
 1.8.13
 1.8.13