21#include "ocpn_frame.h"
22#include "printout_base.h"
24BasePrintout::BasePrintout(
const std::string& title)
25 : wxPrintout(title), m_pages(1) {}
27bool BasePrintout::HasPage(
int page) {
return page > 0 && page <= m_pages; }
29bool BasePrintout::OnBeginDocument(
int startPage,
int endPage) {
30 if (!wxPrintout::OnBeginDocument(startPage, endPage))
return false;
34void BasePrintout::GetPageInfo(
int* minPage,
int* maxPage,
int* selPageFrom,