21#ifndef OASISCREATIONSTRATEGY_H
22#define OASISCREATIONSTRATEGY_H
27#include "kformuladefs.h"
28#include "creationstrategy.h"
30KFORMULA_NAMESPACE_BEGIN
52 virtual BasicElement* createElement( TQString type, const TQDomElement& element );
57 virtual BracketElement* createBracketElement( SymbolType lhs, SymbolType rhs );
61 virtual SpaceElement* createSpaceElement( SpaceWidth width );
64 virtual SymbolElement* createSymbolElement( SymbolType type );
67 virtual IdentifierElement* createIdentifierElement();
68 virtual OperatorElement* createOperatorElement();
69 virtual NumberElement* createNumberElement();
70 virtual TQString type() const { return "Oasis"; }
72 BasicElement* createOperatorElement( const TQDomElement& element );
Basis of every formula element.
A left and/or right bracket around one child.
An object of this type needs to be known by the SequenceElement.
An element that represents an empty box.
The element with up to four indexes in the four corners.
The sequence thats a name.
The strategy to be used for OASIS OpenDocument / MathML.
virtual TextElement * createTextElement(const TQChar &ch, bool symbol=false) there must always be a TextElement, so this can never return 0
virtual MatrixElement * createMatrixElement(uint rows, uint columns) when this gets called the user has seen the matrix dialog and expects a matrix!
A line above the content.
A element that represents a space.
A symbol is simply a piece of art.
An element that represents one char.
A line below the content.
|