textelement.h
132 virtual void writeMathML( TQDomDocument& doc, TQDomNode& parent, bool oasisFormat = false ) const ;
virtual void calcSizes(const ContextStyle &cstyle, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style)
Calculates our width and height and our children's parentPosition.
Definition textelement.cpp:521
virtual void draw(TQPainter &painter, const LuPixelRect &r, const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style, const LuPixelPoint &parentOrigin)
Draws the whole element including its children.
Definition textelement.cpp:540
Base for all font commands that act on the current selection.
Definition kformulacommand.h:490
virtual void dispatchFontCommand(FontCommand *cmd)
Dispatch this FontCommand to all our TextElement children.
Definition textelement.cpp:258
void setUpPainter(const ContextStyle &context, TQPainter &painter)
Sets up the painter to be used for drawing.
Definition textelement.cpp:338
virtual void writeMathML(TQDomDocument &doc, TQDomNode &parent, bool oasisFormat=false) const
Same as above, just MathML.
Definition textelement.cpp:354
TQChar getRealCharacter(const ContextStyle &context)
Definition textelement.cpp:275
virtual void writeDom(TQDomElement element)
Appends our attributes to the dom element.
Definition textelement.cpp:362
virtual void draw(TQPainter &painter, const LuPixelRect &r, const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style, const LuPixelPoint &parentOrigin)
Draws the whole element including its children.
Definition textelement.cpp:162
virtual void calcSizes(const ContextStyle &cstyle, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style)
Calculates our width and height and our children's parentPosition.
Definition textelement.cpp:111
virtual bool readAttributesFromDom(TQDomElement element)
Reads our attributes from the element.
Definition textelement.cpp:391
virtual bool readContentFromDom(TQDomNode &node)
Reads our content from the node.
Definition textelement.cpp:472
TQFont getFont(const ContextStyle &context, const StyleAttributes &style)
Definition textelement.cpp:299
