35#include <wx/dcmemory.h>
57 virtual bool HasPage(
int num)
override;
59 virtual void GetPageInfo(
int *minPage,
int *maxPage,
int *fromPage,
int *toPage)
override;
61 virtual bool OnBeginDocument(
int startPage,
int endPage)
override;
63 virtual void OnPreparePrinting()
override;
67 std::unique_ptr<GroupCell> m_tree;
69 std::vector<const Cell *> m_pages;
74 const double m_scaleFactor;
This file defines the class GroupCell that bundles input and output in the worksheet.
The configuration storage for the current worksheet.
Definition: Configuration.h:85
A cell grouping input (and, if there is one, also the output) cell to a foldable item.
Definition: GroupCell.h:74
Sets the configuration's "printing" flag until this class is left.
Definition: Configuration.h:1282
Definition: Printout.h:42
void Recalculate()
Determine the sizes of all worksheet objects.
Definition: Printout.cpp:275
virtual bool OnPrintPage(int num) override
Is called by wxWidgets when it wants us to print a specific page.
Definition: Printout.cpp:75