 |
wxMaxima
|
Go to the documentation of this file.
47 std::unique_ptr<Cell> &&num, std::unique_ptr<Cell> &&denom);
66 void Draw(wxPoint point)
override;
68 void SetFracStyle(
FracType style) { m_fracStyle = style; }
75 wxString
ToOMML()
const override;
77 wxString
ToTeX()
const override;
78 wxString
ToXML()
const override;
92 void MakeDivideCell();
95 Cell *Num()
const {
return m_numParenthesis->GetInner(); }
97 Cell *Denom()
const {
return m_denomParenthesis->GetInner(); }
100 std::unique_ptr<ParenCell>
const m_numParenthesis;
102 std::unique_ptr<ParenCell>
const m_denomParenthesis;
104 std::unique_ptr<TextCell> m_divideOwner;
110 Cell* m_displayedNum = {};
114 Cell* m_displayedDenom = {};
118 int m_protrusion = 0;
125 int m_horizontalGapLeft = 0;
132 int m_horizontalGapRight = 0;
142 m_inExponent =
false;
145 bool m_inExponent : 1 ;
Cell * GetInnerCell(int index) const override
Definition: FracCell.h:54
bool BreakUp() override
Definition: FracCell.cpp:330
wxString ToMathML() const override
Convert this cell to a representation fit for saving in a .wxmx file.
Definition: FracCell.cpp:273
wxString ToTeX() const override
Convert this cell to its LaTeX representation.
Definition: FracCell.cpp:254
wxString ToXML() const override
Convert this cell to a representation fit for saving in a .wxmx file.
Definition: FracCell.cpp:288
Definition: FracCell.h:43
wxString ToOMML() const override
Definition: FracCell.cpp:281
int GetInnerCellCount() const override
The number of inner cells - for use by the iterators.
Definition: FracCell.h:52
const CellTypeInfo & GetInfo() override
Returns the information about this cell's type.
FracType
All types of fractions we support.
Definition: FracCell.h:57
void SetNextToDraw(Cell *next) override
Definition: FracCell.cpp:352
Definition: FontAttribs.h:97
std::unique_ptr< Cell > Copy(GroupCell *group) const override
wxString ToMatlab() const override
Convert this cell to its Matlab representation.
Definition: FracCell.cpp:213
void SetExponentFlag() override
Fractions in exponents are shown in their linear form.
Definition: FracCell.cpp:303
Definition: Configuration.h:83
Definition: GroupCell.h:68
A class that carries information about the type of a cell.
Definition: Cell.h:90
wxString ToString() const override
Returns the cell's representation as a string.
Definition: FracCell.cpp:170
bool IsOperator() const override
Answers the question if this is an operator by returning "true".
Definition: FracCell.h:71
void Recalculate(AFontSize fontsize) override
Definition: FracCell.cpp:66