rootelement.h
virtual BasicElement * getElement()=0
Tells to which element the index belongs.
Base for all font commands that act on the current selection.
Definition kformulacommand.h:490
virtual BasicElement * goToPos(FormulaCursor *, bool &handled, const LuPixelPoint &point, const LuPixelPoint &parentOrigin)
Sets the cursor and returns the element the point is in.
Definition rootelement.cpp:140
virtual void insert(FormulaCursor *, TQPtrList< BasicElement > &, Direction)
Enters this element while moving to the left starting inside the element `from'.
Definition rootelement.cpp:417
void moveToIndex(FormulaCursor *, Direction)
Moves the cursor away from the given child.
Definition rootelement.cpp:510
virtual bool readAttributesFromMathMLDom(const TQDomElement &element)
Reads our attributes from the MathML element.
Definition rootelement.cpp:595
virtual bool readAttributesFromDom(TQDomElement element)
Reads our attributes from the element.
Definition rootelement.cpp:552
virtual int readContentFromMathMLDom(TQDomNode &node)
Reads our content from the MathML node.
Definition rootelement.cpp:610
virtual TQString getTagName() const
Returns the tag name of this element type.
Definition rootelement.h:191
virtual bool readContentFromDom(TQDomNode &node)
Reads our content from the node.
Definition rootelement.cpp:562
virtual void entered(SequenceElement *child)
The cursor has entered one of our child sequences.
Definition rootelement.cpp:129
virtual void dispatchFontCommand(FontCommand *cmd)
Draws the whole element including its children.
virtual void normalize(FormulaCursor *, Direction)
Moves the cursor to a normal place where new elements might be inserted.
Definition rootelement.cpp:466
virtual void writeDom(TQDomElement element)
Appends our attributes to the dom element.
Definition rootelement.cpp:531
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 rootelement.cpp:181
virtual void selectChild(FormulaCursor *cursor, BasicElement *child)
Sets the cursor to select the child.
Definition rootelement.cpp:499
virtual void remove(FormulaCursor *, TQPtrList< BasicElement > &, Direction)
Removes all selected children and returns them.
Definition rootelement.cpp:442
