ElementCreationStrategy Class Referenceabstract
#include <creationstrategy.h>
Inheritance diagram for ElementCreationStrategy:
Public Member Functions | |
| virtual BasicElement * | createElement (TQString type, const TQDomElement &element)=0 |
| virtual TextElement * | createTextElement (const TQChar &ch, bool symbol=false)=0 |
| virtual MatrixElement * | createMatrixElement (uint rows, uint columns)=0 |
| virtual EmptyElement * | createEmptyElement ()=0 |
| virtual NameSequence * | createNameSequence ()=0 |
| virtual BracketElement * | createBracketElement (SymbolType lhs, SymbolType rhs)=0 |
| virtual OverlineElement * | createOverlineElement ()=0 |
| virtual UnderlineElement * | createUnderlineElement ()=0 |
| virtual MultilineElement * | createMultilineElement ()=0 |
| virtual SpaceElement * | createSpaceElement (SpaceWidth width)=0 |
| virtual FractionElement * | createFractionElement ()=0 |
| virtual RootElement * | createRootElement ()=0 |
| virtual SymbolElement * | createSymbolElement (SymbolType type)=0 |
| virtual IndexElement * | createIndexElement ()=0 |
| virtual IdentifierElement * | createIdentifierElement ()=0 |
| virtual OperatorElement * | createOperatorElement ()=0 |
| virtual NumberElement * | createNumberElement ()=0 |
| virtual TQString | type () const =0 |
Detailed Description
An object of this type needs to be known by the SequenceElement.
It decides what elements can be constructed.
Definition at line 54 of file creationstrategy.h.
Constructor & Destructor Documentation
◆ ~ElementCreationStrategy()
|
inlinevirtual |
Definition at line 56 of file creationstrategy.h.
Member Function Documentation
◆ createMatrixElement()
|
pure virtual |
when this gets called the user has seen the matrix dialog and expects a matrix!
Implemented in OasisCreationStrategy, and OrdinaryCreationStrategy.
◆ createTextElement()
|
pure virtual |
there must always be a TextElement, so this can never return 0
Implemented in OasisCreationStrategy, and OrdinaryCreationStrategy.
The documentation for this class was generated from the following file:
