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 moveUp(FormulaCursor *, BasicElement *)
Enters this element while moving up starting inside the element ‘from’.
Definition matrixelement.cpp:643
virtual void selectChild(FormulaCursor *, BasicElement *)
Inserts all new children at the cursor position.
Definition matrixelement.cpp:718
virtual void moveRight(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving to the right starting inside the element ‘from’.
Definition matrixelement.cpp:607
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 void dispatchFontCommand(FontCommand *cmd)
Dispatch this FontCommand to all our TextElement children.
Definition matrixelement.cpp:545
virtual TQString toLatex()
Moves the cursor away from the given child.
Definition matrixelement.cpp:1208
virtual void draw(TQPainter &painter, const LuPixelRect &r, const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style, const LuPixelPoint &parentOrigin)
Draws the whole element including its children.
Definition matrixelement.cpp:515
virtual void moveDown(FormulaCursor *, BasicElement *)
Enters this element while moving down starting inside the element ‘from’.
Definition matrixelement.cpp:675
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 moveLeft(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving to the left starting inside the element ‘from’.
Definition matrixelement.cpp:571
virtual void goInside(FormulaCursor *cursor)
Sets the cursor inside this element to its start position.
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 moveDown(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving down starting inside the element ‘from’.
Definition matrixelement.cpp:2336
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)
Calculates our width and height and our children's parentPosition.
Definition matrixelement.cpp:2395
virtual bool readContentFromDom(TQDomNode &node)
Reads our content from the node.
Definition matrixelement.cpp:2644
virtual void moveRight(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving to the right starting inside the element ‘from’.
Definition matrixelement.cpp:2245
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)
Dispatch this FontCommand to all our TextElement 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
virtual void moveUp(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving up starting inside the element ‘from’.
Definition matrixelement.cpp:2274
virtual void draw(TQPainter &painter, const LuPixelRect &r, const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style, const LuPixelPoint &parentOrigin)
Draws the whole element including its children.
Definition matrixelement.cpp:2456
virtual void moveLeft(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving to the left starting inside the element ‘from’.
Definition matrixelement.cpp:2212
