OpenCPN Partial API docs
Loading...
Searching...
No Matches
BasePrintout Class Referenceabstract

Application print support. More...

#include <printout_base.h>

Inheritance diagram for BasePrintout:
ChartPrintout MyRoutePrintout MyTrackPrintout

Public Member Functions

 BasePrintout (const std::string &title=_("OpenCPN print").ToStdString())
 
bool HasPage (int page) override
 
bool OnBeginDocument (int startPage, int endPage) override
 
void GetPageInfo (int *minPage, int *maxPage, int *selPageFrom, int *selPageTo) override
 
virtual bool OnPrintPage (int page) override=0
 

Protected Attributes

int m_pages
 

Detailed Description

Application print support.

Definition at line 30 of file printout_base.h.

Constructor & Destructor Documentation

◆ BasePrintout()

BasePrintout::BasePrintout ( const std::string &  title = _("OpenCPN print").ToStdString())

Definition at line 24 of file printout_base.cpp.

Member Function Documentation

◆ GetPageInfo()

void BasePrintout::GetPageInfo ( int *  minPage,
int *  maxPage,
int *  selPageFrom,
int *  selPageTo 
)
override

Definition at line 34 of file printout_base.cpp.

◆ HasPage()

bool BasePrintout::HasPage ( int  page)
override

Definition at line 27 of file printout_base.cpp.

◆ OnBeginDocument()

bool BasePrintout::OnBeginDocument ( int  startPage,
int  endPage 
)
override

Definition at line 29 of file printout_base.cpp.

Member Data Documentation

◆ m_pages

int BasePrintout::m_pages
protected

Definition at line 42 of file printout_base.h.


The documentation for this class was generated from the following files: