lib

TextType Class Reference

#include <elementtype.h>

Inheritance diagram for TextType:
MultiElementType ElementType

Public Member Functions

 TextType (SequenceParser *parser)
virtual void saveMathML (SequenceElement *se, TQDomDocument &doc, TQDomElement de, bool oasisFormat=false)
Public Member Functions inherited from MultiElementType
 MultiElementType (SequenceParser *parser)
virtual luPt getSpaceBefore (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 (InnerElementType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor)
virtual bool multiElement () const
virtual TQString text (SequenceElement *) const
Public Member Functions inherited from ElementType
 ElementType (SequenceParser *parser)
virtual bool isInvisible (const TextElement &) const
uint start () const
uint end () const
virtual luPt getSpaceAfter (MultiElementType *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 TQFont getFont (const ContextStyle &context)
virtual void setUpPainter (const ContextStyle &context, TQPainter &painter)
virtual void output ()
void append (ElementType *)
ElementType * getPrev () 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

A text element that doesn't belong to an name.

This might be considered an error.

Definition at line 240 of file elementtype.h.

Constructor & Destructor Documentation

◆ TextType()

TextType::TextType ( SequenceParser * parser)

Definition at line 302 of file elementtype.cpp.

Member Function Documentation

◆ saveMathML()

void TextType::saveMathML ( SequenceElement * se,
TQDomDocument & doc,
TQDomElement de,
bool oasisFormat = false )
virtual

Reimplemented from ElementType.

Definition at line 307 of file elementtype.cpp.


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