From 048504827f047506f35a08d27a1f3d1c0b018399 Mon Sep 17 00:00:00 2001 From: ishmal Date: Wed, 18 Jun 2008 18:29:30 +0000 Subject: [PATCH] compilable! wip --- src/dom/svg2.h | 2265 ++++++++++++++++++------------------------------ 1 file changed, 832 insertions(+), 1433 deletions(-) diff --git a/src/dom/svg2.h b/src/dom/svg2.h index 97a534d04..150325106 100644 --- a/src/dom/svg2.h +++ b/src/dom/svg2.h @@ -57,9 +57,6 @@ #include "dom/smil.h" - -#include "svgtypes.h" - #include #define SVG_NAMESPACE "http://www.w3.org/2000/svg" @@ -89,9 +86,39 @@ typedef dom::NodeList NodeList; class SVGElement; typedef Ptr SVGElementPtr; +class SVGUseElement; +typedef Ptr SVGUseElementPtr; class SVGDocument; typedef Ptr SVGDocumentPtr; +/*######################################################################### +## SVGException +#########################################################################*/ + +/** + * + */ +class SVGException +{ +public: + + /** + * SVGExceptionCode + */ + typedef enum + { + SVG_WRONG_TYPE_ERR = 0, + SVG_INVALID_VALUE_ERR = 1, + SVG_MATRIX_NOT_INVERTABLE = 2 + } SVGExceptionCode; + + unsigned short code; +}; + + + + + //######################################################################## @@ -127,8 +154,6 @@ public: SVG_ANGLETYPE_GRAD = 4 } AngleUnitType; - - /** * */ @@ -205,153 +230,6 @@ protected: }; - - -/*######################################################################### -## SVGColor -#########################################################################*/ - -/** - * - */ -class SVGColor : public css::CSSValue -{ -public: - - - /** - * Color Types - */ - typedef enum - { - SVG_COLORTYPE_UNKNOWN = 0, - SVG_COLORTYPE_RGBCOLOR = 1, - SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2, - SVG_COLORTYPE_CURRENTCOLOR = 3 - } ColorType; - - - /** - * - */ - unsigned short getColorType(); - - /** - * - */ - css::RGBColor getRgbColor(); - - /** - * - */ - SVGICCColor getIccColor(); - - - /** - * - */ - void setRGBColor(const DOMString& /*rgbColor*/) - throw(SVGException); - - /** - * - */ - void setRGBColorICCColor(const DOMString& /*rgbColor*/, - const DOMString& /*iccColor*/) - throw(SVGException); - - /** - * - */ - void setColor(unsigned short /*colorType*/, - const DOMString& /*rgbColor*/, - const DOMString& /*iccColor*/) - throw(SVGException); - - //################## - //# Non-API methods - //################## - - /** - * - */ - SVGColor(); - - /** - * - */ - SVGColor(const SVGColor &other) : css::CSSValue(other); - - /** - * - */ - ~SVGColor(); - -protected: - - int colorType; - -}; - - - - -/*######################################################################### -## SVGICCColor -#########################################################################*/ - -/** - * - */ -class SVGICCColor -{ -public: - - /** - * - */ - DOMString getColorProfile(); - - /** - * - */ - void setColorProfile(const DOMString &val) throw(DOMException); - - /** - * - */ - SVGNumberList &getColors(); - - - - //################## - //# Non-API methods - //################## - - /** - * - */ - SVGICCColor(); - - /** - * - */ - SVGICCColor(const SVGICCColor &other); - - /** - * - */ - ~SVGICCColor(); - -protected: - - DOMString colorProfile; - - SVGNumberList colors; - -}; - - /*######################################################################### ## SVGLength #########################################################################*/ @@ -886,7 +764,7 @@ public: /** * */ - double getY() + double getY(); /** * @@ -896,7 +774,7 @@ public: /** * */ - double getY1() + double getY1(); /** * @@ -1008,89 +886,6 @@ protected: }; - - -/*######################################################################### -## SVGPaint -#########################################################################*/ - -/** - * - */ -class SVGPaint : public SVGColor -{ -public: - - /** - * Paint Types - */ - typedef enum - { - SVG_PAINTTYPE_UNKNOWN = 0, - SVG_PAINTTYPE_RGBCOLOR = 1, - SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2, - SVG_PAINTTYPE_NONE = 101, - SVG_PAINTTYPE_CURRENTCOLOR = 102, - SVG_PAINTTYPE_URI_NONE = 103, - SVG_PAINTTYPE_URI_CURRENTCOLOR = 104, - SVG_PAINTTYPE_URI_RGBCOLOR = 105, - SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106, - SVG_PAINTTYPE_URI = 107 - } PaintType; - - - /** - * - */ - unsigned short getPaintType(); - - /** - * - */ - DOMString getUri(); - - /** - * - */ - void setUri(const DOMString& uriArg); - - /** - * - */ - void setPaint(unsigned short paintTypeArg, - const DOMString& uriArg, - const DOMString& /*rgbColor*/, - const DOMString& /*iccColor*/) - throw(SVGException); - - //################## - //# Non-API methods - //################## - - /** - * - */ - SVGPaint(); - - /** - * - */ - SVGPaint(const SVGPaint &other); - - /** - * - */ - ~SVGPaint(); - -protected: - - unsigned int paintType; - DOMString uri; - -}; - - - /*######################################################################### ## SVGPreserveAspectRatio #########################################################################*/ @@ -1518,9 +1313,9 @@ public: /** * Points */ - SVGValue(const SVGPointList &v); + SVGValue(const SVGPoint &v); - SVGPointList pointListValue(); + SVGPoint pointValue(); /** @@ -1547,9 +1342,9 @@ public: /** * TransformList */ - SVGValue(const SVGTransformList &v); + SVGValue(const SVGTransform &v); - SVGTransformList transformListValue(); + SVGTransform transformValue(); private: @@ -1565,10 +1360,12 @@ private: long ival; // SVGInteger SVGLength lengthval; // SVGLength double dval; // SVGNumber - SVGPathSegment segval; // SVGPathSegment - SVGPreserveAcpectRatio parval; // SVGPreserveAspectRatio + SVGPathSeg segval; // SVGPathSeg + SVGPoint pointval; // SVGPoint + SVGPreserveAspectRatio parval; // SVGPreserveAspectRatio SVGRect rval; // SVGRect DOMString sval; // SVGString + SVGTransform transformval; // SVGTransform }; @@ -1581,7 +1378,7 @@ private: * THis is used to generify a bit the several different types of lists: * * SVGLengthList -> SVGValueList - * SVGNumberList -> SVGValueList + * SVGValueList -> SVGValueList * SVGPathData -> SVGValueList * SVGPoints -> SVGValueList * SVGTransformList -> SVGValueList @@ -1696,20 +1493,17 @@ protected: /** * This class is used to merge all of the "Animated" values, with only * a different type, into a single API. This class subsumes the following: - * SVGAnimatedAngle - * SVGAnimatedBoolean - * SVGAnimatedEnumeration - * SVGAnimatedInteger - * SVGAnimatedLength - * SVGAnimatedLengthList - * SVGAnimatedNumber - * SVGAnimatedNumberList + * SVGAnimatedValue + * SVGAnimatedValue + * SVGAnimatedValue + * SVGAnimatedValue + * SVGAnimatedValue + * SVGAnimatedValue * SVGAnimatedPathData * SVGAnimatedPoints * SVGAnimatedPreserveAspectRatio - * SVGAnimatedRect - * SVGAnimatedString - * SVGAnimatedTransformList + * SVGAnimatedValue + * SVGAnimatedValue */ class SVGAnimatedValue { @@ -1774,52 +1568,116 @@ private: SVGValue baseVal; SVGValue animVal; -} +}; +/*######################################################################### +## SVGAnimatedValueList +#########################################################################*/ +/** + * This class is used to merge all of the "Animated" values, with only + * a different type, into a single API. This class subsumes the following: + * SVGAnimatedValueList + * SVGAnimatedValueList + * SVGAnimatedTransformList + */ +class SVGAnimatedValueList +{ +public: + /** + * + */ + SVGValueList &getBaseVal(); + /** + * + */ + void setBaseVal(const SVGValueList &val) throw (DOMException); -//######################################################################## -//######################################################################## -//# I N T E R F A C E S -//######################################################################## -//######################################################################## + /** + * + */ + SVGValueList &getAnimVal(); + + /** + * + */ + SVGAnimatedValueList(); + + /** + * + */ + SVGAnimatedValueList(const SVGValueList &baseValue); + + /** + * + */ + SVGAnimatedValueList(const SVGValueList &baseValue, const SVGValueList &animValue); + + /** + * + */ + SVGAnimatedValueList(const SVGAnimatedValueList &other); + + /** + * + */ + SVGAnimatedValueList &operator=(const SVGAnimatedValueList &other); + /** + * + */ + SVGAnimatedValueList &operator=(const SVGValueList &baseVal); + /** + * + */ + ~SVGAnimatedValueList(); + +private: + void init(); + + void assign(const SVGAnimatedValueList &other); + + SVGValueList baseVal; + + SVGValueList animVal; +}; /*######################################################################### -## SVGStylable +## SVGICCColor #########################################################################*/ /** * */ -class SVGStylable +class SVGICCColor { public: /** * */ - SVGAnimatedString getClassName(); + DOMString getColorProfile(); /** * */ - css::CSSStyleDeclaration getStyle(); - + void setColorProfile(const DOMString &val) throw(DOMException); /** * */ - css::CSSValue getPresentationAttribute(const DOMString& /*name*/); + SVGValueList &getColors(); + + //################## //# Non-API methods @@ -1828,70 +1686,88 @@ public: /** * */ - SVGStylable(); + SVGICCColor(); /** * */ - SVGStylable(const SVGStylable &other); + SVGICCColor(const SVGICCColor &other); /** * */ - ~SVGStylable(); + ~SVGICCColor(); protected: - SVGAnimatedString className; - css::CSSStyleDeclaration style; - -}; + DOMString colorProfile; + SVGValueList colors; +}; /*######################################################################### -## SVGLocatable +## SVGColor #########################################################################*/ /** * */ -class SVGLocatable +class SVGColor : public css::CSSValue { public: + + /** + * Color Types + */ + typedef enum + { + SVG_COLORTYPE_UNKNOWN = 0, + SVG_COLORTYPE_RGBCOLOR = 1, + SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2, + SVG_COLORTYPE_CURRENTCOLOR = 3 + } ColorType; + + /** * */ - SVGElementPtr getNearestViewportElement(); + unsigned short getColorType(); /** * */ - SVGElementPtr getFarthestViewportElement(); + css::RGBColor getRgbColor(); /** * */ - SVGRect getBBox(); + SVGICCColor getIccColor(); + /** * */ - SVGMatrix getCTM(); + void setRGBColor(const DOMString& /*rgbColor*/) + throw(SVGException); /** * */ - SVGMatrix getScreenCTM(); + void setRGBColorICCColor(const DOMString& /*rgbColor*/, + const DOMString& /*iccColor*/) + throw(SVGException); /** * */ - SVGMatrix getTransformToElement(const SVGElement &/*element*/) - throw(SVGException); + void setColor(unsigned short /*colorType*/, + const DOMString& /*rgbColor*/, + const DOMString& /*iccColor*/) + throw(SVGException); //################## //# Non-API methods @@ -1900,43 +1776,78 @@ public: /** * */ - SVGLocatable(); + SVGColor(); /** * */ - SVGLocatable(const SVGLocatable &/*other*/); + SVGColor(const SVGColor &other); /** * */ - ~SVGLocatable(); + ~SVGColor(); protected: - SVGRect bbox; - SVGMatrix ctm; - SVGMatrix screenCtm; + int colorType; }; + /*######################################################################### -## SVGTransformable +## SVGPaint #########################################################################*/ /** * */ -class SVGTransformable : public SVGLocatable +class SVGPaint : public SVGColor { public: + /** + * Paint Types + */ + typedef enum + { + SVG_PAINTTYPE_UNKNOWN = 0, + SVG_PAINTTYPE_RGBCOLOR = 1, + SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2, + SVG_PAINTTYPE_NONE = 101, + SVG_PAINTTYPE_CURRENTCOLOR = 102, + SVG_PAINTTYPE_URI_NONE = 103, + SVG_PAINTTYPE_URI_CURRENTCOLOR = 104, + SVG_PAINTTYPE_URI_RGBCOLOR = 105, + SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106, + SVG_PAINTTYPE_URI = 107 + } PaintType; + /** * */ - SVGAnimatedTransformList &getTransform(); + unsigned short getPaintType(); + + /** + * + */ + DOMString getUri(); + + /** + * + */ + void setUri(const DOMString& uriArg); + + /** + * + */ + void setPaint(unsigned short paintTypeArg, + const DOMString& uriArg, + const DOMString& /*rgbColor*/, + const DOMString& /*iccColor*/) + throw(SVGException); //################## //# Non-API methods @@ -1945,58 +1856,66 @@ public: /** * */ - SVGTransformable(); + SVGPaint(); /** * */ - SVGTransformable(const SVGTransformable &other) : SVGLocatable(other); + SVGPaint(const SVGPaint &other); /** * */ - ~SVGTransformable(); + ~SVGPaint(); protected: - SVGAnimatedTransformList transforms; + unsigned int paintType; + DOMString uri; + }; +//######################################################################## +//######################################################################## +//# I N T E R F A C E S +//######################################################################## +//######################################################################## + + + + + /*######################################################################### -## SVGTests +## SVGStylable #########################################################################*/ /** * */ -class SVGTests +class SVGStylable { public: /** * */ - SVGValueList &getRequiredFeatures(); + SVGAnimatedValue getClassName(); /** * */ - SVGValueList &getRequiredExtensions(); + css::CSSStyleDeclaration getStyle(); - /** - * - */ - SVGValueList &getSystemLanguage(); /** * */ - bool hasExtension(const DOMString& /*extension*/); + css::CSSValue getPresentationAttribute(const DOMString& /*name*/); //################## //# Non-API methods @@ -2005,23 +1924,22 @@ public: /** * */ - SVGTests(); + SVGStylable(); /** * */ - SVGTests(const SVGTests &other); + SVGStylable(const SVGStylable &other); /** * */ - ~SVGTests(); + ~SVGStylable(); protected: - SVGStringList requiredFeatures; - SVGStringList requiredExtensions; - SVGStringList systemLanguage; + SVGAnimatedValue className; + css::CSSStyleDeclaration style; }; @@ -2029,38 +1947,47 @@ protected: - /*######################################################################### -## SVGLangSpace +## SVGLocatable #########################################################################*/ /** * */ -class SVGLangSpace +class SVGLocatable { public: + /** + * + */ + SVGElementPtr getNearestViewportElement(); + + /** + * + */ + SVGElementPtr getFarthestViewportElement(); /** * */ - DOMString getXmlLang(); + SVGRect getBBox(); /** * */ - void setXmlLang(const DOMString &val) throw(DOMException); + SVGMatrix getCTM(); /** * */ - DOMString getXmlSpace(); + SVGMatrix getScreenCTM(); /** * */ - void setXmlSpace(const DOMString &val) throw(DOMException); + SVGMatrix getTransformToElement(const SVGElement &/*element*/) + throw(SVGException); //################## //# Non-API methods @@ -2069,42 +1996,43 @@ public: /** * */ - SVGLangSpace(); + SVGLocatable(); /** * */ - SVGLangSpace(const SVGLangSpace &other); + SVGLocatable(const SVGLocatable &/*other*/); /** * */ - ~SVGLangSpace(); + ~SVGLocatable(); protected: - DOMString xmlLang; - DOMString xmlSpace; + SVGRect bbox; + SVGMatrix ctm; + SVGMatrix screenCtm; }; - /*######################################################################### -## SVGExternalResourcesRequired +## SVGTransformable #########################################################################*/ /** * */ -class SVGExternalResourcesRequired +class SVGTransformable : public SVGLocatable { public: + /** * */ - SVGAnimatedBoolean getExternalResourcesRequired(); + SVGAnimatedValueList &getTransform(); //################## //# Non-API methods @@ -2113,52 +2041,217 @@ public: /** * */ - SVGExternalResourcesRequired(); + SVGTransformable(); /** * */ - SVGExternalResourcesRequired(const SVGExternalResourcesRequired &other); + SVGTransformable(const SVGTransformable &other); /** * */ - ~SVGExternalResourcesRequired(); + ~SVGTransformable(); protected: - SVGAnimatedBoolean required; - + SVGAnimatedValueList transforms; }; - - - - - - /*######################################################################### -## SVGFitToViewBox +## SVGTests #########################################################################*/ /** * */ -class SVGFitToViewBox +class SVGTests +{ +public: + + /** + * + */ + SVGValueList &getRequiredFeatures(); + + /** + * + */ + SVGValueList &getRequiredExtensions(); + + /** + * + */ + SVGValueList &getSystemLanguage(); + + /** + * + */ + bool hasExtension(const DOMString& /*extension*/); + + //################## + //# Non-API methods + //################## + + /** + * + */ + SVGTests(); + + /** + * + */ + SVGTests(const SVGTests &other); + + /** + * + */ + ~SVGTests(); + +protected: + + SVGValueList requiredFeatures; + SVGValueList requiredExtensions; + SVGValueList systemLanguage; + +}; + + + + + + +/*######################################################################### +## SVGLangSpace +#########################################################################*/ + +/** + * + */ +class SVGLangSpace +{ +public: + + + /** + * + */ + DOMString getXmlLang(); + + /** + * + */ + void setXmlLang(const DOMString &val) throw(DOMException); + + /** + * + */ + DOMString getXmlSpace(); + + /** + * + */ + void setXmlSpace(const DOMString &val) throw(DOMException); + + //################## + //# Non-API methods + //################## + + /** + * + */ + SVGLangSpace(); + + /** + * + */ + SVGLangSpace(const SVGLangSpace &other); + + /** + * + */ + ~SVGLangSpace(); + +protected: + + DOMString xmlLang; + DOMString xmlSpace; + +}; + + + +/*######################################################################### +## SVGExternalResourcesRequired +#########################################################################*/ + +/** + * + */ +class SVGExternalResourcesRequired { public: + /** + * boolean + */ + SVGAnimatedValue getExternalResourcesRequired(); + + //################## + //# Non-API methods + //################## + + /** + * + */ + SVGExternalResourcesRequired(); + /** * */ - SVGAnimatedRect getViewBox(); + SVGExternalResourcesRequired(const SVGExternalResourcesRequired &other); /** * */ - SVGAnimatedPreserveAspectRatio getPreserveAspectRatio(); + ~SVGExternalResourcesRequired(); + +protected: + + SVGAnimatedValue required; //boolean + +}; + + + + + + + + + +/*######################################################################### +## SVGFitToViewBox +#########################################################################*/ + +/** + * + */ +class SVGFitToViewBox +{ +public: + + /** + * rect + */ + SVGAnimatedValue getViewBox(); + + /** + * preserveAspectRatio + */ + SVGAnimatedValue getPreserveAspectRatio(); //################## //# Non-API methods @@ -2181,9 +2274,8 @@ public: protected: - SVGAnimatedRect viewBox; - - SVGAnimatedPreserveAspectRatio preserveAspectRatio; + SVGAnimatedValue viewBox; //rect + SVGAnimatedValue preserveAspectRatio; }; @@ -2264,7 +2356,7 @@ public: /** * */ - SVGTransformList getTransform(); + SVGValueList getTransform(); /** * @@ -2313,7 +2405,7 @@ public: protected: SVGElementPtr viewTarget; - SVGTransformList transform; + SVGValueList transform; }; @@ -2329,9 +2421,9 @@ class SVGURIReference public: /** - * + * string */ - SVGAnimatedString getHref(); + SVGAnimatedValue getHref(); //################## //# Non-API methods @@ -2354,7 +2446,7 @@ public: protected: - SVGAnimatedString href; + SVGAnimatedValue href; }; @@ -2505,7 +2597,7 @@ public: /** * */ - void setRenderingIntent(unsigned short val) throw(DOMException) + void setRenderingIntent(unsigned short val) throw(DOMException); //################## @@ -2549,29 +2641,29 @@ class SVGFilterPrimitiveStandardAttributes : public SVGStylable public: /** - * + * length */ - SVGAnimatedLength getX(); + SVGAnimatedValue getX(); /** - * + * length */ - SVGAnimatedLength getY(); + SVGAnimatedValue getY(); /** - * + * length */ - SVGAnimatedLength getWidth(); + SVGAnimatedValue getWidth(); /** - * + * length */ - SVGAnimatedLength getHeight(); + SVGAnimatedValue getHeight(); /** - * + * string */ - SVGAnimatedString getResult(); + SVGAnimatedValue getResult(); //################## //# Non-API methods @@ -2595,11 +2687,11 @@ public: protected: - SVGAnimatedLength x; - SVGAnimatedLength y; - SVGAnimatedLength width; - SVGAnimatedLength height; - SVGAnimatedString result; + SVGAnimatedValue x; + SVGAnimatedValue y; + SVGAnimatedValue width; + SVGAnimatedValue height; + SVGAnimatedValue result; }; @@ -2673,7 +2765,7 @@ public: /** * */ - SVGPoint getNewTranslate() + SVGPoint getNewTranslate(); //################## @@ -2860,927 +2952,217 @@ protected: //# D O M //######################################################################## //######################################################################## -//######################################################################## - - - - - -/*######################################################################### -## Types -#########################################################################*/ - -/** - * Bitmasks for has_an interface for SVGElement - */ -#define SVG_ANGLE 0x00000001 -#define SVG_ANIMATED_ANGLE 0x00000002 -#define SVG_ANIMATED_BOOLEAN 0x00000004 -#define SVG_ANIMATED_ENUMERATION 0x00000008 -#define SVG_ANIMATED_INTEGER 0x00000010 -#define SVG_ANIMATED_LENGTH 0x00000020 -#define SVG_ANIMATED_LENGTH_LIST 0x00000040 -#define SVG_ANIMATED_NUMBER 0x00000080 -#define SVG_ANIMATED_NUMBER_LIST 0x00000100 -#define SVG_ANIMATED_RECT 0x00000200 -#define SVG_ANIMATED_STRING 0x00000400 -#define SVG_COLOR 0x00000800 -#define SVG_CSS_RULE 0x00001000 -#define SVG_EXTERNAL_RESOURCES_REQUIRED 0x00002000 -#define SVG_FIT_TO_VIEWBOX 0x00004000 -#define SVG_ICCCOLOR 0x00008000 -#define SVG_LANG_SPACE 0x00010000 -#define SVG_LENGTH 0x00020000 -#define SVG_LENGTH_LIST 0x00040000 -#define SVG_LOCATABLE 0x00080000 -#define SVG_NUMBER 0x00100000 -#define SVG_NUMBER_LIST 0x00200000 -#define SVG_RECT 0x00400000 -#define SVG_RENDERING_INTENT 0x00800000 -#define SVG_STRING_LIST 0x01000000 -#define SVG_STYLABLE 0x02000000 -#define SVG_TESTS 0x04000000 -#define SVG_TRANSFORMABLE 0x08000000 -#define SVG_UNIT_TYPES 0x10000000 -#define SVG_URI_REFERENCE 0x20000000 -#define SVG_VIEW_SPEC 0x40000000 -#define SVG_ZOOM_AND_PAN 0x80000000 - -/** - * How many above? Quite handy - */ -#define SVG_NR_INTERFACES 32 - - -/** - * Enumerations for SVGElement types - */ -typedef enum -{ - SVG_A_ELEMENT = 0, - SVG_ALTGLYPH_ELEMENT, - SVG_ALTGLYPHDEF_ELEMENT, - SVG_ALTGLYPHITEM_ELEMENT, - SVG_ANIMATE_ELEMENT, - SVG_ANIMATECOLOR_ELEMENT, - SVG_ANIMATEMOTION_ELEMENT, - SVG_ANIMATETRANSFORM_ELEMENT, - SVG_CIRCLE_ELEMENT, - SVG_CLIPPATH_ELEMENT, - SVG_COLOR_PROFILE_ELEMENT, - SVG_CURSOR_ELEMENT, - SVG_DEFINITION_SRC_ELEMENT, - SVG_DEFS_ELEMENT, - SVG_DESC_ELEMENT, - SVG_ELLIPSE_ELEMENT, - SVG_FEBLEND_ELEMENT, - SVG_FECOLORMATRIX_ELEMENT, - SVG_FECOMPONENTTRANSFER_ELEMENT, - SVG_FECOMPOSITE_ELEMENT, - SVG_FECONVOLVEMATRIX_ELEMENT, - SVG_FEDIFFUSELIGHTING_ELEMENT, - SVG_FEDISPLACEMENTMAP_ELEMENT, - SVG_FEDISTANTLIGHT_ELEMENT, - SVG_FEFLOOD_ELEMENT, - SVG_FEFUNCA_ELEMENT, - SVG_FEFUNCB_ELEMENT, - SVG_FEFUNCG_ELEMENT, - SVG_FEFUNCR_ELEMENT, - SVG_FEGAUSSIANBLUR_ELEMENT, - SVG_FEIMAGE_ELEMENT, - SVG_FEMERGE_ELEMENT, - SVG_FEMERGENODE_ELEMENT, - SVG_FEMORPHOLOGY_ELEMENT, - SVG_FEOFFSET_ELEMENT, - SVG_FEPOINTLIGHT_ELEMENT, - SVG_FESPECULARLIGHTING_ELEMENT, - SVG_FESPOTLIGHT_ELEMENT, - SVG_FETILE_ELEMENT, - SVG_FETURBULENCE_ELEMENT, - SVG_FILTER_ELEMENT, - SVG_FONT_ELEMENT, - SVG_FONT_FACE_ELEMENT, - SVG_FONT_FACE_FORMAT_ELEMENT, - SVG_FONT_FACE_NAME_ELEMENT, - SVG_FONT_FACE_SRC_ELEMENT, - SVG_FONT_FACE_URI_ELEMENT, - SVG_FOREIGNOBJECT_ELEMENT, - SVG_G_ELEMENT, - SVG_GLYPH_ELEMENT, - SVG_GLYPHREF_ELEMENT, - SVG_HKERN_ELEMENT, - SVG_IMAGE_ELEMENT, - SVG_LINE_ELEMENT, - SVG_LINEARGRADIENT_ELEMENT, - SVG_MARKER_ELEMENT, - SVG_MASK_ELEMENT, - SVG_METADATA_ELEMENT, - SVG_MISSING_GLYPH_ELEMENT, - SVG_MPATH_ELEMENT, - SVG_PATH_ELEMENT, - SVG_PATTERN_ELEMENT, - SVG_POLYGON_ELEMENT, - SVG_POLYLINE_ELEMENT, - SVG_RADIALGRADIENT_ELEMENT, - SVG_RECT_ELEMENT, - SVG_SCRIPT_ELEMENT, - SVG_SET_ELEMENT, - SVG_STOP_ELEMENT, - SVG_STYLE_ELEMENT, - SVG_SVG_ELEMENT, - SVG_SWITCH_ELEMENT, - SVG_SYMBOL_ELEMENT, - SVG_TEXT_ELEMENT, - SVG_TEXTPATH_ELEMENT, - SVG_TITLE_ELEMENT, - SVG_TREF_ELEMENT, - SVG_TSPAN_ELEMENT, - SVG_USE_ELEMENT, - SVG_VIEW_ELEMENT, - SVG_VKERN_ELEMENT, - SVG_MAX_ELEMENT -} SVGElementType; - - - - -/** - * Look up the SVG Element type enum for a given string - * Return -1 if not found - */ -int svgElementStrToEnum(const char *str); - - -/** - * Return the string corresponding to a given SVG element type enum - * Return "unknown" if not found - */ -const char *svgElementEnumToStr(int type); - - - - -/*######################################################################### -## SVGElement -#########################################################################*/ - -/** - * All of the SVG DOM interfaces that correspond directly to elements in the SVG - * language(e.g., the SVGPathElement interface corresponds directly to the - * 'path' element in the language) are derivative from base class SVGElement. - */ -class SVGElement : public Element -{ -public: - - //#################################################################### - //# BASE METHODS FOR SVGElement - //#################################################################### - - /** - * Get the value of the id attribute on the given element. - */ - DOMString getId(); - - /** - * Set the value of the id attribute on the given element. - */ - void setId(const DOMString &val) throw(DOMException); - - /** - * Corresponds to attribute xml:base on the given element. - */ - DOMString getXmlBase(); - - /** - * Corresponds to attribute xml:base on the given element. - */ - void setXmlBase(const DOMString &val) throw(DOMException); - - /** - * The nearest ancestor 'svg' element. Null if the given element is the - * outermost 'svg' element. - */ - SVGElementPtr getOwnerSVGElement(); - - /** - * The element which established the current viewport. Often, the nearest - * ancestor 'svg' element. Null if the given element is the outermost 'svg' - * element. - */ - SVGElementPtr getViewportElement(); - - - //#################################################################### - //#################################################################### - //# I N T E R F A C E S - //#################################################################### - //#################################################################### - - //#################################################################### - //# SVGAngle - //#################################################################### - - /** - * - */ - unsigned short getUnitType(); - - /** - * - */ - double getValue(); - - /** - * - */ - void setValue(double val) throw(DOMException); - - /** - * - */ - double getValueInSpecifiedUnits(); - - /** - * - */ - void setValueInSpecifiedUnits(double /*val*/) throw(DOMException); - - /** - * - */ - DOMString getValueAsString(); - - /** - * - */ - void setValueAsString(const DOMString &/*val*/) throw(DOMException); - - - /** - * - */ - void newValueSpecifiedUnits(unsigned short /*unitType*/, - double /*valueInSpecifiedUnits*/); - - /** - * - */ - void convertToSpecifiedUnits(unsigned short /*unitType*/); - - //#################################################################### - //## The following animated types are rolled up into a single - //## SVGAnimatedValue interface - //#################################################################### - - //#################################################################### - //## SVGAnimatedAngle - //#################################################################### - - //#################################################################### - //## SVGAnimatedBoolean - //#################################################################### - - //#################################################################### - //## SVGAnimatedEnumeration - //#################################################################### - - //#################################################################### - //## SVGAnimatedInteger - //#################################################################### - - //#################################################################### - //## SVGAnimatedLength - //#################################################################### - - //#################################################################### - //## SVGAnimatedLengthList - //#################################################################### - - //#################################################################### - //## SVGAnimatedNumber - //#################################################################### - - //#################################################################### - //## SVGAnimatedNumberList - //#################################################################### - - //#################################################################### - //## SVGAnimatedPathData - //#################################################################### - - //#################################################################### - //## SVGAnimatedPoints - //#################################################################### - - //#################################################################### - //## SVGAnimatedPreserveAspectRatio - //#################################################################### - - //#################################################################### - //## SVGAnimatedRect - //#################################################################### - - //#################################################################### - //## SVGAnimatedString - //#################################################################### - - //#################################################################### - //## SVGAnimatedTransformList - //#################################################################### - - //#################################################################### - //# SVGAnimatedValue - //#################################################################### - - /** - * - */ - SVGValue &getBaseVal(); - - /** - * - */ - void setBaseVal(const SVGValue &val) throw (DOMException); - - /** - * - */ - SVGValue &getAnimVal(); - - - //#################################################################### - //# SVGColor - //#################################################################### - - /** - * From CSSValue - * A code defining the type of the value as defined above. - */ - unsigned short getCssValueType(); - - /** - * From CSSValue - * A string representation of the current value. - */ - DOMString getCssText(); - - /** - * From CSSValue - * A string representation of the current value. - * Note that setting implies parsing. - */ - void setCssText(const DOMString &val) throw(dom::DOMException); - - - /** - * - */ - unsigned short getColorType(); - - /** - * - */ - css::RGBColor getRgbColor(); - - /** - * - */ - SVGICCColor getIccColor(); - - - /** - * - */ - void setRGBColor(const DOMString& /*rgbColor*/) throw(SVGException); - - /** - * - */ - void setRGBColorICCColor(const DOMString& /*rgbColor*/, - const DOMString& /*iccColor*/) - throw(SVGException); - - /** - * - */ - void setColor(unsigned short /*colorType*/, - const DOMString& /*rgbColor*/, - const DOMString& /*iccColor*/) - throw(SVGException); - - //#################################################################### - //# SVGCSSRule - //#################################################################### - - /** - * From CSSRule - * The type of the rule, as defined above. The expectation is that - * binding-specific casting methods can be used to cast down from an instance of - * the CSSRule interface to the specific derived interface implied by the type. - */ - unsigned short getType(); - - /** - * From CSSRule - * The parsable textual representation of the rule. This reflects the current - * state of the rule and not its initial value. - */ - DOMString getCssText(); - - /** - * From CSSRule - * The parsable textual representation of the rule. This reflects the current - * state of the rule and not its initial value. - * Note that setting involves reparsing. - */ - void setCssText(const DOMString &val) throw(DOMException); - - /** - * From CSSRule - * The style sheet that contains this rule. - */ - css::CSSStyleSheet *getParentStyleSheet(); - - /** - * From CSSRule - * If this rule is contained inside another rule(e.g. a style rule inside an - * @media block), this is the containing rule. If this rule is not nested inside - * any other rules, this returns null. - */ - css::CSSRule *getParentRule(); - - //#################################################################### - //# SVGExternalResourcesRequired - //#################################################################### - - /** - * - */ - SVGAnimatedBoolean getExternalResourcesRequired(); - - //#################################################################### - //# SVGFitToViewBox - //#################################################################### - - /** - * - */ - SVGAnimatedRect getViewBox(); - - /** - * - */ - SVGAnimatedPreserveAspectRatio getPreserveAspectRatio(); - - //#################################################################### - //# SVGICCColor - //#################################################################### - - /** - * - */ - DOMString getColorProfile(); - - /** - * - */ - void setColorProfile(const DOMString &val) throw(DOMException); - - /** - * - */ - SVGNumberList &getColors(); - - //#################################################################### - //# SVGLangSpace - //#################################################################### - - /** - * - */ - DOMString getXmllang(); - - /** - * - */ - void setXmllang(const DOMString &val) throw(DOMException); - - /** - * - */ - DOMString getXmlspace(); - - /** - * - */ - void setXmlspace(const DOMString &val) throw(DOMException); - - //#################################################################### - //# SVGLength - //#################################################################### - - /** - * - */ - unsigned short getUnitType(); - - /** - * - */ - double getValue(); - - /** - * - */ - void setValue(double val) throw(DOMException); - - /** - * - */ - double getValueInSpecifiedUnits(); - - /** - * - */ - void setValueInSpecifiedUnits(double /*val*/) throw(DOMException); - - /** - * - */ - DOMString getValueAsString(); - - /** - * - */ - void setValueAsString(const DOMString& /*val*/) throw(DOMException); - - - /** - * - */ - void newValueSpecifiedUnits(unsigned short /*unitType*/, double /*val*/); - - /** - * - */ - void convertToSpecifiedUnits(unsigned short /*unitType*/); - - //#################################################################### - //# SVGLengthList - //#################################################################### - - /** - * - */ - unsigned long getNumberOfItems(); - - - /** - * - */ - void clear() throw(DOMException); - - /** - * - */ - SVGLength initialize(const SVGLength &newItem) - throw(DOMException, SVGException); - - /** - * - */ - SVGLength getItem(unsigned long index) throw(DOMException); - - /** - * - */ - SVGLength insertItemBefore(const SVGLength &newItem, unsigned long index) - throw(DOMException, SVGException); - - /** - * - */ - SVGLength replaceItem(const SVGLength &newItem, unsigned long index) - throw(DOMException, SVGException); - - /** - * - */ - SVGLength removeItem(unsigned long index) throw(DOMException); - - /** - * - */ - SVGLength appendItem(const SVGLength &newItem) - throw(DOMException, SVGException); - - //#################################################################### - //# SVGLocatable - //#################################################################### - - /** - * - */ - SVGElementPtr getNearestViewportElement(); - - /** - * - */ - SVGElement *getFarthestViewportElement(); - - /** - * - */ - SVGRect getBBox(); - - /** - * - */ - SVGMatrix getCTM(); - - /** - * - */ - SVGMatrix getScreenCTM(); - - /** - * - */ - SVGMatrix getTransformToElement(const SVGElement &/*element*/) - throw(SVGException); - - //#################################################################### - //# SVGNumber - //#################################################################### - - /** - * - */ - double getValue(); - - /** - * - */ - void setValue(double val) throw(DOMException); - - //#################################################################### - //# SVGNumberList - //#################################################################### - - /** - * - */ - unsigned long getNumberOfItems(); - - - /** - * - */ - void clear() throw(DOMException); - - /** - * - */ - SVGNumber initialize(const SVGNumber &newItem) - throw(DOMException, SVGException); - - /** - * - */ - SVGNumber getItem(unsigned long index) throw(DOMException); - - /** - * - */ - SVGNumber insertItemBefore(const SVGNumber &newItem, unsigned long index) - throw(DOMException, SVGException); - - /** - * - */ - SVGNumber replaceItem(const SVGNumber &newItem, unsigned long index) - throw(DOMException, SVGException); - - /** - * - */ - SVGNumber removeItem(unsigned long index) throw(DOMException); - - /** - * - */ - SVGNumber appendItem(const SVGNumber &newItem) - throw(DOMException, SVGException); - - //#################################################################### - //# SVGRect - //#################################################################### - - /** - * - */ - double getX(); - - /** - * - */ - void setX(double val) throw(DOMException); - - /** - * - */ - double getY(); - - /** - * - */ - void setY(double val) throw(DOMException); - - /** - * - */ - double getWidth(); - - /** - * - */ - void setWidth(double val) throw(DOMException); - - /** - * - */ - double getHeight(); - - /** - * - */ - void setHeight(double val) throw(DOMException); - - //#################################################################### - //# SVGRenderingIntent - //#################################################################### - - //#################################################################### - //# SVGStringList - //#################################################################### - - /** - * - */ - unsigned long getNumberOfItems(); - - /** - * - */ - void clear() throw(DOMException); - - /** - * - */ - DOMString initialize(const DOMString& newItem) - throw(DOMException, SVGException); +//######################################################################## - /** - * - */ - DOMString getItem(unsigned long index) throw(DOMException); - /** - * - */ - DOMString insertItemBefore(const DOMString& newItem, unsigned long index) - throw(DOMException, SVGException); - /** - * - */ - DOMString replaceItem(const DOMString& newItem, unsigned long index) - throw(DOMException, SVGException); - /** - * - */ - DOMString removeItem(unsigned long index) throw(DOMException); - /** - * - */ - DOMString appendItem(const DOMString& newItem) - throw(DOMException, SVGException); +/*######################################################################### +## Types +#########################################################################*/ - //#################################################################### - //# SVGStylable - //#################################################################### +/** + * Bitmasks for has_an interface for SVGElement + */ +#define SVG_ANGLE 0x00000001 +#define SVG_ANIMATED_ANGLE 0x00000002 +#define SVG_ANIMATED_BOOLEAN 0x00000004 +#define SVG_ANIMATED_ENUMERATION 0x00000008 +#define SVG_ANIMATED_INTEGER 0x00000010 +#define SVG_ANIMATED_LENGTH 0x00000020 +#define SVG_ANIMATED_LENGTH_LIST 0x00000040 +#define SVG_ANIMATED_NUMBER 0x00000080 +#define SVG_ANIMATED_NUMBER_LIST 0x00000100 +#define SVG_ANIMATED_RECT 0x00000200 +#define SVG_ANIMATED_STRING 0x00000400 +#define SVG_COLOR 0x00000800 +#define SVG_CSS_RULE 0x00001000 +#define SVG_EXTERNAL_RESOURCES_REQUIRED 0x00002000 +#define SVG_FIT_TO_VIEWBOX 0x00004000 +#define SVG_ICCCOLOR 0x00008000 +#define SVG_LANG_SPACE 0x00010000 +#define SVG_LENGTH 0x00020000 +#define SVG_LENGTH_LIST 0x00040000 +#define SVG_LOCATABLE 0x00080000 +#define SVG_NUMBER 0x00100000 +#define SVG_NUMBER_LIST 0x00200000 +#define SVG_RECT 0x00400000 +#define SVG_RENDERING_INTENT 0x00800000 +#define SVG_STRING_LIST 0x01000000 +#define SVG_STYLABLE 0x02000000 +#define SVG_TESTS 0x04000000 +#define SVG_TRANSFORMABLE 0x08000000 +#define SVG_UNIT_TYPES 0x10000000 +#define SVG_URI_REFERENCE 0x20000000 +#define SVG_VIEW_SPEC 0x40000000 +#define SVG_ZOOM_AND_PAN 0x80000000 - /** - * - */ - SVGAnimatedString getClassName(); +/** + * How many above? Quite handy + */ +#define SVG_NR_INTERFACES 32 - /** - * - */ - css::CSSStyleDeclaration getStyle(); - /** - * - */ - css::CSSValue getPresentationAttribute(const DOMString& /*name*/); +/** + * Enumerations for SVGElement types + */ +typedef enum +{ + SVG_A_ELEMENT = 0, + SVG_ALTGLYPH_ELEMENT, + SVG_ALTGLYPHDEF_ELEMENT, + SVG_ALTGLYPHITEM_ELEMENT, + SVG_ANIMATE_ELEMENT, + SVG_ANIMATECOLOR_ELEMENT, + SVG_ANIMATEMOTION_ELEMENT, + SVG_ANIMATETRANSFORM_ELEMENT, + SVG_CIRCLE_ELEMENT, + SVG_CLIPPATH_ELEMENT, + SVG_COLOR_PROFILE_ELEMENT, + SVG_CURSOR_ELEMENT, + SVG_DEFINITION_SRC_ELEMENT, + SVG_DEFS_ELEMENT, + SVG_DESC_ELEMENT, + SVG_ELLIPSE_ELEMENT, + SVG_FEBLEND_ELEMENT, + SVG_FECOLORMATRIX_ELEMENT, + SVG_FECOMPONENTTRANSFER_ELEMENT, + SVG_FECOMPOSITE_ELEMENT, + SVG_FECONVOLVEMATRIX_ELEMENT, + SVG_FEDIFFUSELIGHTING_ELEMENT, + SVG_FEDISPLACEMENTMAP_ELEMENT, + SVG_FEDISTANTLIGHT_ELEMENT, + SVG_FEFLOOD_ELEMENT, + SVG_FEFUNCA_ELEMENT, + SVG_FEFUNCB_ELEMENT, + SVG_FEFUNCG_ELEMENT, + SVG_FEFUNCR_ELEMENT, + SVG_FEGAUSSIANBLUR_ELEMENT, + SVG_FEIMAGE_ELEMENT, + SVG_FEMERGE_ELEMENT, + SVG_FEMERGENODE_ELEMENT, + SVG_FEMORPHOLOGY_ELEMENT, + SVG_FEOFFSET_ELEMENT, + SVG_FEPOINTLIGHT_ELEMENT, + SVG_FESPECULARLIGHTING_ELEMENT, + SVG_FESPOTLIGHT_ELEMENT, + SVG_FETILE_ELEMENT, + SVG_FETURBULENCE_ELEMENT, + SVG_FILTER_ELEMENT, + SVG_FONT_ELEMENT, + SVG_FONT_FACE_ELEMENT, + SVG_FONT_FACE_FORMAT_ELEMENT, + SVG_FONT_FACE_NAME_ELEMENT, + SVG_FONT_FACE_SRC_ELEMENT, + SVG_FONT_FACE_URI_ELEMENT, + SVG_FOREIGNOBJECT_ELEMENT, + SVG_G_ELEMENT, + SVG_GLYPH_ELEMENT, + SVG_GLYPHREF_ELEMENT, + SVG_HKERN_ELEMENT, + SVG_IMAGE_ELEMENT, + SVG_LINE_ELEMENT, + SVG_LINEARGRADIENT_ELEMENT, + SVG_MARKER_ELEMENT, + SVG_MASK_ELEMENT, + SVG_METADATA_ELEMENT, + SVG_MISSING_GLYPH_ELEMENT, + SVG_MPATH_ELEMENT, + SVG_PATH_ELEMENT, + SVG_PATTERN_ELEMENT, + SVG_POLYGON_ELEMENT, + SVG_POLYLINE_ELEMENT, + SVG_RADIALGRADIENT_ELEMENT, + SVG_RECT_ELEMENT, + SVG_SCRIPT_ELEMENT, + SVG_SET_ELEMENT, + SVG_STOP_ELEMENT, + SVG_STYLE_ELEMENT, + SVG_SVG_ELEMENT, + SVG_SWITCH_ELEMENT, + SVG_SYMBOL_ELEMENT, + SVG_TEXT_ELEMENT, + SVG_TEXTPATH_ELEMENT, + SVG_TITLE_ELEMENT, + SVG_TREF_ELEMENT, + SVG_TSPAN_ELEMENT, + SVG_USE_ELEMENT, + SVG_VIEW_ELEMENT, + SVG_VKERN_ELEMENT, + SVG_MAX_ELEMENT +} SVGElementType; - //#################################################################### - //# SVGTests - //#################################################################### - /** - * - */ - SVGStringList &getRequiredFeatures(); - /** - * - */ - SVGStringList &getRequiredExtensions(); - /** - * - */ - SVGStringList &getSystemLanguage(); +/** + * Look up the SVG Element type enum for a given string + * Return -1 if not found + */ +int svgElementStrToEnum(const char *str); - /** - * - */ - bool hasExtension(const DOMString& /*extension*/); - //#################################################################### - //# SVGTransformable - //#################################################################### +/** + * Return the string corresponding to a given SVG element type enum + * Return "unknown" if not found + */ +const char *svgElementEnumToStr(int type); - /** - * - */ - SVGAnimatedTransformList &getTransform(); - //#################################################################### - //# SVGUnitTypes - //#################################################################### - //#################################################################### - //# SVGURIReference - //#################################################################### - /** - * - */ - SVGAnimatedString getHref(); +/*######################################################################### +## SVGElement +#########################################################################*/ + +/** + * All of the SVG DOM interfaces that correspond directly to elements in the SVG + * language(e.g., the SVGPathElement interface corresponds directly to the + * 'path' element in the language) are derivative from base class SVGElement. + */ +class SVGElement : public Element +{ +public: //#################################################################### - //# SVGViewSpec + //# BASE METHODS FOR SVGElement //#################################################################### /** - * + * Get the value of the id attribute on the given element. */ - SVGTransformList getTransform(); + DOMString getId(); /** - * + * Set the value of the id attribute on the given element. */ - SVGElement *getViewTarget(); + void setId(const DOMString &val) throw(DOMException); /** - * + * Corresponds to attribute xml:base on the given element. */ - DOMString getViewBoxString(); + DOMString getXmlBase(); /** - * + * Corresponds to attribute xml:base on the given element. */ - DOMString getPreserveAspectRatioString(); + void setXmlBase(const DOMString &val) throw(DOMException); /** - * + * The nearest ancestor 'svg' element. Null if the given element is the + * outermost 'svg' element. */ - DOMString getTransformString(); + SVGElementPtr getOwnerSVGElement(); /** - * + * The element which established the current viewport. Often, the nearest + * ancestor 'svg' element. Null if the given element is the outermost 'svg' + * element. */ - DOMString getViewTargetString(); - - //#################################################################### - //# SVGZoomAndPan - //#################################################################### + SVGElementPtr getViewportElement(); - /** - * - */ - unsigned short getZoomAndPan(); - /** - * - */ - void setZoomAndPan(unsigned short val) throw(DOMException); //#################################################################### //#################################################################### @@ -3796,7 +3178,7 @@ public: /** * */ - SVGAnimatedString getTarget(); + SVGAnimatedValue getTarget(); @@ -3888,17 +3270,17 @@ public: /** * Corresponds to attribute cx on the given 'circle' element. */ - SVGAnimatedLength getCx(); + SVGAnimatedValue getCx(); /** * Corresponds to attribute cy on the given 'circle' element. */ - SVGAnimatedLength getCy(); + SVGAnimatedValue getCy(); /** * Corresponds to attribute r on the given 'circle' element. */ - SVGAnimatedLength getR(); + SVGAnimatedValue getR(); //#################################################################### //# SVGClipPathElement @@ -3909,7 +3291,7 @@ public: * Corresponds to attribute clipPathUnits on the given 'clipPath' element. * Takes one of the constants defined in SVGUnitTypes. */ - SVGAnimatedEnumeration getClipPathUnits(); + SVGAnimatedValue getClipPathUnits(); @@ -3973,52 +3355,53 @@ public: /** * Corresponds to attribute type on the given element. Takes one\ * of the Component Transfer Types. + * -- also in SVGCSSRule */ - SVGAnimatedEnumeration getType(); + // SVGAnimatedValue getType(); /** * Corresponds to attribute tableValues on the given element. */ - SVGAnimatedNumberList getTableValues(); + SVGAnimatedValueList getTableValues(); /** * Corresponds to attribute slope on the given element. */ - SVGAnimatedNumber getSlope(); + SVGAnimatedValue getSlope(); /** * Corresponds to attribute intercept on the given element. */ - SVGAnimatedNumber getIntercept(); + SVGAnimatedValue getIntercept(); /** * Corresponds to attribute amplitude on the given element. */ - SVGAnimatedNumber getAmplitude(); + SVGAnimatedValue getAmplitude(); /** * Corresponds to attribute exponent on the given element. */ - SVGAnimatedNumber getExponent(); + SVGAnimatedValue getExponent(); /** * Corresponds to attribute offset on the given element. */ - SVGAnimatedNumber getOffset(); + SVGAnimatedValue getOffset(); //#################################################################### //# SVGCursorElement //#################################################################### /** - * + * -- also in SVGRect */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** - * + * -- also in SVGRect */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); //#################################################################### @@ -4039,23 +3422,25 @@ public: /** * Corresponds to attribute cx on the given 'ellipse' element. + * -- also in Circle */ - SVGAnimatedLength getCx(); + // SVGAnimatedValue getCx(); /** * Corresponds to attribute cy on the given 'ellipse' element. + * -- also in Circle */ - SVGAnimatedLength getCy(); + // SVGAnimatedValue getCy(); /** * Corresponds to attribute rx on the given 'ellipse' element. */ - SVGAnimatedLength getRx(); + SVGAnimatedValue getRx(); /** * Corresponds to attribute ry on the given 'ellipse' element. */ - SVGAnimatedLength getRy(); + SVGAnimatedValue getRy(); //#################################################################### @@ -4078,18 +3463,18 @@ public: /** * Corresponds to attribute in on the given 'feBlend' element. */ - SVGAnimatedString getIn1(); + SVGAnimatedValue getIn1(); /** * Corresponds to attribute in2 on the given 'feBlend' element. */ - SVGAnimatedString getIn2(); + SVGAnimatedValue getIn2(); /** * Corresponds to attribute mode on the given 'feBlend' element. * Takes one of the Blend Mode Types. */ - SVGAnimatedEnumeration getMode(); + SVGAnimatedValue getMode(); //#################################################################### @@ -4111,20 +3496,22 @@ public: /** * Corresponds to attribute in on the given 'feColorMatrix' element. + * - also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); /** * Corresponds to attribute type on the given 'feColorMatrix' element. * Takes one of the Color Matrix Types. + * -- also in CSSRule */ - SVGAnimatedEnumeration getType(); + // SVGAnimatedValue getType(); /** * Corresponds to attribute values on the given 'feColorMatrix' element. * Provides access to the contents of the values attribute. */ - SVGAnimatedNumberList getValues(); + SVGAnimatedValueList getValues(); //#################################################################### @@ -4134,8 +3521,9 @@ public: /** * Corresponds to attribute in on the given 'feComponentTransfer' element. + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); //#################################################################### //# SVGFECompositeElement @@ -4157,39 +3545,41 @@ public: /** * Corresponds to attribute in on the given 'feComposite' element. + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); /** * Corresponds to attribute in2 on the given 'feComposite' element. + * -- also in feBlend */ - SVGAnimatedString getIn2(); + // SVGAnimatedValue getIn2(); /** * Corresponds to attribute operator on the given 'feComposite' element. * Takes one of the Composite Operators. */ - SVGAnimatedEnumeration getOperator(); + SVGAnimatedValue getOperator(); /** * Corresponds to attribute k1 on the given 'feComposite' element. */ - SVGAnimatedNumber getK1(); + SVGAnimatedValue getK1(); /** * Corresponds to attribute k2 on the given 'feComposite' element. */ - SVGAnimatedNumber getK2(); + SVGAnimatedValue getK2(); /** * Corresponds to attribute k3 on the given 'feComposite' element. */ - SVGAnimatedNumber getK3(); + SVGAnimatedValue getK3(); /** * Corresponds to attribute k4 on the given 'feComposite' element. */ - SVGAnimatedNumber getK4(); + SVGAnimatedValue getK4(); //#################################################################### @@ -4212,61 +3602,61 @@ public: /** * Corresponds to attribute order on the given 'feConvolveMatrix' element. */ - SVGAnimatedInteger getOrderX(); + SVGAnimatedValue getOrderX(); /** * Corresponds to attribute order on the given 'feConvolveMatrix' element. */ - SVGAnimatedInteger getOrderY(); + SVGAnimatedValue getOrderY(); /** * Corresponds to attribute kernelMatrix on the given element. */ - SVGAnimatedNumberList getKernelMatrix(); + SVGAnimatedValueList getKernelMatrix(); /** * Corresponds to attribute divisor on the given 'feConvolveMatrix' element. */ - SVGAnimatedNumber getDivisor(); + SVGAnimatedValue getDivisor(); /** * Corresponds to attribute bias on the given 'feConvolveMatrix' element. */ - SVGAnimatedNumber getBias(); + SVGAnimatedValue getBias(); /** * Corresponds to attribute targetX on the given 'feConvolveMatrix' element. */ - SVGAnimatedInteger getTargetX(); + SVGAnimatedValue getTargetX(); /** * Corresponds to attribute targetY on the given 'feConvolveMatrix' element. */ - SVGAnimatedInteger getTargetY(); + SVGAnimatedValue getTargetY(); /** * Corresponds to attribute edgeMode on the given 'feConvolveMatrix' * element. Takes one of the Edge Mode Types. */ - SVGAnimatedEnumeration getEdgeMode(); + SVGAnimatedValue getEdgeMode(); /** * Corresponds to attribute kernelUnitLength on the * given 'feConvolveMatrix' element. */ - SVGAnimatedLength getKernelUnitLengthX(); + SVGAnimatedValue getKernelUnitLengthX(); /** * Corresponds to attribute kernelUnitLength on the given * 'feConvolveMatrix' element. */ - SVGAnimatedLength getKernelUnitLengthY(); + SVGAnimatedValue getKernelUnitLengthY(); /** * Corresponds to attribute preserveAlpha on the * given 'feConvolveMatrix' element. */ - SVGAnimatedBoolean getPreserveAlpha(); + SVGAnimatedValue getPreserveAlpha(); @@ -4277,32 +3667,33 @@ public: /** * Corresponds to attribute in on the given 'feDiffuseLighting' element. + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); /** * Corresponds to attribute surfaceScale on the given * 'feDiffuseLighting' element. */ - SVGAnimatedNumber getSurfaceScale(); + SVGAnimatedValue getSurfaceScale(); /** * Corresponds to attribute diffuseConstant on the given * 'feDiffuseLighting' element. */ - SVGAnimatedNumber getDiffuseConstant(); + SVGAnimatedValue getDiffuseConstant(); /** * Corresponds to attribute kernelUnitLength on the given * 'feDiffuseLighting' element. */ - SVGAnimatedNumber getKernelUnitLengthX(); + // SVGAnimatedValue getKernelUnitLengthX(); /** * Corresponds to attribute kernelUnitLength on the given * 'feDiffuseLighting' element. */ - SVGAnimatedNumber getKernelUnitLengthY(); + // SVGAnimatedValue getKernelUnitLengthY(); @@ -4326,29 +3717,31 @@ public: /** * + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); /** * + * -- also in feBlend */ - SVGAnimatedString getIn2(); + // SVGAnimatedValue getIn2(); /** * */ - SVGAnimatedNumber getScale(); + SVGAnimatedValue getScale(); /** * */ - SVGAnimatedEnumeration getXChannelSelector(); + SVGAnimatedValue getXChannelSelector(); /** * */ - SVGAnimatedEnumeration getYChannelSelector(); + SVGAnimatedValue getYChannelSelector(); //#################################################################### //# SVGFEDistantLightElement @@ -4358,14 +3751,14 @@ public: /** * Corresponds to attribute azimuth on the given 'feDistantLight' element. */ - SVGAnimatedNumber getAzimuth(); + SVGAnimatedValue getAzimuth(); /** * Corresponds to attribute elevation on the given 'feDistantLight' * element */ - SVGAnimatedNumber getElevation(); + SVGAnimatedValue getElevation(); //#################################################################### @@ -4375,8 +3768,9 @@ public: /** * + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); //#################################################################### @@ -4403,19 +3797,20 @@ public: /** * + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); /** * */ - SVGAnimatedNumber getStdDeviationX(); + SVGAnimatedValue getStdDeviationX(); /** * */ - SVGAnimatedNumber getStdDeviationY(); + SVGAnimatedValue getStdDeviationY(); /** @@ -4456,24 +3851,25 @@ public: /** * + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); /** * */ - SVGAnimatedEnumeration getOperator(); + // SVGAnimatedValue getOperator(); /** * */ - SVGAnimatedLength getRadiusX(); + SVGAnimatedValue getRadiusX(); /** * */ - SVGAnimatedLength getRadiusY(); + SVGAnimatedValue getRadiusY(); //#################################################################### //# SVGFEOffsetElement @@ -4481,18 +3877,19 @@ public: /** * + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); /** * */ - SVGAnimatedLength getDx(); + SVGAnimatedValue getDx(); /** * */ - SVGAnimatedLength getDy(); + SVGAnimatedValue getDy(); //#################################################################### @@ -4502,17 +3899,17 @@ public: /** * Corresponds to attribute x on the given 'fePointLight' element. */ - SVGAnimatedNumber getX(); + SVGAnimatedValue getX(); /** * Corresponds to attribute y on the given 'fePointLight' element. */ - SVGAnimatedNumber getY(); + SVGAnimatedValue getY(); /** * Corresponds to attribute z on the given 'fePointLight' element. */ - SVGAnimatedNumber getZ(); + SVGAnimatedValue getZ(); //#################################################################### //# SVGFESpecularLightingElement @@ -4521,23 +3918,24 @@ public: /** * + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); /** * */ - SVGAnimatedNumber getSurfaceScale(); + // SVGAnimatedValue getSurfaceScale(); /** * */ - SVGAnimatedNumber getSpecularConstant(); + SVGAnimatedValue getSpecularConstant(); /** * */ - SVGAnimatedNumber getSpecularExponent(); + SVGAnimatedValue getSpecularExponent(); //#################################################################### @@ -4547,44 +3945,44 @@ public: /** * Corresponds to attribute x on the given 'feSpotLight' element. */ - SVGAnimatedNumber getX(); + // SVGAnimatedValue getX(); /** * Corresponds to attribute y on the given 'feSpotLight' element. */ - SVGAnimatedNumber getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute z on the given 'feSpotLight' element. */ - SVGAnimatedNumber getZ(); + // SVGAnimatedValue getZ(); /** * Corresponds to attribute pointsAtX on the given 'feSpotLight' element. */ - SVGAnimatedNumber getPointsAtX(); + SVGAnimatedValue getPointsAtX(); /** * Corresponds to attribute pointsAtY on the given 'feSpotLight' element. */ - SVGAnimatedNumber getPointsAtY(); + SVGAnimatedValue getPointsAtY(); /** * Corresponds to attribute pointsAtZ on the given 'feSpotLight' element. */ - SVGAnimatedNumber getPointsAtZ(); + SVGAnimatedValue getPointsAtZ(); /** * Corresponds to attribute specularExponent on the * given 'feSpotLight' element. */ - SVGAnimatedNumber getSpecularExponent(); + // SVGAnimatedValue getSpecularExponent(); /** * Corresponds to attribute limitingConeAngle on the * given 'feSpotLight' element. */ - SVGAnimatedNumber getLimitingConeAngle(); + SVGAnimatedValue getLimitingConeAngle(); //#################################################################### @@ -4594,8 +3992,9 @@ public: /** * + * -- also in feBlend */ - SVGAnimatedString getIn1(); + // SVGAnimatedValue getIn1(); //#################################################################### @@ -4628,32 +4027,32 @@ public: /** * */ - SVGAnimatedNumber getBaseFrequencyX(); + SVGAnimatedValue getBaseFrequencyX(); /** * */ - SVGAnimatedNumber getBaseFrequencyY(); + SVGAnimatedValue getBaseFrequencyY(); /** * */ - SVGAnimatedInteger getNumOctaves(); + SVGAnimatedValue getNumOctaves(); /** * */ - SVGAnimatedNumber getSeed(); + SVGAnimatedValue getSeed(); /** * */ - SVGAnimatedEnumeration getStitchTiles(); + SVGAnimatedValue getStitchTiles(); /** * */ - SVGAnimatedEnumeration getType(); + SVGAnimatedValue getType(); @@ -4666,47 +4065,47 @@ public: * Corresponds to attribute filterUnits on the given 'filter' element. Takes one * of the constants defined in SVGUnitTypes. */ - SVGAnimatedEnumeration getFilterUnits(); + SVGAnimatedValue getFilterUnits(); /** * Corresponds to attribute primitiveUnits on the given 'filter' element. Takes * one of the constants defined in SVGUnitTypes. */ - SVGAnimatedEnumeration getPrimitiveUnits(); + SVGAnimatedValue getPrimitiveUnits(); /** * */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * Corresponds to attribute x on the given 'filter' element. */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute y on the given 'filter' element. */ - SVGAnimatedLength getWidth(); + // SVGAnimatedValue getWidth(); /** * Corresponds to attribute height on the given 'filter' element. */ - SVGAnimatedLength getHeight(); + // SVGAnimatedValue getHeight(); /** * Corresponds to attribute filterRes on the given 'filter' element. * Contains the X component of attribute filterRes. */ - SVGAnimatedInteger getFilterResX(); + SVGAnimatedValue getFilterResX(); /** * Corresponds to attribute filterRes on the given 'filter' element. * Contains the Y component(possibly computed automatically) * of attribute filterRes. */ - SVGAnimatedInteger getFilterResY(); + SVGAnimatedValue getFilterResY(); /** * Sets the values for attribute filterRes. @@ -4745,22 +4144,22 @@ public: /** * */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * */ - SVGAnimatedLength getWidth(); + // SVGAnimatedValue getWidth(); /** * */ - SVGAnimatedLength getHeight(); + // SVGAnimatedValue getHeight(); @@ -4772,62 +4171,62 @@ public: /** * Get the attribute glyphRef on the given element. */ - DOMString getGlyphRef(); + // DOMString getGlyphRef(); /** * Set the attribute glyphRef on the given element. */ - void setGlyphRef(const DOMString &val) throw(DOMException); + // void setGlyphRef(const DOMString &val) throw(DOMException); /** * Get the attribute format on the given element. */ - DOMString getFormat(); + // DOMString getFormat(); /** * Set the attribute format on the given element. */ - void setFormat(const DOMString &val) throw(DOMException); + // void setFormat(const DOMString &val) throw(DOMException); /** * Get the attribute x on the given element. */ - double getX(); + // double getX(); /** * Set the attribute x on the given element. */ - void setX(double val) throw(DOMException); + // void setX(double val) throw(DOMException); /** * Get the attribute y on the given element. */ - double getY(); + // double getY(); /** * Set the attribute y on the given element. */ - void setY(double val) throw(DOMException); + // void setY(double val) throw(DOMException); /** * Get the attribute dx on the given element. */ - double getDx(); + // double getDx(); /** * Set the attribute dx on the given element. */ - void setDx(double val) throw(DOMException); + // void setDx(double val) throw(DOMException); /** * Get the attribute dy on the given element. */ - double getDy(); + // double getDy(); /** * Set the attribute dy on the given element. */ - void setDy(double val) throw(DOMException); + // void setDy(double val) throw(DOMException); //#################################################################### @@ -4851,18 +4250,18 @@ public: * Corresponds to attribute gradientUnits on the given element. * Takes one of the constants defined in SVGUnitTypes. */ - SVGAnimatedEnumeration getGradientUnits(); + SVGAnimatedValue &getGradientUnits(); /** * Corresponds to attribute gradientTransform on the given element. */ - SVGAnimatedTransformList getGradientTransform(); + SVGAnimatedValueList &getGradientTransform(); /** * Corresponds to attribute spreadMethod on the given element. * One of the Spread Method Types. */ - SVGAnimatedEnumeration getSpreadMethod(); + SVGAnimatedValue &getSpreadMethod(); @@ -4877,28 +4276,28 @@ public: /** * Corresponds to attribute x on the given 'image' element. */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * Corresponds to attribute y on the given 'image' element. */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute width on the given 'image' element. */ - SVGAnimatedLength getWidth(); + // SVGAnimatedValue getWidth(); /** * Corresponds to attribute height on the given 'image' element. */ - SVGAnimatedLength getHeight(); + // SVGAnimatedValue getHeight(); /** * Corresponds to attribute preserveAspectRatio on the given element. */ - SVGAnimatedPreserveAspectRatio getPreserveAspectRatio(); + // SVGAnimatedPreserveAspectRatio getPreserveAspectRatio(); //#################################################################### //# SVGLinearGradientElement @@ -4907,22 +4306,22 @@ public: /** * Corresponds to attribute x1 on the given 'linearGradient' element. */ - SVGAnimatedLength getX1(); + // SVGAnimatedValue getX1(); /** * Corresponds to attribute y1 on the given 'linearGradient' element. */ - SVGAnimatedLength getY1(); + // SVGAnimatedValue getY1(); /** * Corresponds to attribute x2 on the given 'linearGradient' element. */ - SVGAnimatedLength getX2(); + // SVGAnimatedValue getX2(); /** * Corresponds to attribute y2 on the given 'linearGradient' element. */ - SVGAnimatedLength getY2(); + // SVGAnimatedValue getY2(); @@ -4933,22 +4332,22 @@ public: /** * Corresponds to attribute x1 on the given 'line' element. */ - SVGAnimatedLength getX1(); + // SVGAnimatedValue getX1(); /** * Corresponds to attribute y1 on the given 'line' element. */ - SVGAnimatedLength getY1(); + // SVGAnimatedValue getY1(); /** * Corresponds to attribute x2 on the given 'line' element. */ - SVGAnimatedLength getX2(); + // SVGAnimatedValue getX2(); /** * Corresponds to attribute y2 on the given 'line' element. */ - SVGAnimatedLength getY2(); + // SVGAnimatedValue getY2(); //#################################################################### @@ -4980,41 +4379,41 @@ public: /** * Corresponds to attribute refX on the given 'marker' element. */ - SVGAnimatedLength getRefX(); + SVGAnimatedValue getRefX(); /** * Corresponds to attribute refY on the given 'marker' element. */ - SVGAnimatedLength getRefY(); + SVGAnimatedValue getRefY(); /** * Corresponds to attribute markerUnits on the given 'marker' element. * One of the Marker Units Types defined above. */ - SVGAnimatedEnumeration getMarkerUnits(); + SVGAnimatedValue getMarkerUnits(); /** * Corresponds to attribute markerWidth on the given 'marker' element. */ - SVGAnimatedLength getMarkerWidth(); + SVGAnimatedValue getMarkerWidth(); /** * Corresponds to attribute markerHeight on the given 'marker' element. */ - SVGAnimatedLength getMarkerHeight(); + SVGAnimatedValue getMarkerHeight(); /** * Corresponds to attribute orient on the given 'marker' element. * One of the Marker Orientation Types defined above. */ - SVGAnimatedEnumeration getOrientType(); + SVGAnimatedValue getOrientType(); /** * Corresponds to attribute orient on the given 'marker' element. * If markerUnits is SVG_MARKER_ORIENT_ANGLE, the angle value for * attribute orient; otherwise, it will be set to zero. */ - SVGAnimatedAngle getOrientAngle(); + SVGAnimatedValue getOrientAngle(); /** @@ -5037,33 +4436,33 @@ public: * Corresponds to attribute maskUnits on the given 'mask' element. Takes one of * the constants defined in SVGUnitTypes. */ - SVGAnimatedEnumeration getMaskUnits(); + SVGAnimatedValue getMaskUnits(); /** * Corresponds to attribute maskContentUnits on the given 'mask' element. Takes * one of the constants defined in SVGUnitTypes. */ - SVGAnimatedEnumeration getMaskContentUnits(); + SVGAnimatedValue getMaskContentUnits(); /** * Corresponds to attribute x on the given 'mask' element. */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * Corresponds to attribute y on the given 'mask' element. */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute width on the given 'mask' element. */ - SVGAnimatedLength getWidth(); + // SVGAnimatedValue getWidth(); /** * Corresponds to attribute height on the given 'mask' element. */ - SVGAnimatedLength getHeight(); + // SVGAnimatedValue getHeight(); //#################################################################### //# SVGMetadataElement @@ -5081,7 +4480,7 @@ public: /** * Corresponds to attribute pathLength on the given 'path' element. */ - SVGAnimatedNumber getPathLength(); + SVGAnimatedValue getPathLength(); /** * Returns the user agent's computed value for the total length of the path using @@ -5221,38 +4620,38 @@ public: * Corresponds to attribute patternUnits on the given 'pattern' element. * Takes one of the constants defined in SVGUnitTypes. */ - SVGAnimatedEnumeration getPatternUnits(); + SVGAnimatedValue getPatternUnits(); /** * Corresponds to attribute patternContentUnits on the given 'pattern' * element. Takes one of the constants defined in SVGUnitTypes. */ - SVGAnimatedEnumeration getPatternContentUnits(); + SVGAnimatedValue getPatternContentUnits(); /** * Corresponds to attribute patternTransform on the given 'pattern' element. */ - SVGAnimatedTransformList getPatternTransform(); + SVGAnimatedValueList &getPatternTransform(); /** * Corresponds to attribute x on the given 'pattern' element. */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute width on the given 'pattern' element. */ - SVGAnimatedLength getWidth(); + // SVGAnimatedValue getWidth(); /** * Corresponds to attribute height on the given 'pattern' element. */ - SVGAnimatedLength getHeight(); + // SVGAnimatedValue getHeight(); //#################################################################### @@ -5271,31 +4670,31 @@ public: /** * Corresponds to attribute cx on the given 'radialGradient' element. */ - SVGAnimatedLength getCx(); + // SVGAnimatedValue getCx(); /** * Corresponds to attribute cy on the given 'radialGradient' element. */ - SVGAnimatedLength getCy(); + // SVGAnimatedValue getCy(); /** * Corresponds to attribute r on the given 'radialGradient' element. */ - SVGAnimatedLength getR(); + // SVGAnimatedValue getR(); /** * Corresponds to attribute fx on the given 'radialGradient' element. */ - SVGAnimatedLength getFx(); + SVGAnimatedValue getFx(); /** * Corresponds to attribute fy on the given 'radialGradient' element. */ - SVGAnimatedLength getFy(); + SVGAnimatedValue getFy(); //#################################################################### @@ -5305,33 +4704,33 @@ public: /** * Corresponds to attribute x on the given 'rect' element. */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * Corresponds to attribute y on the given 'rect' element. */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute width on the given 'rect' element. */ - SVGAnimatedLength getWidth(); + // SVGAnimatedValue getWidth(); /** * Corresponds to attribute height on the given 'rect' element. */ - SVGAnimatedLength getHeight(); + // SVGAnimatedValue getHeight(); /** * Corresponds to attribute rx on the given 'rect' element. */ - SVGAnimatedLength getRx(); + // SVGAnimatedValue getRx(); /** * Corresponds to attribute ry on the given 'rect' element. */ - SVGAnimatedLength getRy(); + // SVGAnimatedValue getRy(); //#################################################################### @@ -5341,12 +4740,12 @@ public: /** * */ - DOMString getType(); + // DOMString getType(); /** * */ - void setType(const DOMString &val) throw(DOMException); + // void setType(const DOMString &val) throw(DOMException); //#################################################################### //# SVGSetElement @@ -5360,7 +4759,7 @@ public: /** * Corresponds to attribute offset on the given 'stop' element. */ - SVGAnimatedNumber getOffset(); + // SVGAnimatedValue getOffset(); //#################################################################### @@ -5380,12 +4779,12 @@ public: /** * Get the attribute type on the given 'style' element. */ - DOMString getType(); + // DOMString getType(); /** * Set the attribute type on the given 'style' element. */ - void setType(const DOMString &val) throw(DOMException); + // void setType(const DOMString &val) throw(DOMException); /** * Get the attribute media on the given 'style' element. @@ -5418,22 +4817,22 @@ public: /** * Corresponds to attribute x on the given 'svg' element. */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * Corresponds to attribute y on the given 'svg' element. */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute width on the given 'svg' element. */ - SVGAnimatedLength getWidth(); + // SVGAnimatedValue getWidth(); /** * Corresponds to attribute height on the given 'svg' element. */ - SVGAnimatedLength getHeight(); + // SVGAnimatedValue getHeight(); /** * Get the attribute contentScriptType on the given 'svg' element. @@ -5630,7 +5029,7 @@ public: * Returns the current time in seconds relative to the start time for * the current SVG document fragment. */ - double getCurrentTime(); + // double getCurrentTime(); /** * Adjusts the clock for this SVG document fragment, establishing @@ -5757,14 +5156,14 @@ public: /** * Corresponds to attribute textLength on the given element. */ - SVGAnimatedLength getTextLength(); + SVGAnimatedValue getTextLength(); /** * Corresponds to attribute lengthAdjust on the given element. The value must be * one of the length adjust constants specified above. */ - SVGAnimatedEnumeration getLengthAdjust(); + SVGAnimatedValue getLengthAdjust(); /** @@ -5898,19 +5297,19 @@ public: /** * Corresponds to attribute startOffset on the given 'textPath' element. */ - SVGAnimatedLength getStartOffset(); + SVGAnimatedValue getStartOffset(); /** * Corresponds to attribute method on the given 'textPath' element. The value * must be one of the method type constants specified above. */ - SVGAnimatedEnumeration getMethod(); + SVGAnimatedValue getMethod(); /** * Corresponds to attribute spacing on the given 'textPath' element. * The value must be one of the spacing type constants specified above. */ - SVGAnimatedEnumeration getSpacing(); + SVGAnimatedValue getSpacing(); //#################################################################### @@ -5921,28 +5320,28 @@ public: /** * Corresponds to attribute x on the given element. */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * Corresponds to attribute y on the given element. */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute dx on the given element. */ - SVGAnimatedLength getDx(); + // SVGAnimatedValue getDx(); /** * Corresponds to attribute dy on the given element. */ - SVGAnimatedLength getDy(); + // SVGAnimatedValue getDy(); /** * Corresponds to attribute rotate on the given element. */ - SVGAnimatedNumberList getRotate(); + SVGAnimatedValueList getRotate(); //#################################################################### @@ -5968,22 +5367,22 @@ public: /** * Corresponds to attribute x on the given 'use' element. */ - SVGAnimatedLength getX(); + // SVGAnimatedValue getX(); /** * Corresponds to attribute y on the given 'use' element. */ - SVGAnimatedLength getY(); + // SVGAnimatedValue getY(); /** * Corresponds to attribute width on the given 'use' element. */ - SVGAnimatedLength getWidth(); + // SVGAnimatedValue getWidth(); /** * Corresponds to attribute height on the given 'use' element. */ - SVGAnimatedLength getHeight(); + // SVGAnimatedValue getHeight(); /** * The root of the "instance tree". See description of SVGElementInstance for @@ -6012,7 +5411,7 @@ public: /** * */ - SVGStringList getViewTarget(); + SVGValueList getViewTarget(); -- 2.30.2