54 std::unique_ptr<Cell> &&start,
55 std::unique_ptr<Cell> &&end);
66 return m_openBracket.get();
72 return m_ellipsis.get();
76 return m_closeBracket.get();
102 return m_close.get();
112 virtual void Draw(wxDC *dc, wxDC *antialiassingDC)
override;
117 virtual wxString
ToMatlab()
const override;
118 wxString
ToOMML()
const override;
119 virtual wxString
ToString()
const override;
120 virtual wxString
ToTeX()
const override;
121 virtual wxString
ToXML()
const override;
124 void DrawBigLeftOpenBracket(wxDC *dc, wxPoint point)
const;
125 void DrawBigRightOpenBracket(wxDC *dc, wxPoint point)
const;
133 std::unique_ptr<Cell> m_open;
134 std::unique_ptr<Cell> m_openBracket;
135 std::unique_ptr<Cell> m_start;
136 std::unique_ptr<TextCell> m_comma;
137 std::unique_ptr<TextCell> m_ellipsis;
138 std::unique_ptr<Cell> m_stop;
139 std::unique_ptr<Cell> m_closeBracket;
140 std::unique_ptr<Cell> m_close;
143 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: IntervalCell.h:50
virtual wxString ToTeX() const override
Convert this cell to its LaTeX representation.
Definition: IntervalCell.cpp:214
virtual wxString ToMatlab() const override
Convert this cell to its Matlab representation.
Definition: IntervalCell.cpp:206
virtual const CellTypeInfo & GetInfo() override
Returns the information about this cell's type.
virtual wxString ToXML() const override
Convert this cell to a representation fit for saving in a .wxmx file.
Definition: IntervalCell.cpp:245
void SetCurrentPoint(wxPoint point) const override
Pass 2: Arrangement.
Definition: IntervalCell.cpp:113
virtual 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: IntervalCell.h:60
Cell * GetBrokenCell(size_t index) const override
Retrieve a piece of this cell's broken (linear/1D) display; see GetBrokenCellCount().
Definition: IntervalCell.h:91
virtual wxString ToString() const override
Returns the cell's representation as a string.
Definition: IntervalCell.cpp:197
wxString ToOMML() const override
Returns the cell's representation as OMML.
Definition: IntervalCell.cpp:223
size_t GetBrokenCellCount() const override
ORDER MATTERS, and this is NOT the same set as GetInnerCellCount()/ GetInnerCell() above: m_openBrack...
Definition: IntervalCell.h:90
bool m_rightBracketOpensRight
Does the "inf" right end mean the closing bracket should point right?
Definition: IntervalCell.h:129
virtual void Draw(wxDC *dc, wxDC *antialiassingDC) override
Pass 3 (Paint): Renders the cell using pre-calculated coordinates.
Definition: IntervalCell.cpp:146
bool m_drawAsAscii
How to create a big parenthesis sign?
Definition: IntervalCell.h:149
wxString ToMathML() const override
Convert this cell to a representation fit for saving in a .wxmx file.
Definition: IntervalCell.cpp:234
bool BreakUp() const override
Try to split this command into lines to make it fit on the screen.
Definition: IntervalCell.cpp:261
void Recalculate(const AFontSize fontsize) const override
Recalculate the size of the cell and the difference between top and center.
Definition: IntervalCell.cpp:67
bool m_leftBracketOpensLeft
Does the "-inf" left end mean the opening bracket should point left?
Definition: IntervalCell.h:127
Cell * GetInnerCell(size_t index) const override
Retrieve an inner cell with given index which must be less than GetInnerCellCount.
Definition: IntervalCell.h:61