SVGAltGlyphElement.h [plain text]
#ifndef SVGAltGlyphElement_h
#define SVGAltGlyphElement_h
#if ENABLE(SVG_FONTS)
#include "SVGTextPositioningElement.h"
#include "SVGURIReference.h"
namespace WebCore {
class SVGGlyphElement;
class SVGAltGlyphElement : public SVGTextPositioningElement,
public SVGURIReference {
public:
static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document*);
const AtomicString& glyphRef() const;
void setGlyphRef(const AtomicString&, ExceptionCode&);
const AtomicString& format() const;
void setFormat(const AtomicString&, ExceptionCode&);
SVGGlyphElement* glyphElement() const;
private:
SVGAltGlyphElement(const QualifiedName&, Document*);
virtual void synchronizeProperty(const QualifiedName&);
virtual void fillAttributeToPropertyTypeMap();
virtual AttributeToPropertyTypeMap& attributeToPropertyTypeMap();
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual bool childShouldCreateRenderer(Node*) const;
DECLARE_ANIMATED_STRING(Href, href)
};
}
#endif // ENABLE(SVG)
#endif