lib
IdentifierElement Class Reference
Inheritance diagram for IdentifierElement:

Detailed Description
Definition at line 27 of file identifierelement.h.
Public Member Functions | |
IdentifierElement (BasicElement *parent=0) | |
virtual KCommand * | buildCommand (Container *, Request *) |
virtual QString | getElementName () const |
Protected Member Functions | |
virtual void | setStyleVariant (StyleAttributes &style) |
virtual luPt | getSpaceBefore (const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor) |
virtual luPt | getSpaceAfter (const ContextStyle &context, ContextStyle::TextStyle tstyle, double factor) |
Member Function Documentation
This is called by the container to get a command depending on the current cursor position (this is how the element gets chosen) and the request.
- Returns:
- the command that performs the requested action with the containers active cursor.
Reimplemented from SequenceElement.
Definition at line 43 of file identifierelement.cc.
void IdentifierElement::setStyleVariant | ( | StyleAttributes & | style | ) | [protected, virtual] |
Set the mathvariant related info in style stacks, including info for deprecated attributes.
It may be redefined by token elements whose behaviour differs from default one (e.g. identifiers)
Reimplemented from TokenStyleElement.
Definition at line 142 of file identifierelement.cc.
virtual luPt IdentifierElement::getSpaceBefore | ( | const ContextStyle & | context, | |
ContextStyle::TextStyle | tstyle, | |||
double | factor | |||
) | [inline, protected, virtual] |
Space around sequence.
Reimplemented from TokenElement.
Definition at line 49 of file identifierelement.h.
The documentation for this class was generated from the following files: