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#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 12
79#pragma GCC diagnostic push
80#pragma GCC diagnostic ignored "-Wattributes"
82 [[maybe_unused]]
const double m_scaleFactor;
83#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 12
84#pragma GCC diagnostic pop
This file defines the class GroupCell that bundles input and output in the worksheet.
The configuration storage for the current worksheet.
Definition: Configuration.h:98
A cell grouping input (and, if there is one, also the output) cell to a foldable item.
Definition: GroupCell.h:88
Sets the configuration's "printing" flag until this class is left.
Definition: Configuration.h:1502
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