lib
MultiElementType Class Reference
#include <elementtype.h>
Inheritance diagram for MultiElementType:

Detailed Description
Basis for all tokens that run along several elements.
Definition at line 173 of file elementtype.h.
Public Member Functions | |
MultiElementType (SequenceParser *parser) | |
virtual luPt | getSpaceBefore (const ContextStyle &context, ContextStyle::TextStyle tstyle) |
virtual luPt | getSpaceAfter (OperatorType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle) |
virtual luPt | getSpaceAfter (RelationType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle) |
virtual luPt | getSpaceAfter (InnerElementType *type, const ContextStyle &context, ContextStyle::TextStyle tstyle) |
virtual bool | multiElement () const |
virtual QString | text (SequenceElement *) const |
Member Function Documentation
luPt MultiElementType::getSpaceBefore | ( | const ContextStyle & | context, | |
ContextStyle::TextStyle | tstyle | |||
) | [virtual] |
- Returns:
- the space to be left before each char for the given style and font size.
Reimplemented from ElementType.
Definition at line 256 of file elementtype.cc.
virtual QString MultiElementType::text | ( | SequenceElement * | ) | const [inline, virtual] |
- Returns:
- the spanned text. seq must be the original parent sequence.
Reimplemented from ElementType.
Definition at line 188 of file elementtype.h.
The documentation for this class was generated from the following files: