50 std::unique_ptr<Cell> &&inner);
64 return m_innerCell.get();
76 virtual void Draw(wxDC *dc, wxDC *antialiassingDC)
override;
81 virtual wxString
ToMatlab()
const override;
82 wxString
ToOMML()
const override;
83 virtual wxString
ToString()
const override;
84 virtual wxString
ToTeX()
const override;
85 virtual wxString
ToXML()
const override;
91 std::unique_ptr<Cell> m_open;
92 std::unique_ptr<Cell> m_innerCell;
93 std::unique_ptr<Cell> m_close;
96 mutable int m_signWidth = 12;
The definition of the base class of all cells the worksheet consists of.
A Type-Safe Fixed-Point Font Size.
Definition: FontAttribs.h:99
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:148
virtual void SetCurrentPoint(wxPoint point) const
Pass 2: Arrangement.
Definition: Cell.cpp:514
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
The class that represents parenthesis that are wrapped around text.
Definition: ListCell.h:46
virtual const CellTypeInfo & GetInfo() override
Returns the information about this cell's type.
virtual std::unique_ptr< Cell > Copy(GroupCell *group) const override
Create a copy of this cell.
Cell * GetInnerCell(size_t index) const override
Retrieve an inner cell with given index which must be less than GetInnerCellCount.
Definition: ListCell.h:59
bool BreakUp() const override
Try to split this command into lines to make it fit on the screen.
Definition: ListCell.cpp:208
bool m_drawAsAscii
How to create a big parenthesis sign?
Definition: ListCell.h:102
virtual wxString ToString() const override
Returns the cell's representation as a string.
Definition: ListCell.cpp:147
wxString ToMathML() const override
Convert this cell to a representation fit for saving in a .wxmx file.
Definition: ListCell.cpp:193
void SetCurrentPoint(wxPoint point) const override
Pass 2: Arrangement.
Definition: ListCell.cpp:92
wxString ToOMML() const override
Returns the cell's representation as OMML.
Definition: ListCell.cpp:186
void Recalculate(const AFontSize fontsize) const override
Recalculate the size of the cell and the difference between top and center.
Definition: ListCell.cpp:59
size_t GetInnerCellCount() const override
ORDER MATTERS: also used, via the default GetBrokenCellCount()/ GetBrokenCell(), as this cell's broke...
Definition: ListCell.h:58
virtual wxString ToTeX() const override
Convert this cell to its LaTeX representation.
Definition: ListCell.cpp:164
virtual void Draw(wxDC *dc, wxDC *antialiassingDC) override
Pass 3 (Paint): Renders the cell using pre-calculated coordinates.
Definition: ListCell.cpp:111
virtual wxString ToMatlab() const override
Convert this cell to its Matlab representation.
Definition: ListCell.cpp:157
virtual wxString ToXML() const override
Convert this cell to a representation fit for saving in a .wxmx file.
Definition: ListCell.cpp:201