lib

NameType Class Reference

#include <elementtype.h>

Inheritance diagram for NameType:
MultiElementType ElementType

Public Member Functions

 NameType (SequenceParser *parser)
 
virtual TQFont getFont (const ContextStyle &context)
 
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 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 recognized name.

Definition at line 280 of file elementtype.h.

Constructor & Destructor Documentation

◆ NameType()

NameType::NameType ( SequenceParser *  parser)

Definition at line 329 of file elementtype.cpp.

Member Function Documentation

◆ getFont()

TQFont NameType::getFont ( const ContextStyle &  context)
virtual
Returns
the font to be used for this kind of element

Reimplemented from ElementType.

Definition at line 351 of file elementtype.cpp.

◆ saveMathML()

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

Reimplemented from ElementType.

Definition at line 334 of file elementtype.cpp.


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