ActionElement Class Reference
#include <actionelement.h>
Inheritance diagram for ActionElement:
Public Member Functions | |
| ActionElement (BasicElement *parent=0) | |
| virtual int | buildChildrenFromMathMLDom (TQPtrList< BasicElement > &list, TQDomNode n) |
| Public Member Functions inherited from SequenceElement | |
| SequenceElement (BasicElement *parent=0) | |
| SequenceElement (const SequenceElement &) | |
| virtual SequenceElement * | clone () |
| virtual bool | accept (ElementVisitor *visitor) |
| virtual bool | readOnly (const FormulaCursor *) const |
| virtual bool | isTextOnly () const |
| virtual BasicElement * | goToPos (FormulaCursor *, bool &handled, const LuPixelPoint &point, const LuPixelPoint &parentOrigin) |
| void | setSizeReduction (const ContextStyle &context) |
| bool | isEmpty () |
| virtual void | calcSizes (const ContextStyle &cstyle, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style) |
| virtual void | dispatchFontCommand (FontCommand *cmd) |
| virtual void | drawEmptyRect (TQPainter &painter, const ContextStyle &context, double factor, const LuPixelPoint &upperLeft) |
| virtual void | calcCursorSize (const ContextStyle &context, FormulaCursor *cursor, bool smallCursor) |
| virtual void | drawCursor (TQPainter &painter, const ContextStyle &context, StyleAttributes &style, FormulaCursor *cursor, bool smallCursor, bool activeCursor) |
| virtual void | moveWordLeft (FormulaCursor *cursor) |
| virtual void | moveWordRight (FormulaCursor *cursor) |
| virtual void | moveHome (FormulaCursor *cursor) |
| virtual void | moveEnd (FormulaCursor *cursor) |
| virtual void | goInside (FormulaCursor *cursor) |
| virtual void | goInsideLast (FormulaCursor *cursor) |
| virtual void | insert (FormulaCursor *, TQPtrList< BasicElement > &, Direction) |
| virtual void | remove (FormulaCursor *, TQPtrList< BasicElement > &, Direction) |
| virtual void | normalize (FormulaCursor *, Direction) |
| virtual BasicElement * | getChild (FormulaCursor *, Direction=beforeCursor) |
| virtual void | selectChild (FormulaCursor *cursor, BasicElement *child) |
| virtual void | childWillVanish (FormulaCursor *cursor, BasicElement *child) |
| uint | countChildren () const |
| bool | isChildNumber (uint pos, BasicElement *child) |
| void | selectAllChildren (FormulaCursor *cursor) |
| bool | onlyTextSelected (FormulaCursor *cursor) |
| virtual KCommand * | buildCommand (Container *, Request *) |
| virtual KCommand * | input (Container *container, TQChar ch) |
| virtual KCommand * | input (Container *container, TQKeyEvent *event) |
| virtual void | parse () |
| void | getChildrenDom (TQDomDocument &doc, TQDomElement elem, uint from, uint to) |
| void | getChildrenMathMLDom (TQDomDocument &doc, TQDomNode &elem, uint from, uint to) |
| bool | buildChildrenFromDom (TQPtrList< BasicElement > &list, TQDomNode n) |
| virtual TQString | toLatex () |
| virtual TQString | formulaString () |
| BasicElement * | getChild (uint i) |
| const BasicElement * | getChild (uint i) const |
| int | childPos (BasicElement *child) |
| int | childPos (const BasicElement *child) const |
| iterator | begin () |
| iterator | end () |
| virtual void | setStyle (StyleElement *style) |
| virtual int | readContentFromMathMLDom (TQDomNode &node) |
| int | buildMathMLChild (TQDomNode node) |
| Public Member Functions inherited from BasicElement | |
| BasicElement (BasicElement *parent=0) | |
| BasicElement (const BasicElement &) | |
| virtual bool | readOnly (const BasicElement *child) const |
| virtual FormulaElement * | formula () |
| virtual const FormulaElement * | formula () const |
| virtual TQChar | getCharacter () const |
| virtual TokenType | getTokenType () const |
| virtual bool | isInvisible () const |
| LuPixelPoint | widgetPos () |
| virtual void | entered (SequenceElement *) |
| virtual SequenceElement * | getMainChild () |
| virtual bool | isSenseless () |
| virtual void | registerTab (BasicElement *) |
| const BasicElement * | getParent () const |
| BasicElement * | getParent () |
| void | setParent (BasicElement *p) |
| luPixel | getX () const |
| luPixel | getY () const |
| void | setX (luPixel x) |
| void | setY (luPixel y) |
| luPixel | getWidth () const |
| luPixel | getHeight () const |
| void | setWidth (luPixel width) |
| void | setHeight (luPixel height) |
| luPixel | getBaseline () const |
| void | setBaseline (luPixel line) |
| luPixel | axis (const ContextStyle &style, ContextStyle::TextStyle tstyle, double factor) const |
| TQDomElement | getElementDom (TQDomDocument &doc) |
| virtual void | writeMathML (TQDomDocument &doc, TQDomNode &parent, bool oasisFormat=false) const |
| bool | buildFromDom (TQDomElement element) |
| int | buildFromMathMLDom (TQDomElement element) |
| ElementType * | getElementType () const |
| virtual void | setElementType (ElementType *t) |
Additional Inherited Members | |
| Public Types inherited from SequenceElement | |
| typedef ChildIterator | iterator |
| Static Public Member Functions inherited from SequenceElement | |
| static void | setCreationStrategy (ElementCreationStrategy *strategy) |
| Static Public Member Functions inherited from BasicElement | |
| static int | getEvilDestructionCount () |
| Protected Member Functions inherited from SequenceElement | |
| virtual TQString | getTagName () const |
| virtual void | writeDom (TQDomElement element) |
| virtual void | writeMathMLContent (TQDomDocument &doc, TQDomElement &element, bool oasisFormat) const |
| virtual bool | readAttributesFromDom (TQDomElement element) |
| virtual bool | readContentFromDom (TQDomNode &node) |
| virtual void | setChildrenPositions () |
| virtual BasicElement * | createElement (TQString type, const TQDomElement &element) |
| luPixel | getChildPosition (const ContextStyle &context, uint child) |
| virtual bool | isFirstOfToken (BasicElement *child) |
| bool | insert (uint index, BasicElement *child) |
| virtual luPt | getSpaceBefore (const ContextStyle &, ContextStyle::TextStyle, double) |
| virtual luPt | getSpaceAfter (const ContextStyle &, ContextStyle::TextStyle, double) |
| Protected Member Functions inherited from BasicElement | |
| bool | buildChild (SequenceElement *child, TQDomNode node, TQString name) |
| double | getSize (const TQString &str, SizeType *st) |
| SizeType | getSpace (const TQString &str) |
| Static Protected Member Functions inherited from SequenceElement | |
| static ElementCreationStrategy * | getCreationStrategy () |
| Static Protected Attributes inherited from SequenceElement | |
| static ElementCreationStrategy * | creationStrategy = 0 |
Detailed Description
Support for action elements in MathML.
According to MathML spec (Section 3.6.1.1), a MathML conformant application is not required to recognize any single actiontype.
Definition at line 32 of file actionelement.h.
Constructor & Destructor Documentation
◆ ActionElement()
| KFORMULA_NAMESPACE_BEGIN ActionElement::ActionElement | ( | BasicElement * | parent = 0 | ) |
Definition at line 25 of file actionelement.cpp.
Member Function Documentation
◆ buildChildrenFromMathMLDom()
|
virtual |
Reimplemented from SequenceElement.
Definition at line 47 of file actionelement.cpp.
The documentation for this class was generated from the following files:
