KHTML
SVGTRefElement.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 SVGTRefElement_h
00024 #define SVGTRefElement_h
00025 #if ENABLE(SVG)
00026
00027 #include "SVGTextPositioningElement.h"
00028 #include "SVGURIReference.h"
00029
00030 namespace WebCore
00031 {
00032 class SVGTRefElement : public SVGTextPositioningElement, public SVGURIReference
00033 {
00034 public:
00035 SVGTRefElement(const QualifiedName&, Document*);
00036 virtual ~SVGTRefElement();
00037
00038 virtual void parseMappedAttribute(MappedAttribute*);
00039
00040 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
00041 bool childShouldCreateRenderer(Node*) const;
00042
00043 protected:
00044 virtual const SVGElement* contextElement() const { return this; }
00045
00046 private:
00047 ANIMATED_PROPERTY_FORWARD_DECLARATIONS(SVGURIReference, String, Href, href)
00048
00049 void updateReferencedText();
00050 };
00051
00052 }
00053
00054 #endif // ENABLE(SVG)
00055 #endif
00056
00057