23#include "textelement.h"
25KFORMULA_NAMESPACE_BEGIN
28 typedef TextElement inherited;
30 GlyphElement( BasicElement* parent = 0 );
36 virtual void calcSizes( const ContextStyle& cstyle,
38 ContextStyle::IndexStyle istyle,
39 StyleAttributes& style );
46 virtual void draw( TQPainter& painter, const LuPixelRect& r,
47 const ContextStyle& context,
49 ContextStyle::IndexStyle istyle,
50 StyleAttributes& style,
51 const LuPixelPoint& parentOrigin );
57 virtual TQString getElementName() const { return "mglyph"; }
58 virtual void writeMathMLAttributes( TQDomElement& element ) const ;
61 TQString m_fontFamily;
virtual bool readAttributesFromMathMLDom(const TQDomElement &element) Reads our attributes from the MathML element.
TextStyle Textstyles like in TeX.
An element that represents one char.
|