KHTML
SVGTSpanElement.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef SVGTSpanElement_h
00024 #define SVGTSpanElement_h
00025 #if ENABLE(SVG)
00026
00027 #include "SVGTextPositioningElement.h"
00028
00029 namespace WebCore
00030 {
00031 class SVGTSpanElement : public SVGTextPositioningElement
00032 {
00033 public:
00034 SVGTSpanElement(const QualifiedName&, Document*);
00035 virtual ~SVGTSpanElement();
00036
00037 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
00038 bool childShouldCreateRenderer(Node*) const;
00039
00040
00041 virtual quint32 id() const { return SVGNames::tspanTag.id(); }
00042 virtual DOMString tagName() const { return SVGNames::tspanTag.tagName(); }
00043
00044 protected:
00045 virtual const SVGElement* contextElement() const { return this; }
00046 };
00047
00048 }
00049
00050 #endif // ENABLE(SVG)
00051 #endif
00052
00053