KHTML
SVGStyleElement.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 SVGStyleElement_h
00024 #define SVGStyleElement_h
00025 #if ENABLE(SVG)
00026
00027 #include <SVGElement.h>
00028
00029
00030 namespace WebCore {
00031
00032 class SVGStyleElement : public SVGElement {
00033 public:
00034 SVGStyleElement(const QualifiedName&, Document*);
00035
00036
00037 virtual void parseMappedAttribute(MappedAttribute*);
00038 virtual void insertedIntoDocument();
00039 virtual void removedFromDocument();
00040 virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0);
00041
00042 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdByParser; }
00043 virtual void finishParsingChildren();
00044
00045
00046 const AtomicString& xmlspace() const;
00047 void setXmlspace(const AtomicString&, ExceptionCode&);
00048
00049 virtual bool sheetLoaded();
00050
00051 virtual const AtomicString& type() const;
00052 void setType(const AtomicString&, ExceptionCode&);
00053
00054 virtual const AtomicString& media() const;
00055 void setMedia(const AtomicString&, ExceptionCode&);
00056
00057 virtual String title() const;
00058 void setTitle(const AtomicString&, ExceptionCode&);
00059
00060 StyleSheet* sheet();
00061
00062
00063 virtual quint32 id() const;
00064 protected:
00065 bool m_createdByParser;
00066 StyleSheet* m_sheet;
00067 };
00068
00069 }
00070
00071 #endif // ENABLE(SVG)
00072 #endif // SVGStyleElement_h
00073
00074