23 const wxString& =
"yatish.pdf");
30 void Charts (
const wxListCtrl *);
31 void Listing (
const wxListCtrl *);
34 void PieChart (
double,
double,
double,
double,
35 const Map4pie&,
const wxColour *);
Interacts with yatish tables in a SQLite database.
Exports a PDF reflecting the current state of panel #2.
void Footer()
PDF footer (page count).
void Listing(const wxListCtrl *)
Writes a table corresponding to the current state of panel #2 (Ctrl-T).
~yatishPDF()
Writes the PDF document to the file which was given to the constructor.
void Header()
Creates the header of the PDF document, according to user preferences (Ctrl-P).
void NoMoreThan6(Map4pie &)
Modifies its argument map so that there is no more than six records.
yatishPDF(const Settings &, const wxListCtrl *, const yatishDBsqlite &, const wxString &="yatish.pdf")
Prints a title then calls other member functions for the body of the PDF document.
void Charts(const wxListCtrl *)
Draws charts from the timeslot view only (6 columns).
void Summary(const yatishDBsqlite &)
A few pieces of information about the data to be shown by [Charts() and] Listing().
void PieChart(double, double, double, double, const Map4pie &, const wxColour *)
Modified from charting.cpp in the wxPdfDocument samples.
As its names implies: the class holding YATiSh settings.
map< string, unsigned long > Map4pie