23#include "formulacursor.h"
24#include "tokenstyleelement.h"
25#include "sequenceelement.h"
26#include "contextstyle.h"
28KFORMULA_NAMESPACE_BEGIN
31 typedef TokenStyleElement inherited;
33 TokenElement( BasicElement* parent = 0 );
35 virtual int buildChildrenFromMathMLDom(TQPtrList<BasicElement>& list, TQDomNode n);
37 virtual TQString getElementName() const { return "mtext"; }
39 TQString getCharFromEntity( const TQString& entity );
44 virtual bool isTextOnly() const { return m_textOnly; }
49 virtual luPt getSpaceBefore( const ContextStyle& context,
52 virtual luPt getSpaceAfter( const ContextStyle& context,
TextStyle Textstyles like in TeX.
virtual bool isTextOnly() const
This class handles mathematical style attributes common to token elements, as explained in MathML Spe...
|