20#ifndef OPERATORELEMENT_H
21#define OPERATORELEMENT_H
23#include "tokenelement.h"
25KFORMULA_NAMESPACE_BEGIN
27class OperatorElement : public TokenElement {
28 typedef TokenElement inherited;
30 OperatorElement( BasicElement* parent = 0 );
31 void setForm( FormType type );
41 virtual KCommand* buildCommand( Container*, Request* );
43 virtual TQString getElementName() const { return "mo"; }
45 virtual bool readAttributesFromMathMLDom( const TQDomElement &element );
46 void writeMathMLAttributes( TQDomElement& element ) const ;
47 void writeSizeAttribute( TQDomElement& element, const TQString &attr, SizeType type, double length ) const ;
50 SizeType m_lspaceType;
52 SizeType m_rspaceType;
54 SizeType m_maxSizeType;
56 SizeType m_minSizeType;
68 bool m_customSeparator;
71 bool m_customStretchy;
72 bool m_customSymmetric;
76 bool m_customMovableLimits;
|