bracketelement.h
352 virtual void writeMathML( TQDomDocument& doc, TQDomNode& parent, bool oasisFormat = false ) const;
419 virtual void writeMathML( TQDomDocument& doc, TQDomNode& parent, bool oasisFormat = false ) const;
virtual BasicElement * goToPos(FormulaCursor *, bool &handled, const LuPixelPoint &point, const LuPixelPoint &parentOrigin)
Sets the cursor and returns the element the point is in.
Definition bracketelement.cpp:254
virtual void writeDom(TQDomElement element)
Appends our attributes to the dom element.
Definition bracketelement.cpp:412
virtual void entered(SequenceElement *child)
The cursor has entered one of our child sequences.
Definition bracketelement.cpp:248
virtual bool readAttributesFromMathMLDom(const TQDomElement &element)
Reads our attributes from the MathML element.
Definition bracketelement.cpp:443
virtual bool readAttributesFromDom(TQDomElement element)
Reads our attributes from the element.
Definition bracketelement.cpp:423
virtual TQString getTagName() const
Returns the tag name of this element type.
Definition bracketelement.h:229
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 bracketelement.cpp:367
virtual void calcSizes(const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style)
Calculates our width and height and our children's parentPosition.
Definition bracketelement.cpp:286
virtual int readContentFromMathMLDom(TQDomNode &node)
Reads our content from the MathML node.
Definition bracketelement.cpp:518
Base for all font commands that act on the current selection.
Definition kformulacommand.h:490
virtual TQString getTagName() const
Returns the tag name of this element type.
Definition bracketelement.h:361
virtual void entered(SequenceElement *child)
The cursor has entered one of our child sequences.
Definition bracketelement.cpp:821
virtual void writeMathML(TQDomDocument &doc, TQDomNode &parent, bool oasisFormat=false) const
Same as above, just MathML.
Definition bracketelement.cpp:890
virtual void calcSizes(const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style)
Calculates our width and height and our children's parentPosition.
Definition bracketelement.cpp:827
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 bracketelement.cpp:848
The base of (all) elements that contain just one content element.
Definition bracketelement.h:39
virtual bool readContentFromDom(TQDomNode &node)
Reads our content from the node.
Definition bracketelement.cpp:179
virtual void writeDom(TQDomElement element)
Appends our attributes to the dom element.
Definition bracketelement.cpp:168
virtual void moveUp(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving up starting inside the element ‘from’.
Definition bracketelement.cpp:124
virtual BasicElement * goToPos(FormulaCursor *, bool &handled, const LuPixelPoint &point, const LuPixelPoint &parentOrigin)
Sets the cursor and returns the element the point is in.
Definition bracketelement.cpp:70
virtual TQChar getCharacter() const
Definition bracketelement.cpp:59
virtual void normalize(FormulaCursor *, Direction)
Moves the cursor to a normal place where new elements might be inserted.
Definition bracketelement.cpp:146
virtual void moveRight(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving to the right starting inside the element ‘from’.
Definition bracketelement.cpp:108
virtual void moveDown(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving down starting inside the element ‘from’.
Definition bracketelement.cpp:129
virtual void selectChild(FormulaCursor *cursor, BasicElement *child)
Sets the cursor to select the child.
Definition bracketelement.cpp:161
virtual void moveLeft(FormulaCursor *cursor, BasicElement *from)
Enters this element while moving to the left starting inside the element ‘from’.
Definition bracketelement.cpp:92
virtual void dispatchFontCommand(FontCommand *cmd)
Dispatch this FontCommand to all our TextElement children.
Definition bracketelement.cpp:87
virtual int readContentFromMathMLDom(TQDomNode &node)
Reads our content from the MathML node.
Definition bracketelement.cpp:194
virtual void remove(FormulaCursor *, TQPtrList< BasicElement > &, Direction)
Removes all selected children and returns them.
Definition bracketelement.cpp:134
virtual void writeMathML(TQDomDocument &doc, TQDomNode &parent, bool oasisFormat=false) const
Same as above, just MathML.
Definition bracketelement.cpp:994
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 bracketelement.cpp:952
virtual TQString getTagName() const
Returns the tag name of this element type.
Definition bracketelement.h:428
virtual void entered(SequenceElement *child)
The cursor has entered one of our child sequences.
Definition bracketelement.cpp:924
virtual void calcSizes(const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style)
Calculates our width and height and our children's parentPosition.
Definition bracketelement.cpp:930
