lib

SingleElementType Class Reference

#include <elementtype.h>

Inheritance diagram for SingleElementType:
ElementType

Public Member Functions

 SingleElementType (SequenceParser *parser)
 
- Public Member Functions inherited from ElementType
 ElementType (SequenceParser *parser)
 
virtual bool isInvisible (const TextElement &) const
 
virtual TQString text (SequenceElement *seq) const
 
uint start () const
 
uint end () const
 
virtual luPt getSpaceBefore (const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
virtual luPt getSpaceAfter (MultiElementType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
virtual luPt getSpaceAfter (OperatorType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
virtual luPt getSpaceAfter (RelationType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
virtual luPt getSpaceAfter (PunctuationType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
virtual luPt getSpaceAfter (BracketType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
virtual luPt getSpaceAfter (ComplexElementType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
virtual luPt getSpaceAfter (InnerElementType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
virtual TQFont getFont (const ContextStyle &context)
 
virtual void setUpPainter (const ContextStyle &context, TQPainter &painter)
 
virtual void output ()
 
void append (ElementType *)
 
ElementType * getPrev () const
 
virtual void saveMathML (SequenceElement *se, TQDomDocument &doc, TQDomElement de, bool oasisFormat=false)
 
virtual bool multiElement () const
 

Additional Inherited Members

- Static Public Member Functions inherited from ElementType
static int getEvilDestructionCount ()
 
- Protected Member Functions inherited from ElementType
void setStart (uint start)
 
void setEnd (uint end)
 
luPt thinSpaceIfNotScript (const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
luPt mediumSpaceIfNotScript (const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 
luPt thickSpaceIfNotScript (const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
 

Detailed Description

Basis for all tokens that consist of one element only.

Definition at line 271 of file elementtype.h.

Constructor & Destructor Documentation

◆ SingleElementType()

SingleElementType::SingleElementType ( SequenceParser *  parser)

Definition at line 389 of file elementtype.cpp.


The documentation for this class was generated from the following files: