matrixelement.h
423 virtual void writeMathML( TQDomDocument& doc, TQDomNode& parent, bool oasisFormat = false ) const ;
Base for all font commands that act on the current selection.
Definition kformulacommand.h:490
virtual int readContentFromMathMLDom(TQDomNode &node)
Reads our content from the MathML node.
Definition matrixelement.cpp:1118
virtual void entered(SequenceElement *child)
The cursor has entered one of our child sequences.
Definition matrixelement.cpp:335
virtual void selectChild(FormulaCursor *, BasicElement *)
Inserts all new children at the cursor position.
Definition matrixelement.cpp:718
virtual void writeDom(TQDomElement element)
Appends our attributes to the dom element.
Definition matrixelement.cpp:764
virtual TQString getTagName() const
Returns the tag name of this element type.
Definition matrixelement.h:212
virtual TQString toLatex()
Moves the cursor away from the given child.
Definition matrixelement.cpp:1208
virtual bool readAttributesFromDom(TQDomElement element)
Reads our attributes from the element.
Definition matrixelement.cpp:789
virtual void calcSizes(const ContextStyle &cstyle, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style)
Calculates our width and height and our children's parentPosition.
Definition matrixelement.cpp:435
virtual SequenceElement * getMainChild()
We define the Main Child of a matrix to be the first row/column.
Definition matrixelement.cpp:713
virtual bool readAttributesFromMathMLDom(const TQDomElement &element)
Reads our attributes from the MathML element.
Definition matrixelement.cpp:861
virtual bool readContentFromDom(TQDomNode &node)
Reads our content from the node.
Definition matrixelement.cpp:832
virtual BasicElement * goToPos(FormulaCursor *, bool &handled, const LuPixelPoint &point, const LuPixelPoint &parentOrigin)
Sets the cursor and returns the element the point is in.
Definition matrixelement.cpp:341
virtual void dispatchFontCommand(FontCommand *cmd)
Draws the whole element including its children.
virtual void goInside(FormulaCursor *cursor)
Enters this element while moving to the left starting inside the element `from'.
Definition matrixelement.cpp:706
virtual void entered(SequenceElement *child)
The cursor has entered one of our child sequences.
Definition matrixelement.cpp:2177
virtual void writeDom(TQDomElement element)
Appends our attributes to the dom element.
Definition matrixelement.cpp:2580
virtual void writeMathML(TQDomDocument &doc, TQDomNode &parent, bool oasisFormat=false) const
Same as above, just MathML.
Definition matrixelement.cpp:2594
virtual void insert(FormulaCursor *, TQPtrList< BasicElement > &, Direction)
Inserts all new children at the cursor position.
Definition matrixelement.cpp:2500
BasicElement * goToPos(FormulaCursor *cursor, bool &handled, const LuPixelPoint &point, const LuPixelPoint &parentOrigin)
Returns the element the point is in.
Definition matrixelement.cpp:2186
virtual void remove(FormulaCursor *, TQPtrList< BasicElement > &, Direction)
Removes all selected children and returns them.
Definition matrixelement.cpp:2518
virtual void goInside(FormulaCursor *cursor)
Sets the cursor inside this element to its start position.
Definition matrixelement.cpp:2207
virtual void calcSizes(const ContextStyle &cstyle, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style)
Enters this element while moving to the left starting inside the element `from'.
Definition matrixelement.cpp:2395
virtual bool readContentFromDom(TQDomNode &node)
Reads our content from the node.
Definition matrixelement.cpp:2644
virtual void normalize(FormulaCursor *, Direction)
Moves the cursor to a normal place where new elements might be inserted.
Definition matrixelement.cpp:2535
virtual void selectChild(FormulaCursor *cursor, BasicElement *child)
Sets the cursor to select the child.
Definition matrixelement.cpp:2567
virtual void dispatchFontCommand(FontCommand *cmd)
Draws the whole element including its children.
Definition matrixelement.cpp:2491
virtual TQString getTagName() const
Returns the tag name of this element type.
Definition matrixelement.h:432
virtual bool readAttributesFromDom(TQDomElement element)
Reads our attributes from the element.
Definition matrixelement.cpp:2616
MultilineElement(BasicElement *parent=0)
The container this FormulaElement belongs to must not be 0, except you really know what you are doing...
Definition matrixelement.cpp:2147
