66 return m_innerCell.get();
70 return m_boxname.get();
83 void MakeBreakupCells();
88 std::unique_ptr<Cell> m_open;
89 std::unique_ptr<Cell> m_innerCell;
90 std::unique_ptr<TextCell> m_comma;
91 std::unique_ptr<TextCell> m_boxname;
92 std::unique_ptr<Cell> m_close;
97 static void InitBitFields_NamedBoxCell()
102 void Recalculate(
const AFontSize fontsize)
const override;
105 void SetCurrentPoint(wxPoint point)
override;
106 void Draw(wxDC *dc, wxDC *antialiassingDC)
override;
108 wxString ToMathML()
const override;
109 wxString ToMatlab()
const override;
110 wxString ToOMML()
const override;
111 wxString ToString()
const override;
112 wxString ToTeX()
const override;
113 wxString ToXML()
const override;
The definition of the base class of all cells the worksheet consists of.
A Type-Safe Fixed-Point Font Size.
Definition: FontAttribs.h:97
A cached integer value.
Definition: CachedValue.h:45
A class that carries information about the type of a cell.
Definition: Cell.h:93
The base class all cell types the worksheet can consist of are derived from.
Definition: Cell.h:142
virtual void SetCurrentPoint(wxPoint point)
Pass 2: Arrangement.
Definition: Cell.cpp:466
The configuration storage for the current worksheet.
Definition: Configuration.h:86
A cell grouping input (and, if there is one, also the output) cell to a foldable item.
Definition: GroupCell.h:87
A cell that represents a box(x) block.
Definition: NamedBoxCell.h:51
std::unique_ptr< Cell > Copy(GroupCell *group) const override
Create a copy of this cell.
size_t GetInnerCellCount() const override
The number of inner cells - for use by the iterators.
Definition: NamedBoxCell.h:60
void SetNextToDraw(Cell *next) const override
Tells this cell which one should be the next cell to be drawn.
Definition: NamedBoxCell.cpp:215
bool BreakUp() const override
Try to split this command into lines to make it fit on the screen.
Definition: NamedBoxCell.cpp:201
Cell * GetInnerCell(size_t index) const override
Retrieve an inner cell with given index which must be less than GetInnerCellCount.
Definition: NamedBoxCell.h:61
const CellTypeInfo & GetInfo() override
Returns the information about this cell's type.