Annotation of Amaya/amaya/SVGnames.h, revision 1.30
1.1 vatton 1:
2: #ifdef _SVG
3: /* mapping table of SVG elements */
4: #include "SVG.h"
5: static ElemMapping SVGElemMappingTable[] =
6: {
1.12 cvs 7: /* This table MUST be in alphabetical order and in lower case */
1.1 vatton 8: {"a", SPACE, SVG_EL_a, L_OtherValue, FALSE},
1.28 quint 9: {"altGlyph", SPACE, SVG_EL_altGlyph, L_OtherValue, FALSE},
10: {"altGlyphDef", SPACE, SVG_EL_altGlyphDef, L_OtherValue, FALSE},
11: {"altGlyphItem", SPACE, SVG_EL_altGlyphItem, L_OtherValue, FALSE},
1.19 quint 12: {"animate", SPACE, SVG_EL_animate, L_OtherValue, FALSE},
13: {"animateColor", SPACE, SVG_EL_animateColor, L_OtherValue, FALSE},
14: {"animateMotion", SPACE, SVG_EL_animateMotion, L_OtherValue, FALSE},
15: {"animateTransform", SPACE, SVG_EL_animateTransform, L_OtherValue, FALSE},
1.1 vatton 16: {"c", SPACE, SVG_EL_TEXT_UNIT, L_OtherValue, TRUE},
1.13 cvs 17: {"cdata", SPACE, SVG_EL_CDATA, L_OtherValue, FALSE},
18: {"cdata_line", SPACE, SVG_EL_CDATA_line, L_OtherValue, FALSE},
1.1 vatton 19: {"circle", SPACE, SVG_EL_circle, L_OtherValue, FALSE},
1.16 quint 20: {"clipPath", SPACE, SVG_EL_clipPath, L_OtherValue, FALSE},
1.28 quint 21: {"color-profile", SPACE, SVG_EL_color_profile, L_OtherValue, FALSE},
1.29 quint 22: {"cursor", SPACE, SVG_EL_cursor, L_OtherValue, FALSE},
23: {"definition-src", SPACE, SVG_EL_definition_src, L_OtherValue, TRUE},
1.1 vatton 24: {"defs", SPACE, SVG_EL_defs, L_OtherValue, FALSE},
25: {"desc", SPACE, SVG_EL_desc, L_OtherValue, FALSE},
1.13 cvs 26: {"doctype", SPACE, SVG_EL_DOCTYPE, L_OtherValue, FALSE},
27: {"doctype_line", SPACE, SVG_EL_DOCTYPE_line, L_OtherValue, FALSE},
1.1 vatton 28: {"ellipse", SPACE, SVG_EL_ellipse, L_OtherValue, FALSE},
1.30 ! quint 29: {"feBlend", SPACE, SVG_EL_feBlend, L_OtherValue, FALSE},
! 30: {"feColorMatrix", SPACE, SVG_EL_feColorMatrix, L_OtherValue, FALSE},
! 31: {"feComponentTransfer", SPACE, SVG_EL_feComponentTransfer, L_OtherValue, FALSE},
! 32: {"feComposite", SPACE, SVG_EL_feComposite, L_OtherValue, FALSE},
! 33: {"feConvolveMatrix", SPACE, SVG_EL_feConvolveMatrix, L_OtherValue, FALSE},
! 34: {"feDiffuseLighting", SPACE, SVG_EL_feDiffuseLighting, L_OtherValue, FALSE},
! 35: {"feDisplacementMap", SPACE, SVG_EL_feDisplacementMap, L_OtherValue, FALSE},
! 36: {"feDistantLight", SPACE, SVG_EL_feDistantLight, L_OtherValue, FALSE},
! 37: {"feFlood", SPACE, SVG_EL_feFlood, L_OtherValue, FALSE},
! 38: {"feFuncA", SPACE, SVG_EL_feFuncA, L_OtherValue, FALSE},
! 39: {"feFuncB", SPACE, SVG_EL_feFuncB, L_OtherValue, FALSE},
! 40: {"feFuncG", SPACE, SVG_EL_feFuncG, L_OtherValue, FALSE},
! 41: {"feFuncR", SPACE, SVG_EL_feFuncR, L_OtherValue, FALSE},
! 42: {"feGaussianBlur", SPACE, SVG_EL_feGaussianBlur, L_OtherValue, FALSE},
! 43: {"feImage", SPACE, SVG_EL_feImage, L_OtherValue, FALSE},
! 44: {"feMerge", SPACE, SVG_EL_feMerge, L_OtherValue, FALSE},
! 45: {"feMergeNode", SPACE, SVG_EL_feMergeNode, L_OtherValue, FALSE},
! 46: {"feMorphology", SPACE, SVG_EL_feMorphology, L_OtherValue, FALSE},
! 47: {"feOffset", SPACE, SVG_EL_feOffset, L_OtherValue, FALSE},
! 48: {"fePointLight", SPACE, SVG_EL_fePointLight, L_OtherValue, FALSE},
! 49: {"feSpecularLighting", SPACE, SVG_EL_feSpecularLighting, L_OtherValue, FALSE},
! 50: {"feSpotLight", SPACE, SVG_EL_feSpotLight, L_OtherValue, FALSE},
! 51: {"feTile", SPACE, SVG_EL_feTile, L_OtherValue, FALSE},
! 52: {"feTurbulence", SPACE, SVG_EL_feTurbulence, L_OtherValue, FALSE},
! 53: {"filter", SPACE, SVG_EL_filter, L_OtherValue, FALSE},
1.29 quint 54: {"font", SPACE, SVG_EL_font_, L_OtherValue, FALSE},
55: {"font-face", SPACE, SVG_EL_font_face, L_OtherValue, FALSE},
56: {"font-face-format", SPACE, SVG_EL_font_face_format, L_OtherValue, FALSE},
57: {"font-face-name", SPACE, SVG_EL_font_face_name, L_OtherValue, FALSE},
58: {"font-face-src", SPACE, SVG_EL_font_face_src, L_OtherValue, FALSE},
59: {"font-face-uri", SPACE, SVG_EL_font_face_uri, L_OtherValue, FALSE},
1.1 vatton 60: {"foreignObject", SPACE, SVG_EL_foreignObject, L_OtherValue, FALSE},
61: {"g", SPACE, SVG_EL_g, L_OtherValue, FALSE},
1.29 quint 62: {"glyph", SPACE, SVG_EL_glyph, L_OtherValue, FALSE},
1.28 quint 63: {"glyphRef", SPACE, SVG_EL_glyphRef, L_OtherValue, FALSE},
1.29 quint 64: {"hkern", SPACE, SVG_EL_hkern, L_OtherValue, FALSE},
1.1 vatton 65: {"image", SPACE, SVG_EL_image, L_OtherValue, FALSE},
66: {"line", SPACE, SVG_EL_line_, L_OtherValue, FALSE},
1.25 cheyroul 67: {"linearGradient", SPACE, SVG_EL_linearGradient, L_OtherValue, FALSE},
1.28 quint 68: {"marker", SPACE, SVG_EL_marker, L_OtherValue, FALSE},
69: {"mask", SPACE, SVG_EL_mask, L_OtherValue, FALSE},
1.1 vatton 70: {"metadata", SPACE, SVG_EL_metadata, L_OtherValue, FALSE},
1.29 quint 71: {"missing-glyph", SPACE, SVG_EL_missing_glyph, L_OtherValue, FALSE},
1.19 quint 72: {"mpath", SPACE, SVG_EL_mpath, L_OtherValue, FALSE},
1.1 vatton 73: {"path", SPACE, SVG_EL_path, L_OtherValue, FALSE},
1.28 quint 74: {"pattern", SPACE, SVG_EL_pattern, L_OtherValue, FALSE},
1.1 vatton 75: {"polygon", SPACE, SVG_EL_polygon, L_OtherValue, FALSE},
76: {"polyline", SPACE, SVG_EL_polyline, L_OtherValue, FALSE},
77: {"rect", SPACE, SVG_EL_rect, L_OtherValue, FALSE},
1.28 quint 78: {"radialGradient", SPACE, SVG_EL_radialGradient, L_OtherValue, FALSE},
1.9 vatton 79: {"script", SPACE, SVG_EL_script_, L_OtherValue, FALSE},
1.20 quint 80: {"set", SPACE, SVG_EL_set_, L_OtherValue, FALSE},
1.25 cheyroul 81: {"stop", SPACE, SVG_EL_stop, L_OtherValue, FALSE},
1.1 vatton 82: {"style", SPACE, SVG_EL_style__, L_OtherValue, FALSE},
83: {"svg", SPACE, SVG_EL_SVG, L_OtherValue, FALSE},
1.3 cvs 84: {"switch", SPACE, SVG_EL_switch, L_OtherValue, FALSE},
1.1 vatton 85: {"symbol", SPACE, SVG_EL_symbol_, L_OtherValue, FALSE},
86: {"text", SPACE, SVG_EL_text_, L_OtherValue, FALSE},
1.28 quint 87: {"textPath", SPACE, SVG_EL_textPath, L_OtherValue, FALSE},
1.1 vatton 88: {"title", SPACE, SVG_EL_title, L_OtherValue, FALSE},
1.27 quint 89: {"tref", SPACE, SVG_EL_tref, L_OtherValue, TRUE},
90: {"tspan", SPACE, SVG_EL_tspan, L_OtherValue, TRUE},
1.1 vatton 91: {"use", SPACE, SVG_EL_use_, L_OtherValue, FALSE},
1.29 quint 92: {"view", SPACE, SVG_EL_view, L_OtherValue, FALSE},
93: {"vkern", SPACE, SVG_EL_vkern, L_OtherValue, FALSE},
1.13 cvs 94: {"xmlcomment", SPACE, SVG_EL_XMLcomment, L_OtherValue, FALSE},
95: {"xmlcomment_line", SPACE, SVG_EL_XMLcomment_line, L_OtherValue, FALSE},
96: {"xmlpi", SPACE, SVG_EL_XMLPI, L_OtherValue, FALSE},
97: {"xmlpi_line", SPACE, SVG_EL_XMLPI_line, L_OtherValue, FALSE},
1.1 vatton 98: {"", SPACE, 0, L_OtherValue, FALSE} /* Last entry. Mandatory */
99: };
100:
101: static AttributeMapping SVGAttributeMappingTable[] =
102: {
103: /* The first entry MUST be unknown_attr */
104: /* The rest of this table MUST be in alphabetical order */
1.2 cvs 105: {"unknown_attr", "", 'A', SVG_ATTR_Unknown_attribute, L_OtherValue},
1.1 vatton 106:
1.29 quint 107: {"accent-height", "", 'A', SVG_ATTR_accent_height, L_OtherValue},
1.19 quint 108: {"accumulate", "", 'A', SVG_ATTR_accumulate, L_OtherValue},
109: {"additive", "", 'A', SVG_ATTR_additive, L_OtherValue},
1.29 quint 110: {"alignment-baseline", "", 'A', SVG_ATTR_alignment_baseline, L_OtherValue},
111: {"alphabetic", "", 'A', SVG_ATTR_alphabetic, L_OtherValue},
1.30 ! quint 112: {"amplitude", "", 'A', SVG_ATTR_amplitude, L_OtherValue},
1.29 quint 113: {"arabic-form", "", 'A', SVG_ATTR_arabic_form, L_OtherValue},
114: {"ascent", "", 'A', SVG_ATTR_ascent, L_OtherValue},
1.20 quint 115: {"attributeName", "", 'A', SVG_ATTR_attributeName_, L_OtherValue},
1.19 quint 116: {"attributeType", "", 'A', SVG_ATTR_attributeType, L_OtherValue},
1.30 ! quint 117: {"azimuth", "", 'A', SVG_ATTR_azimuth, L_OtherValue},
! 118: {"baseFrequency", "", 'A', SVG_ATTR_baseFrequency, L_OtherValue},
1.29 quint 119: {"baseProfile", "", 'A', SVG_ATTR_baseProfile, L_OtherValue},
1.22 quint 120: {"baseline-shift", "", 'A', SVG_ATTR_baseline_shift, L_OtherValue},
1.29 quint 121: {"bbox", "", 'A', SVG_ATTR_bbox, L_OtherValue},
1.19 quint 122: {"begin", "", 'A', SVG_ATTR_begin_, L_OtherValue},
1.30 ! quint 123: {"bias", "", 'A', SVG_ATTR_bias, L_OtherValue},
1.19 quint 124: {"by", "", 'A', SVG_ATTR_by, L_OtherValue},
125: {"calcMode", "", 'A', SVG_ATTR_calcMode, L_OtherValue},
1.29 quint 126: {"cap-height", "", 'A', SVG_ATTR_cap_height, L_OtherValue},
1.1 vatton 127: {"class", "", 'A', SVG_ATTR_class, L_OtherValue},
1.29 quint 128: {"clip", "", 'A', SVG_ATTR_clip, L_OtherValue},
129: {"clip-path", "", 'A', SVG_ATTR_clip_path, L_OtherValue},
130: {"clip-rule", "", 'A', SVG_ATTR_clip_rule, L_OtherValue},
1.16 quint 131: {"clipPathUnits", "", 'A', SVG_ATTR_clipPathUnits, L_OtherValue},
1.29 quint 132: {"color", "", 'A', SVG_ATTR_color, L_OtherValue},
133: {"color-interpolation", "", 'A', SVG_ATTR_color_interpolation, L_OtherValue},
134: {"color-interpolation-filters", "", 'A', SVG_ATTR_color_interpolation_filters, L_OtherValue},
135: {"color-profile", "", 'A', SVG_ATTR_color_profile_, L_OtherValue},
136: {"color-rendering", "", 'A', SVG_ATTR_color_rendering, L_OtherValue},
137: {"content", "", 'A', SVG_ATTR_content_, L_OtherValue},
138: {"contentScriptType", "", 'A', SVG_ATTR_contentScriptType, L_OtherValue},
139: {"contentStyleType", "", 'A', SVG_ATTR_contentStyleType, L_OtherValue},
140: {"cursor", "", 'A', SVG_ATTR_cursor_, L_OtherValue},
1.1 vatton 141: {"cx", "", 'A', SVG_ATTR_cx, L_OtherValue},
142: {"cy", "", 'A', SVG_ATTR_cy, L_OtherValue},
143: {"d", "", 'A', SVG_ATTR_d, L_OtherValue},
1.29 quint 144: {"descent", "", 'A', SVG_ATTR_descent, L_OtherValue},
1.30 ! quint 145: {"diffuseConstant", "", 'A', SVG_ATTR_diffuseConstant, L_OtherValue},
1.11 quint 146: {"direction", "", 'A', SVG_ATTR_direction_, L_OtherValue},
1.29 quint 147: {"display", "", 'A', SVG_ATTR_display, L_OtherValue},
1.30 ! quint 148: {"divisor", "", 'A', SVG_ATTR_divisor, L_OtherValue},
1.29 quint 149: {"dominant-baseline", "", 'A', SVG_ATTR_dominant_baseline, L_OtherValue},
1.19 quint 150: {"dur", "", 'A', SVG_ATTR_dur, L_OtherValue},
1.1 vatton 151: {"dx", "", 'A', SVG_ATTR_dx, L_OtherValue},
152: {"dy", "", 'A', SVG_ATTR_dy, L_OtherValue},
1.30 ! quint 153: {"edgeMode", "", 'A', SVG_ATTR_edgeMode, L_OtherValue},
! 154: {"elevation", "", 'A', SVG_ATTR_elevation, L_OtherValue},
1.29 quint 155: {"enable-background", "", 'A', SVG_ATTR_enable_background, L_OtherValue},
1.19 quint 156: {"end", "", 'A', SVG_ATTR_end_, L_OtherValue},
1.30 ! quint 157: {"exponent", "", 'A', SVG_ATTR_exponent, L_OtherValue},
1.1 vatton 158: {"externalResourcesRequired", "", 'A', SVG_ATTR_externalResourcesRequired, L_OtherValue},
1.19 quint 159: {"fill", "animate", 'A', SVG_ATTR_fill_, L_OtherValue},
160: {"fill", "animateColor", 'A', SVG_ATTR_fill_, L_OtherValue},
161: {"fill", "animateMotion", 'A', SVG_ATTR_fill_, L_OtherValue},
162: {"fill", "animateTransform", 'A', SVG_ATTR_fill_, L_OtherValue},
163: {"fill", "set", 'A', SVG_ATTR_fill_, L_OtherValue},
1.1 vatton 164: {"fill", "", 'A', SVG_ATTR_fill, L_OtherValue},
1.25 cheyroul 165: {"fill-opacity", "", 'A', SVG_ATTR_fill_opacity, L_OtherValue},
1.29 quint 166: {"fill-rule", "", 'A', SVG_ATTR_fill_rule, L_OtherValue},
1.30 ! quint 167: {"filter", "", 'A', SVG_ATTR_filter_, L_OtherValue},
! 168: {"filterRes", "", 'A', SVG_ATTR_filterRes, L_OtherValue},
! 169: {"filterUnits", "", 'A', SVG_ATTR_filterUnits, L_OtherValue},
1.29 quint 170: {"flood-color", "", 'A', SVG_ATTR_flood_color, L_OtherValue},
171: {"flood-opacity", "", 'A', SVG_ATTR_flood_opacity, L_OtherValue},
1.4 cvs 172: {"font-family", "", 'A', SVG_ATTR_font_family, L_OtherValue},
173: {"font-size", "", 'A', SVG_ATTR_font_size, L_OtherValue},
1.29 quint 174: {"font-size-adjust", "", 'A', SVG_ATTR_font_size_adjust, L_OtherValue},
175: {"font-stretch", "", 'A', SVG_ATTR_font_stretch, L_OtherValue},
1.4 cvs 176: {"font-style", "", 'A', SVG_ATTR_font_style, L_OtherValue},
177: {"font-variant", "", 'A', SVG_ATTR_font_variant, L_OtherValue},
178: {"font-weight", "", 'A', SVG_ATTR_font_weight, L_OtherValue},
1.28 quint 179: {"format", "", 'A', SVG_ATTR_format, L_OtherValue},
1.19 quint 180: {"from", "", 'A', SVG_ATTR_from, L_OtherValue},
1.28 quint 181: {"fx", "", 'A', SVG_ATTR_fx, L_OtherValue},
182: {"fy", "", 'A', SVG_ATTR_fy, L_OtherValue},
1.29 quint 183: {"g1", "", 'A', SVG_ATTR_g1, L_OtherValue},
184: {"g2", "", 'A', SVG_ATTR_g2, L_OtherValue},
185: {"glyph-name", "", 'A', SVG_ATTR_glyph_name, L_OtherValue},
186: {"glyph-orientation-horizontal", "", 'A', SVG_ATTR_glyph_orientation_horizontal, L_OtherValue},
187: {"glyph-orientation-vertical", "", 'A', SVG_ATTR_glyph_orientation_vertical, L_OtherValue},
1.28 quint 188: {"glyphRef", "", 'A', SVG_ATTR_glyphRef_, L_OtherValue},
189: {"gradientTransform", "", 'A', SVG_ATTR_gradientTransform, L_OtherValue},
1.25 cheyroul 190: {"gradientUnits", "", 'A', SVG_ATTR_gradientUnits, L_OtherValue},
1.29 quint 191: {"hanging", "", 'A', SVG_ATTR_hanging, L_OtherValue},
1.1 vatton 192: {"height", "", 'A', SVG_ATTR_height_, L_OtherValue},
1.29 quint 193: {"horiz-adv-x", "", 'A', SVG_ATTR_horiz_adv_x, L_OtherValue},
194: {"horiz-origin-x", "", 'A', SVG_ATTR_horiz_origin_x, L_OtherValue},
195: {"horiz-origin-y", "", 'A', SVG_ATTR_horiz_origin_y, L_OtherValue},
1.1 vatton 196: {"id", "", 'A', SVG_ATTR_id, L_OtherValue},
1.29 quint 197: {"ideographic", "", 'A', SVG_ATTR_ideographic, L_OtherValue},
198: {"image-rendering", "", 'A', SVG_ATTR_image_rendering, L_OtherValue},
1.30 ! quint 199: {"in", "", 'A', SVG_ATTR_in_, L_OtherValue},
! 200: {"in2", "", 'A', SVG_ATTR_in2, L_OtherValue},
! 201: {"intercept", "", 'A', SVG_ATTR_intercept, L_OtherValue},
1.29 quint 202: {"k", "", 'A', SVG_ATTR_k, L_OtherValue},
1.30 ! quint 203: {"k1", "", 'A', SVG_ATTR_k1, L_OtherValue},
! 204: {"k2", "", 'A', SVG_ATTR_k2, L_OtherValue},
! 205: {"k3", "", 'A', SVG_ATTR_k3, L_OtherValue},
! 206: {"k4", "", 'A', SVG_ATTR_k4, L_OtherValue},
! 207: {"kernelMatrix", "", 'A', SVG_ATTR_kernelMatrix, L_OtherValue},
! 208: {"kernelUnitLength", "", 'A', SVG_ATTR_kernelUnitLength, L_OtherValue},
1.29 quint 209: {"kerning", "", 'A', SVG_ATTR_kerning, L_OtherValue},
1.19 quint 210: {"keyPoints", "", 'A', SVG_ATTR_keyPoints, L_OtherValue},
211: {"keySplines", "", 'A', SVG_ATTR_keySplines, L_OtherValue},
212: {"keyTimes", "", 'A', SVG_ATTR_keyTimes, L_OtherValue},
1.29 quint 213: {"lang", "glyph", 'A', SVG_ATTR_lang, L_OtherValue},
1.6 cvs 214: {"lang", "", 'A', SVG_ATTR_Language, L_OtherValue},
1.28 quint 215: {"lengthAdjust", "", 'A', SVG_ATTR_lengthAdjust, L_OtherValue},
1.29 quint 216: {"letter-spacing", "", 'A', SVG_ATTR_letter_spacing, L_OtherValue},
217: {"lighting-color", "", 'A', SVG_ATTR_lighting_color, L_OtherValue},
1.30 ! quint 218: {"limitingConeAngle", "", 'A', SVG_ATTR_limitingConeAngle, L_OtherValue},
1.28 quint 219: {"local", "", 'A', SVG_ATTR_local, L_OtherValue},
1.29 quint 220: {"marker-end", "", 'A', SVG_ATTR_marker_end, L_OtherValue},
221: {"marker-mid", "", 'A', SVG_ATTR_marker_mid, L_OtherValue},
222: {"marker-start", "", 'A', SVG_ATTR_marker_start, L_OtherValue},
1.28 quint 223: {"markerHeight", "", 'A', SVG_ATTR_markerHeight, L_OtherValue},
224: {"markerUnits", "", 'A', SVG_ATTR_markerUnits, L_OtherValue},
225: {"markerWidth", "", 'A', SVG_ATTR_markerWidth, L_OtherValue},
1.29 quint 226: {"mask", "", 'A', SVG_ATTR_mask_, L_OtherValue},
1.28 quint 227: {"maskContentUnits", "", 'A', SVG_ATTR_maskContentUnits, L_OtherValue},
228: {"maskUnits", "", 'A', SVG_ATTR_maskUnits, L_OtherValue},
1.29 quint 229: {"mathematical", "", 'A', SVG_ATTR_mathematical, L_OtherValue},
1.20 quint 230: {"max", "", 'A', SVG_ATTR_max_, L_OtherValue},
1.1 vatton 231: {"media", "", 'A', SVG_ATTR_media, L_OtherValue},
1.28 quint 232: {"method", "", 'A', SVG_ATTR_method, L_OtherValue},
1.20 quint 233: {"min", "", 'A', SVG_ATTR_min_, L_OtherValue},
1.30 ! quint 234: {"mode", "", 'A', SVG_ATTR_mode, L_OtherValue},
1.28 quint 235: {"name", "", 'A', SVG_ATTR_name, L_OtherValue},
1.30 ! quint 236: {"numOctaves", "", 'A', SVG_ATTR_numOctaves, L_OtherValue},
! 237: {"offset", "stop", 'A', SVG_ATTR_offset, L_OtherValue},
! 238: {"offset", "", 'A', SVG_ATTR_offset_, L_OtherValue},
1.29 quint 239: {"onabort", "", 'A', SVG_ATTR_onabort, L_OtherValue},
240: {"onactivate", "", 'A', SVG_ATTR_onactivate, L_OtherValue},
1.19 quint 241: {"onbegin", "", 'A', SVG_ATTR_onbegin, L_OtherValue},
1.29 quint 242: {"onclick", "", 'A', SVG_ATTR_onclick, L_OtherValue},
1.19 quint 243: {"onend", "", 'A', SVG_ATTR_onend, L_OtherValue},
1.29 quint 244: {"onerror", "", 'A', SVG_ATTR_onerror, L_OtherValue},
245: {"onfocusin", "", 'A', SVG_ATTR_onfocusin, L_OtherValue},
246: {"onfocusout", "", 'A', SVG_ATTR_onfocusout, L_OtherValue},
247: {"onload", "", 'A', SVG_ATTR_onload, L_OtherValue},
248: {"onmousedown", "", 'A', SVG_ATTR_onmousedown, L_OtherValue},
249: {"onmousemove", "", 'A', SVG_ATTR_onmousemove, L_OtherValue},
250: {"onmouseout", "", 'A', SVG_ATTR_onmouseout, L_OtherValue},
251: {"onmouseover", "", 'A', SVG_ATTR_onmouseover, L_OtherValue},
252: {"onmouseup", "", 'A', SVG_ATTR_onmouseup, L_OtherValue},
1.19 quint 253: {"onrepeat", "", 'A', SVG_ATTR_onrepeat, L_OtherValue},
1.29 quint 254: {"onresize", "", 'A', SVG_ATTR_onresize, L_OtherValue},
255: {"onscroll", "", 'A', SVG_ATTR_onscroll, L_OtherValue},
256: {"onunload", "", 'A', SVG_ATTR_onunload, L_OtherValue},
257: {"onzoom", "", 'A', SVG_ATTR_onzoom, L_OtherValue},
1.26 quint 258: {"opacity", "", 'A', SVG_ATTR_opacity_, L_OtherValue},
1.30 ! quint 259: {"operator", "feComposite", 'A', SVG_ATTR_operator, L_OtherValue},
! 260: {"operator", "feMorphology", 'A', SVG_ATTR_operator_, L_OtherValue},
! 261: {"order", "", 'A', SVG_ATTR_order, L_OtherValue},
1.28 quint 262: {"orient", "", 'A', SVG_ATTR_orient, L_OtherValue},
1.29 quint 263: {"orientation", "", 'A', SVG_ATTR_orientation, L_OtherValue},
1.19 quint 264: {"origin", "", 'A', SVG_ATTR_origin, L_OtherValue},
1.29 quint 265: {"overflow", "", 'A', SVG_ATTR_overflow, L_OtherValue},
266: {"overline-position", "", 'A', SVG_ATTR_overline_position, L_OtherValue},
267: {"overline-thickness", "", 'A', SVG_ATTR_overline_thickness, L_OtherValue},
268: {"panose-1", "", 'A', SVG_ATTR_panose_1, L_OtherValue},
1.19 quint 269: {"path", "", 'A', SVG_ATTR_path_, L_OtherValue},
1.28 quint 270: {"patternContentUnits", "", 'A', SVG_ATTR_patternContentUnits, L_OtherValue},
271: {"patternTransform", "", 'A', SVG_ATTR_patternTransform, L_OtherValue},
272: {"patternUnits", "", 'A', SVG_ATTR_patternUnits, L_OtherValue},
1.1 vatton 273: {"pathLength", "", 'A', SVG_ATTR_pathLength, L_OtherValue},
1.29 quint 274: {"pointer-events", "", 'A', SVG_ATTR_pointer_events, L_OtherValue},
1.1 vatton 275: {"points", "", 'A', SVG_ATTR_points, L_OtherValue},
1.30 ! quint 276: {"pointsAtX", "", 'A', SVG_ATTR_pointsAtX, L_OtherValue},
! 277: {"pointsAtY", "", 'A', SVG_ATTR_pointsAtY, L_OtherValue},
! 278: {"pointsAtZ", "", 'A', SVG_ATTR_pointsAtZ, L_OtherValue},
! 279: {"preserveAlpha", "", 'A', SVG_ATTR_preserveAlpha, L_OtherValue},
1.1 vatton 280: {"preserveAspectRatio", "", 'A', SVG_ATTR_preserveAspectRatio, L_OtherValue},
1.30 ! quint 281: {"primitiveUnits", "", 'A', SVG_ATTR_primitiveUnits, L_OtherValue},
1.1 vatton 282: {"r", "", 'A', SVG_ATTR_r, L_OtherValue},
1.30 ! quint 283: {"radius", "", 'A', SVG_ATTR_radius, L_OtherValue},
1.28 quint 284: {"refX", "", 'A', SVG_ATTR_refX, L_OtherValue},
285: {"refY", "", 'A', SVG_ATTR_refY, L_OtherValue},
286: {"rendering-intent", "", 'A', SVG_ATTR_rendering_intent, L_OtherValue},
1.19 quint 287: {"repeatCount", "", 'A', SVG_ATTR_repeatCount, L_OtherValue},
288: {"repeatDur", "", 'A', SVG_ATTR_repeatDur, L_OtherValue},
1.3 cvs 289: {"requiredExtensions", "", 'A', SVG_ATTR_requiredExtensions, L_OtherValue},
290: {"requiredFeatures", "", 'A', SVG_ATTR_requiredFeatures, L_OtherValue},
1.19 quint 291: {"restart", "", 'A', SVG_ATTR_restart, L_OtherValue},
1.30 ! quint 292: {"result", "", 'A', SVG_ATTR_result, L_OtherValue},
1.19 quint 293: {"rotate", "", 'A', SVG_ATTR_rotate, L_OtherValue},
1.1 vatton 294: {"rx", "", 'A', SVG_ATTR_rx, L_OtherValue},
295: {"ry", "", 'A', SVG_ATTR_ry, L_OtherValue},
1.30 ! quint 296: {"scale", "", 'A', SVG_ATTR_scale_, L_OtherValue},
! 297: {"seed", "", 'A', SVG_ATTR_seed, L_OtherValue},
! 298: {"shape-rendering", "", 'A', SVG_ATTR_shape_rendering, L_OtherValue},
! 299: {"slope", "font-face", 'A', SVG_ATTR_slope, L_OtherValue},
! 300: {"slope", "", 'A', SVG_ATTR_slope_, L_OtherValue},
1.28 quint 301: {"spacing", "", 'A', SVG_ATTR_spacing, L_OtherValue},
1.30 ! quint 302: {"specularConstant", "", 'A', SVG_ATTR_specularConstant, L_OtherValue},
! 303: {"specularExponent", "", 'A', SVG_ATTR_specularExponent, L_OtherValue},
1.28 quint 304: {"spreadMethod", "", 'A', SVG_ATTR_spreadMethod, L_OtherValue},
305: {"startOffset", "", 'A', SVG_ATTR_startOffset, L_OtherValue},
1.30 ! quint 306: {"stdDeviation", "", 'A', SVG_ATTR_stdDeviation, L_OtherValue},
1.29 quint 307: {"stemh", "", 'A', SVG_ATTR_stemh, L_OtherValue},
308: {"stemv", "", 'A', SVG_ATTR_stemv, L_OtherValue},
1.30 ! quint 309: {"stitchTiles", "", 'A', SVG_ATTR_stitchTiles, L_OtherValue},
1.29 quint 310: {"stop-color", "", 'A', SVG_ATTR_stop_color, L_OtherValue},
311: {"stop-opacity", "", 'A', SVG_ATTR_stop_opacity, L_OtherValue},
312: {"strikethrough-position", "", 'A', SVG_ATTR_strikethrough_position, L_OtherValue},
313: {"strikethrough-thickness", "", 'A', SVG_ATTR_strikethrough_thickness, L_OtherValue},
314: {"string", "", 'A', SVG_ATTR_string, L_OtherValue},
1.1 vatton 315: {"stroke", "", 'A', SVG_ATTR_stroke, L_OtherValue},
1.29 quint 316: {"stroke-dasharray", "", 'A', SVG_ATTR_stroke_dasharray, L_OtherValue},
317: {"stroke-dashoffset", "", 'A', SVG_ATTR_stroke_dashoffset, L_OtherValue},
318: {"stroke-linecap", "", 'A', SVG_ATTR_stroke_linecap, L_OtherValue},
319: {"stroke-linejoin", "", 'A', SVG_ATTR_stroke_linejoin, L_OtherValue},
320: {"stroke-miterlimit", "", 'A', SVG_ATTR_stroke_miterlimit, L_OtherValue},
321: {"stroke-opacity", "", 'A', SVG_ATTR_stroke_opacity, L_OtherValue},
1.1 vatton 322: {"stroke-width", "", 'A', SVG_ATTR_stroke_width, L_OtherValue},
323: {"style", "", 'A', SVG_ATTR_style_, L_OtherValue},
1.30 ! quint 324: {"surfaceScale", "", 'A', SVG_ATTR_surfaceScale, L_OtherValue},
1.3 cvs 325: {"systemLanguage", "", 'A', SVG_ATTR_systemLanguage, L_OtherValue},
1.30 ! quint 326: {"tableValues", "", 'A', SVG_ATTR_tableValues, L_OtherValue},
1.1 vatton 327: {"target", "", 'A', SVG_ATTR_target_, L_OtherValue},
1.30 ! quint 328: {"targetX", "", 'A', SVG_ATTR_targetX, L_OtherValue},
! 329: {"targetY", "", 'A', SVG_ATTR_targetY, L_OtherValue},
1.15 quint 330: {"text-anchor", "", 'A', SVG_ATTR_text_anchor, L_OtherValue},
1.5 cvs 331: {"text-decoration", "", 'A', SVG_ATTR_text_decoration, L_OtherValue},
1.29 quint 332: {"text-rendering", "", 'A', SVG_ATTR_text_rendering, L_OtherValue},
1.28 quint 333: {"textLength", "", 'A', SVG_ATTR_textLength, L_OtherValue},
1.1 vatton 334: {"title", "", 'A', SVG_ATTR_title_, L_OtherValue},
1.20 quint 335: {"to", "", 'A', SVG_ATTR_to_, L_OtherValue},
1.1 vatton 336: {"transform", "", 'A', SVG_ATTR_transform, L_OtherValue},
1.19 quint 337: {"type", "animateTransform", 'A', SVG_ATTR_type_, L_OtherValue},
1.30 ! quint 338: {"type", "feColorMatrix", 'A', SVG_ATTR_type__, L_OtherValue},
! 339: {"type", "feTurbulence", 'A', SVG_ATTR_type____, L_OtherValue},
! 340: {"type", "script", 'A', SVG_ATTR_type, L_OtherValue},
! 341: {"type", "style", 'A', SVG_ATTR_type, L_OtherValue},
! 342: {"type", "", 'A', SVG_ATTR_type___, L_OtherValue},
1.29 quint 343: {"u1", "", 'A', SVG_ATTR_u1, L_OtherValue},
344: {"u2", "", 'A', SVG_ATTR_u2, L_OtherValue},
345: {"underline-position", "", 'A', SVG_ATTR_underline_position, L_OtherValue},
346: {"underline-thickness", "", 'A', SVG_ATTR_underline_thickness, L_OtherValue},
347: {"unicode", "", 'A', SVG_ATTR_unicode, L_OtherValue},
1.11 quint 348: {"unicode-bidi", "", 'A', SVG_ATTR_unicode_bidi, L_OtherValue},
1.29 quint 349: {"unicode-range", "", 'A', SVG_ATTR_unicode_range, L_OtherValue},
350: {"units-per-em", "", 'A', SVG_ATTR_units_per_em, L_OtherValue},
351: {"v-alphabetic", "", 'A', SVG_ATTR_v_alphabetic, L_OtherValue},
352: {"v-hanging", "", 'A', SVG_ATTR_v_hanging, L_OtherValue},
353: {"v-ideographic", "", 'A', SVG_ATTR_v_ideographic, L_OtherValue},
354: {"v-mathematical", "", 'A', SVG_ATTR_v_mathematical, L_OtherValue},
1.19 quint 355: {"values", "", 'A', SVG_ATTR_values, L_OtherValue},
1.17 quint 356: {"version", "", 'A', SVG_ATTR_version, L_OtherValue},
1.29 quint 357: {"vert-adv-y", "", 'A', SVG_ATTR_vert_adv_y, L_OtherValue},
358: {"vert-origin-x", "", 'A', SVG_ATTR_vert_origin_x, L_OtherValue},
359: {"vert-origin-y", "", 'A', SVG_ATTR_vert_origin_y, L_OtherValue},
1.1 vatton 360: {"viewBox", "", 'A', SVG_ATTR_viewBox, L_OtherValue},
1.29 quint 361: {"viewTarget", "", 'A', SVG_ATTR_viewTarget, L_OtherValue},
362: {"visibility", "", 'A', SVG_ATTR_visibility_, L_OtherValue},
1.1 vatton 363: {"width", "", 'A', SVG_ATTR_width_, L_OtherValue},
1.29 quint 364: {"widths", "", 'A', SVG_ATTR_widths, L_OtherValue},
365: {"word-spacing", "", 'A', SVG_ATTR_word_spacing, L_OtherValue},
1.18 vatton 366: {"writing-mode", "", 'A', SVG_ATTR_writing_mode, L_OtherValue},
1.1 vatton 367: {"x", "", 'A', SVG_ATTR_x, L_OtherValue},
1.29 quint 368: {"x-height", "", 'A', SVG_ATTR_x_height, L_OtherValue},
1.1 vatton 369: {"x1", "", 'A', SVG_ATTR_x1, L_OtherValue},
370: {"x2", "", 'A', SVG_ATTR_x2, L_OtherValue},
1.30 ! quint 371: {"xChannelSelector", "", 'A', SVG_ATTR_xChannelSelector, L_OtherValue},
1.29 quint 372: {"xlink:actuate", "", 'A', SVG_ATTR_xlink_actuate, L_OtherValue},
373: {"xlink:arcrole", "", 'A', SVG_ATTR_xlink_arcrole, L_OtherValue},
1.1 vatton 374: {"xlink:href", "", 'A', SVG_ATTR_xlink_href, L_OtherValue},
1.29 quint 375: {"xlink:role", "", 'A', SVG_ATTR_xlink_role, L_OtherValue},
376: {"xlink:show", "", 'A', SVG_ATTR_xlink_show, L_OtherValue},
377: {"xlink:title", "", 'A', SVG_ATTR_xlink_title, L_OtherValue},
378: {"xlink:type", "", 'A', SVG_ATTR_xlink_type, L_OtherValue},
379: {"xml:base", "", 'A', SVG_ATTR_xml_base, L_OtherValue},
1.1 vatton 380: {"xml:space", "", 'A', SVG_ATTR_xml_space, L_OtherValue},
381: {"y", "", 'A', SVG_ATTR_y, L_OtherValue},
382: {"y1", "", 'A', SVG_ATTR_y1, L_OtherValue},
383: {"y2", "", 'A', SVG_ATTR_y2, L_OtherValue},
1.30 ! quint 384: {"yChannelSelector", "", 'A', SVG_ATTR_yChannelSelector, L_OtherValue},
! 385: {"z", "", 'A', SVG_ATTR_z, L_OtherValue},
1.29 quint 386: {"zoomAndPan", "", 'A', SVG_ATTR_zoomAndPan, L_OtherValue},
1.1 vatton 387: {"zzghost", "", 'A', SVG_ATTR_Ghost_restruct, L_OtherValue},
388: {"", "", EOS, 0, L_OtherValue} /* Last entry. Mandatory */
389: };
1.14 vatton 390:
391: /* mapping table of attribute values */
392: static AttrValueMapping SVGAttrValueMappingTable[] =
1.30 ! quint 393: {
1.29 quint 394: {SVG_ATTR_accumulate, "none", SVG_ATTR_accumulate_VAL_none_},
395: {SVG_ATTR_accumulate, "sum", SVG_ATTR_accumulate_VAL_sum},
396:
397: {SVG_ATTR_additive, "replace", SVG_ATTR_additive_VAL_replace},
398: {SVG_ATTR_additive, "sum", SVG_ATTR_additive_VAL_sum},
399:
400: {SVG_ATTR_alignment_baseline, "after-edge", SVG_ATTR_alignment_baseline_VAL_after_edge},
401: {SVG_ATTR_alignment_baseline, "baseline", SVG_ATTR_alignment_baseline_VAL_baseline},
402: {SVG_ATTR_alignment_baseline, "before-edge", SVG_ATTR_alignment_baseline_VAL_before_edge},
403: {SVG_ATTR_alignment_baseline, "bottom", SVG_ATTR_alignment_baseline_VAL_bottom},
404: {SVG_ATTR_alignment_baseline, "hanging", SVG_ATTR_alignment_baseline_VAL_hanging_},
405: {SVG_ATTR_alignment_baseline, "ideographic", SVG_ATTR_alignment_baseline_VAL_ideographic_},
406: {SVG_ATTR_alignment_baseline, "inherit", SVG_ATTR_alignment_baseline_VAL_inherit},
407: {SVG_ATTR_alignment_baseline, "lower", SVG_ATTR_alignment_baseline_VAL_lower},
408: {SVG_ATTR_alignment_baseline, "mathematical", SVG_ATTR_alignment_baseline_VAL_mathematical_},
409: {SVG_ATTR_alignment_baseline, "middle", SVG_ATTR_alignment_baseline_VAL_middle},
410: {SVG_ATTR_alignment_baseline, "text-after-edge", SVG_ATTR_alignment_baseline_VAL_text_after_edge},
411: {SVG_ATTR_alignment_baseline, "text-before-edge", SVG_ATTR_alignment_baseline_VAL_text_before_edge},
412: {SVG_ATTR_alignment_baseline, "text-bottom", SVG_ATTR_alignment_baseline_VAL_text_bottom},
413: {SVG_ATTR_alignment_baseline, "text-top", SVG_ATTR_alignment_baseline_VAL_text_top},
414: {SVG_ATTR_alignment_baseline, "top", SVG_ATTR_alignment_baseline_VAL_top},
415:
416: {SVG_ATTR_calcMode, "discrete", SVG_ATTR_calcMode_VAL_discrete},
417: {SVG_ATTR_calcMode, "linear", SVG_ATTR_calcMode_VAL_linear},
418: {SVG_ATTR_calcMode, "paced", SVG_ATTR_calcMode_VAL_paced},
419: {SVG_ATTR_calcMode, "spline", SVG_ATTR_calcMode_VAL_spline},
420:
421: {SVG_ATTR_clip_rule, "evenodd", SVG_ATTR_clip_rule_VAL_evenodd},
422: {SVG_ATTR_clip_rule, "inherit", SVG_ATTR_clip_rule_VAL_inherit},
423: {SVG_ATTR_clip_rule, "nonzero", SVG_ATTR_clip_rule_VAL_nonzero},
424:
425: {SVG_ATTR_clipPathUnits, "objectBoundingBox", SVG_ATTR_clipPathUnits_VAL_objectBoundingBox},
426: {SVG_ATTR_clipPathUnits, "userSpaceOnUse", SVG_ATTR_clipPathUnits_VAL_userSpaceOnUse},
427:
428: {SVG_ATTR_color_interpolation, "auto", SVG_ATTR_color_interpolation_VAL_auto},
429: {SVG_ATTR_color_interpolation, "inherit", SVG_ATTR_color_interpolation_VAL_inherit},
430: {SVG_ATTR_color_interpolation, "linearRGB", SVG_ATTR_color_interpolation_VAL_linearRGB},
431: {SVG_ATTR_color_interpolation, "sRGB", SVG_ATTR_color_interpolation_VAL_sRGB},
432:
433: {SVG_ATTR_color_interpolation_filters, "auto", SVG_ATTR_color_interpolation_filters_VAL_auto},
434: {SVG_ATTR_color_interpolation_filters, "inherit", SVG_ATTR_color_interpolation_filters_VAL_inherit},
435: {SVG_ATTR_color_interpolation_filters, "linearRGB", SVG_ATTR_color_interpolation_filters_VAL_linearRGB},
436: {SVG_ATTR_color_interpolation_filters, "sRGB", SVG_ATTR_color_interpolation_filters_VAL_sRGB},
437:
438: {SVG_ATTR_color_rendering, "auto", SVG_ATTR_color_rendering_VAL_auto},
439: {SVG_ATTR_color_rendering, "inherit", SVG_ATTR_color_rendering_VAL_inherit},
440: {SVG_ATTR_color_rendering, "optimizeQuality", SVG_ATTR_color_rendering_VAL_optimizeQuality},
441: {SVG_ATTR_color_rendering, "optimizeSpeed", SVG_ATTR_color_rendering_VAL_optimizeSpeed},
442:
443: {SVG_ATTR_direction_, "ltr", SVG_ATTR_direction__VAL_ltr_},
444: {SVG_ATTR_direction_, "rtl", SVG_ATTR_direction__VAL_rtl_},
445: {SVG_ATTR_direction_, "inherit", SVG_ATTR_direction__VAL_inherit},
446:
447: {SVG_ATTR_display, "block", SVG_ATTR_display_VAL_block},
448: {SVG_ATTR_display, "compact", SVG_ATTR_display_VAL_compact},
449: {SVG_ATTR_display, "inherit", SVG_ATTR_display_VAL_inherit},
450: {SVG_ATTR_display, "inline", SVG_ATTR_display_VAL_inline},
451: {SVG_ATTR_display, "inline-table", SVG_ATTR_display_VAL_inline_table},
452: {SVG_ATTR_display, "list-item", SVG_ATTR_display_VAL_list_item},
453: {SVG_ATTR_display, "marker", SVG_ATTR_display_VAL_marker_},
454: {SVG_ATTR_display, "none", SVG_ATTR_display_VAL_none},
455: {SVG_ATTR_display, "run-in", SVG_ATTR_display_VAL_run_in},
456: {SVG_ATTR_display, "table", SVG_ATTR_display_VAL_table},
457: {SVG_ATTR_display, "table-caption", SVG_ATTR_display_VAL_table_caption},
458: {SVG_ATTR_display, "table-cell", SVG_ATTR_display_VAL_table_cell},
459: {SVG_ATTR_display, "table-column", SVG_ATTR_display_VAL_table_column},
460: {SVG_ATTR_display, "table-column-group", SVG_ATTR_display_VAL_table_column_group},
461: {SVG_ATTR_display, "table-footer-group", SVG_ATTR_display_VAL_table_footer_group},
462: {SVG_ATTR_display, "table-header-group", SVG_ATTR_display_VAL_table_header_group},
463: {SVG_ATTR_display, "table-row", SVG_ATTR_display_VAL_table_row},
464: {SVG_ATTR_display, "table-row-group", SVG_ATTR_display_VAL_table_row_group},
465:
466: {SVG_ATTR_dominant_baseline, "auto", SVG_ATTR_dominant_baseline_VAL_auto},
467: {SVG_ATTR_dominant_baseline, "autosense-script", SVG_ATTR_dominant_baseline_VAL_autosense_script},
468: {SVG_ATTR_dominant_baseline, "hanging", SVG_ATTR_dominant_baseline_VAL_hanging_},
469: {SVG_ATTR_dominant_baseline, "ideographic", SVG_ATTR_dominant_baseline_VAL_ideographic_},
470: {SVG_ATTR_dominant_baseline, "inherit", SVG_ATTR_dominant_baseline_VAL_inherit},
471: {SVG_ATTR_dominant_baseline, "lower", SVG_ATTR_dominant_baseline_VAL_lower},
472: {SVG_ATTR_dominant_baseline, "mathematical", SVG_ATTR_dominant_baseline_VAL_mathematical_},
473: {SVG_ATTR_dominant_baseline, "no-change", SVG_ATTR_dominant_baseline_VAL_no_change},
474: {SVG_ATTR_dominant_baseline, "reset", SVG_ATTR_dominant_baseline_VAL_reset},
1.14 vatton 475:
1.30 ! quint 476: {SVG_ATTR_edgeMode, "duplicate", SVG_ATTR_edgeMode_VAL_duplicate},
! 477: {SVG_ATTR_edgeMode, "none", SVG_ATTR_edgeMode_VAL_none},
! 478: {SVG_ATTR_edgeMode, "wrap", SVG_ATTR_edgeMode_VAL_wrap},
! 479:
1.14 vatton 480: {SVG_ATTR_externalResourcesRequired, "false", SVG_ATTR_externalResourcesRequired_VAL_false},
481: {SVG_ATTR_externalResourcesRequired, "true", SVG_ATTR_externalResourcesRequired_VAL_true},
482:
1.29 quint 483: {SVG_ATTR_fill_, "freeze", SVG_ATTR_fill__VAL_freeze},
484: {SVG_ATTR_fill_, "remove", SVG_ATTR_fill__VAL_remove_},
485:
486: {SVG_ATTR_fill_rule, "evenodd", SVG_ATTR_fill_rule_VAL_evenodd},
487: {SVG_ATTR_fill_rule, "inherit", SVG_ATTR_fill_rule_VAL_inherit},
488: {SVG_ATTR_fill_rule, "nonzero", SVG_ATTR_fill_rule_VAL_nonzero},
489:
1.30 ! quint 490: {SVG_ATTR_filterUnits, "userSpaceOnUse", SVG_ATTR_filterUnits_VAL_userSpaceOnUse},
! 491: {SVG_ATTR_filterUnits, "objectBoundingBox", SVG_ATTR_filterUnits_VAL_objectBoundingBox},
! 492:
1.29 quint 493: {SVG_ATTR_font_stretch, "condensed", SVG_ATTR_font_stretch_VAL_condensed},
494: {SVG_ATTR_font_stretch, "expanded", SVG_ATTR_font_stretch_VAL_expanded},
495: {SVG_ATTR_font_stretch, "extra-condensed", SVG_ATTR_font_stretch_VAL_extra_condensed},
496: {SVG_ATTR_font_stretch, "extra-expanded", SVG_ATTR_font_stretch_VAL_extra_expanded},
497: {SVG_ATTR_font_stretch, "inherit", SVG_ATTR_font_stretch_VAL_inherit},
498: {SVG_ATTR_font_stretch, "narrower", SVG_ATTR_font_stretch_VAL_narrower},
499: {SVG_ATTR_font_stretch, "normal", SVG_ATTR_font_stretch_VAL_normal_},
500: {SVG_ATTR_font_stretch, "semi-condensed", SVG_ATTR_font_stretch_VAL_semi_condensed},
501: {SVG_ATTR_font_stretch, "semi-expanded", SVG_ATTR_font_stretch_VAL_semi_expanded},
502: {SVG_ATTR_font_stretch, "ultra-condensed", SVG_ATTR_font_stretch_VAL_ultra_condensed},
503: {SVG_ATTR_font_stretch, "ultra-expanded", SVG_ATTR_font_stretch_VAL_ultra_expanded},
504: {SVG_ATTR_font_stretch, "wider", SVG_ATTR_font_stretch_VAL_wider},
505:
1.14 vatton 506: {SVG_ATTR_font_style, "inherit", SVG_ATTR_font_style_VAL_inherit},
507: {SVG_ATTR_font_style, "italic", SVG_ATTR_font_style_VAL_italic},
508: {SVG_ATTR_font_style, "normal", SVG_ATTR_font_style_VAL_normal_},
509: {SVG_ATTR_font_style, "oblique", SVG_ATTR_font_style_VAL_oblique_},
510:
511: {SVG_ATTR_font_variant, "inherit", SVG_ATTR_font_variant_VAL_inherit},
512: {SVG_ATTR_font_variant, "normal", SVG_ATTR_font_variant_VAL_normal_},
513: {SVG_ATTR_font_variant, "small-caps", SVG_ATTR_font_variant_VAL_small_caps},
514:
515: {SVG_ATTR_font_weight, "100", SVG_ATTR_font_weight_VAL_w100},
516: {SVG_ATTR_font_weight, "200", SVG_ATTR_font_weight_VAL_w200},
517: {SVG_ATTR_font_weight, "300", SVG_ATTR_font_weight_VAL_w300},
518: {SVG_ATTR_font_weight, "400", SVG_ATTR_font_weight_VAL_w400},
519: {SVG_ATTR_font_weight, "500", SVG_ATTR_font_weight_VAL_w500},
520: {SVG_ATTR_font_weight, "600", SVG_ATTR_font_weight_VAL_w600},
521: {SVG_ATTR_font_weight, "700", SVG_ATTR_font_weight_VAL_w700},
522: {SVG_ATTR_font_weight, "800", SVG_ATTR_font_weight_VAL_w800},
523: {SVG_ATTR_font_weight, "900", SVG_ATTR_font_weight_VAL_w900},
524: {SVG_ATTR_font_weight, "bold", SVG_ATTR_font_weight_VAL_bold_},
525: {SVG_ATTR_font_weight, "bolder", SVG_ATTR_font_weight_VAL_bolder},
526: {SVG_ATTR_font_weight, "inherit", SVG_ATTR_font_weight_VAL_inherit},
527: {SVG_ATTR_font_weight, "lighter", SVG_ATTR_font_weight_VAL_lighter},
528: {SVG_ATTR_font_weight, "normal", SVG_ATTR_font_weight_VAL_normal_},
529:
1.29 quint 530: {SVG_ATTR_gradientUnits, "objectBoundingBox", SVG_ATTR_gradientUnits_VAL_objectBoundingBox},
531: {SVG_ATTR_gradientUnits, "userSpaceOnUse", SVG_ATTR_gradientUnits_VAL_userSpaceOnUse},
532:
533: {SVG_ATTR_image_rendering, "auto", SVG_ATTR_image_rendering_VAL_auto},
534: {SVG_ATTR_image_rendering, "inherit", SVG_ATTR_image_rendering_VAL_inherit},
535: {SVG_ATTR_image_rendering, "optimizeQuality", SVG_ATTR_image_rendering_VAL_optimizeQuality},
536: {SVG_ATTR_image_rendering, "optimizeSpeed", SVG_ATTR_image_rendering_VAL_optimizeSpeed},
1.15 quint 537:
1.29 quint 538: {SVG_ATTR_lengthAdjust, "spacing", SVG_ATTR_lengthAdjust_VAL_spacing_},
539: {SVG_ATTR_lengthAdjust, "spacingAndGlyphs", SVG_ATTR_lengthAdjust_VAL_spacingAndGlyphs},
1.14 vatton 540:
1.29 quint 541: {SVG_ATTR_markerUnits, "strokeWidth", SVG_ATTR_markerUnits_VAL_strokeWidth},
542: {SVG_ATTR_markerUnits, "userSpaceOnUse", SVG_ATTR_markerUnits_VAL_userSpaceOnUse},
1.18 vatton 543:
1.29 quint 544: {SVG_ATTR_maskContentUnits, "objectBoundingBox", SVG_ATTR_maskContentUnits_VAL_objectBoundingBox},
545: {SVG_ATTR_maskContentUnits, "userSpaceOnUse", SVG_ATTR_maskContentUnits_VAL_userSpaceOnUse},
1.28 quint 546:
1.29 quint 547: {SVG_ATTR_maskUnits, "objectBoundingBox", SVG_ATTR_maskUnits_VAL_objectBoundingBox},
548: {SVG_ATTR_maskUnits, "userSpaceOnUse", SVG_ATTR_maskUnits_VAL_userSpaceOnUse},
1.28 quint 549:
550: {SVG_ATTR_method, "align", SVG_ATTR_method_VAL_align},
551: {SVG_ATTR_method, "stretch", SVG_ATTR_method_VAL_stretch},
552:
1.30 ! quint 553: {SVG_ATTR_mode, "darken", SVG_ATTR_mode_VAL_darken},
! 554: {SVG_ATTR_mode, "lighten", SVG_ATTR_mode_VAL_lighten},
! 555: {SVG_ATTR_mode, "multiply", SVG_ATTR_mode_VAL_multiply},
! 556: {SVG_ATTR_mode, "normal", SVG_ATTR_mode_VAL_normal_},
! 557: {SVG_ATTR_mode, "screen", SVG_ATTR_mode_VAL_screen},
! 558:
! 559: {SVG_ATTR_operator, "arithmetic", SVG_ATTR_operator_VAL_arithmetic},
! 560: {SVG_ATTR_operator, "atop", SVG_ATTR_operator_VAL_atop},
! 561: {SVG_ATTR_operator, "in", SVG_ATTR_operator_VAL_in__},
! 562: {SVG_ATTR_operator, "out", SVG_ATTR_operator_VAL_out},
! 563: {SVG_ATTR_operator, "over", SVG_ATTR_operator_VAL_over},
! 564: {SVG_ATTR_operator, "xor", SVG_ATTR_operator_VAL_xor},
! 565:
! 566: {SVG_ATTR_operator_, "dilate", SVG_ATTR_operator__VAL_dilate},
! 567: {SVG_ATTR_operator_, "erode", SVG_ATTR_operator__VAL_erode},
! 568:
1.29 quint 569: {SVG_ATTR_overflow, "auto", SVG_ATTR_overflow_VAL_auto},
570: {SVG_ATTR_overflow, "hidden", SVG_ATTR_overflow_VAL_hidden_},
571: {SVG_ATTR_overflow, "inherit", SVG_ATTR_overflow_VAL_inherit},
572: {SVG_ATTR_overflow, "scroll", SVG_ATTR_overflow_VAL_scroll},
573: {SVG_ATTR_overflow, "visible", SVG_ATTR_overflow_VAL_visible},
574:
575: {SVG_ATTR_patternContentUnits, "objectBoundingBox", SVG_ATTR_patternContentUnits_VAL_objectBoundingBox},
576: {SVG_ATTR_patternContentUnits, "userSpaceOnUse", SVG_ATTR_patternContentUnits_VAL_userSpaceOnUse},
577:
578: {SVG_ATTR_patternUnits, "objectBoundingBox", SVG_ATTR_patternUnits_VAL_objectBoundingBox},
579: {SVG_ATTR_patternUnits, "userSpaceOnUse", SVG_ATTR_patternUnits_VAL_userSpaceOnUse},
1.28 quint 580:
1.29 quint 581: {SVG_ATTR_pointer_events, "all", SVG_ATTR_pointer_events_VAL_all},
582: {SVG_ATTR_pointer_events, "fill", SVG_ATTR_pointer_events_VAL_fill__},
583: {SVG_ATTR_pointer_events, "inherit", SVG_ATTR_pointer_events_VAL_inherit},
584: {SVG_ATTR_pointer_events, "none", SVG_ATTR_pointer_events_VAL_none},
585: {SVG_ATTR_pointer_events, "painted", SVG_ATTR_pointer_events_VAL_painted},
586: {SVG_ATTR_pointer_events, "stroke", SVG_ATTR_pointer_events_VAL_stroke_},
587: {SVG_ATTR_pointer_events, "visible", SVG_ATTR_pointer_events_VAL_visible},
588: {SVG_ATTR_pointer_events, "visibleFill", SVG_ATTR_pointer_events_VAL_visibleFill},
589: {SVG_ATTR_pointer_events, "visiblePainted", SVG_ATTR_pointer_events_VAL_visiblePainted},
590: {SVG_ATTR_pointer_events, "visibleStroke", SVG_ATTR_pointer_events_VAL_visibleStroke},
1.28 quint 591:
1.30 ! quint 592: {SVG_ATTR_primitiveUnits, "userSpaceOnUse", SVG_ATTR_primitiveUnits_VAL_userSpaceOnUse},
! 593: {SVG_ATTR_primitiveUnits, "objectBoundingBox", SVG_ATTR_primitiveUnits_VAL_objectBoundingBox},
! 594:
1.28 quint 595: {SVG_ATTR_rendering_intent, "absolute-colorimetric", SVG_ATTR_rendering_intent_VAL_absolute_colorimetric},
596: {SVG_ATTR_rendering_intent, "auto", SVG_ATTR_rendering_intent_VAL_auto},
597: {SVG_ATTR_rendering_intent, "perceptual", SVG_ATTR_rendering_intent_VAL_perceptual},
598: {SVG_ATTR_rendering_intent, "relative-colorimetric", SVG_ATTR_rendering_intent_VAL_relative_colorimetric},
599: {SVG_ATTR_rendering_intent, "saturation", SVG_ATTR_rendering_intent_VAL_saturation},
600:
1.29 quint 601: {SVG_ATTR_restart, "always", SVG_ATTR_restart_VAL_always},
602: {SVG_ATTR_restart, "never", SVG_ATTR_restart_VAL_never},
603: {SVG_ATTR_restart, "whenNotActive", SVG_ATTR_restart_VAL_whenNotActive},
604:
605: {SVG_ATTR_shape_rendering, "auto", SVG_ATTR_shape_rendering_VAL_auto},
606: {SVG_ATTR_shape_rendering, "crispEdges", SVG_ATTR_shape_rendering_VAL_crispEdges},
607: {SVG_ATTR_shape_rendering, "geometricPrecision", SVG_ATTR_shape_rendering_VAL_geometricPrecision},
608: {SVG_ATTR_shape_rendering, "inherit", SVG_ATTR_shape_rendering_VAL_inherit},
609: {SVG_ATTR_shape_rendering, "optimizeSpeed", SVG_ATTR_shape_rendering_VAL_optimizeSpeed},
610:
611: {SVG_ATTR_spacing, "auto", SVG_ATTR_spacing_VAL_auto},
612: {SVG_ATTR_spacing, "exact", SVG_ATTR_spacing_VAL_exact},
1.28 quint 613:
614: {SVG_ATTR_spreadMethod, "pad", SVG_ATTR_spreadMethod_VAL_pad},
615: {SVG_ATTR_spreadMethod, "reflect", SVG_ATTR_spreadMethod_VAL_reflect},
616: {SVG_ATTR_spreadMethod, "repeat", SVG_ATTR_spreadMethod_VAL_repeat},
617:
1.30 ! quint 618: {SVG_ATTR_stitchTiles, "noStitch", SVG_ATTR_stitchTiles_VAL_noStitch},
! 619: {SVG_ATTR_stitchTiles, "stitch", SVG_ATTR_stitchTiles_VAL_stitch},
! 620:
1.29 quint 621: {SVG_ATTR_stroke_linecap, "butt", SVG_ATTR_stroke_linecap_VAL_butt},
622: {SVG_ATTR_stroke_linecap, "inherit", SVG_ATTR_stroke_linecap_VAL_inherit},
623: {SVG_ATTR_stroke_linecap, "round", SVG_ATTR_stroke_linecap_VAL_round},
624: {SVG_ATTR_stroke_linecap, "square", SVG_ATTR_stroke_linecap_VAL_square},
625:
626: {SVG_ATTR_stroke_linejoin, "bevel", SVG_ATTR_stroke_linejoin_VAL_bevel},
627: {SVG_ATTR_stroke_linejoin, "inherit", SVG_ATTR_stroke_linejoin_VAL_inherit},
628: {SVG_ATTR_stroke_linejoin, "miter", SVG_ATTR_stroke_linejoin_VAL_miter},
629: {SVG_ATTR_stroke_linejoin, "round", SVG_ATTR_stroke_linejoin_VAL_round},
630:
631: {SVG_ATTR_text_anchor, "start", SVG_ATTR_text_anchor_VAL_start},
632: {SVG_ATTR_text_anchor, "middle", SVG_ATTR_text_anchor_VAL_middle},
633: {SVG_ATTR_text_anchor, "end", SVG_ATTR_text_anchor_VAL_end__},
634: {SVG_ATTR_text_anchor, "inherit", SVG_ATTR_text_anchor_VAL_inherit},
1.28 quint 635:
1.29 quint 636: {SVG_ATTR_text_rendering, "auto", SVG_ATTR_text_rendering_VAL_auto},
637: {SVG_ATTR_text_rendering, "geometricPrecision", SVG_ATTR_text_rendering_VAL_geometricPrecision},
638: {SVG_ATTR_text_rendering, "inherit", SVG_ATTR_text_rendering_VAL_inherit},
639: {SVG_ATTR_text_rendering, "optimizeLegibility", SVG_ATTR_text_rendering_VAL_optimizeLegibility},
640: {SVG_ATTR_text_rendering, "optimizeSpeed", SVG_ATTR_text_rendering_VAL_optimizeSpeed},
1.28 quint 641:
1.29 quint 642: {SVG_ATTR_type_, "rotate", SVG_ATTR_type__VAL_rotate_},
643: {SVG_ATTR_type_, "scale", SVG_ATTR_type__VAL_scale},
644: {SVG_ATTR_type_, "skewX", SVG_ATTR_type__VAL_skewX},
645: {SVG_ATTR_type_, "skewY", SVG_ATTR_type__VAL_skewY},
646: {SVG_ATTR_type_, "translate", SVG_ATTR_type__VAL_translate},
1.28 quint 647:
1.30 ! quint 648: {SVG_ATTR_type__, "hueRotate", SVG_ATTR_type___VAL_hueRotate},
! 649: {SVG_ATTR_type__, "luminanceToAlpha", SVG_ATTR_type___VAL_luminanceToAlpha},
! 650: {SVG_ATTR_type__, "matrix", SVG_ATTR_type___VAL_matrix},
! 651: {SVG_ATTR_type__, "saturate", SVG_ATTR_type___VAL_saturate},
! 652:
! 653: {SVG_ATTR_type___, "discrete", SVG_ATTR_type____VAL_discrete},
! 654: {SVG_ATTR_type___, "gamma", SVG_ATTR_type____VAL_gamma},
! 655: {SVG_ATTR_type___, "identity", SVG_ATTR_type____VAL_identity},
! 656: {SVG_ATTR_type___, "linear", SVG_ATTR_type____VAL_linear},
! 657: {SVG_ATTR_type___, "table", SVG_ATTR_type____VAL_table},
! 658:
! 659: {SVG_ATTR_type____, "fractalNoise", SVG_ATTR_type_____VAL_fractalNoise},
! 660: {SVG_ATTR_type____, "turbulence", SVG_ATTR_type_____VAL_turbulence},
! 661:
1.29 quint 662: {SVG_ATTR_unicode_bidi, "normal", SVG_ATTR_unicode_bidi_VAL_normal_},
663: {SVG_ATTR_unicode_bidi, "embed", SVG_ATTR_unicode_bidi_VAL_embed_},
664: {SVG_ATTR_unicode_bidi, "bidi-override", SVG_ATTR_unicode_bidi_VAL_bidi_override},
665: {SVG_ATTR_unicode_bidi, "inherit", SVG_ATTR_unicode_bidi_VAL_inherit},
1.19 quint 666:
1.29 quint 667: {SVG_ATTR_visibility_, "hidden", SVG_ATTR_visibility__VAL_hidden_},
668: {SVG_ATTR_visibility_, "inherit", SVG_ATTR_visibility__VAL_inherit},
669: {SVG_ATTR_visibility_, "visible", SVG_ATTR_visibility__VAL_visible},
1.19 quint 670:
1.29 quint 671: {SVG_ATTR_writing_mode, "lr-tb", SVG_ATTR_writing_mode_VAL_lr_tb},
672: {SVG_ATTR_writing_mode, "rl-tb", SVG_ATTR_writing_mode_VAL_rl_tb},
673: {SVG_ATTR_writing_mode, "tb-rl", SVG_ATTR_writing_mode_VAL_tb_rl},
674: {SVG_ATTR_writing_mode, "lr", SVG_ATTR_writing_mode_VAL_lr},
675: {SVG_ATTR_writing_mode, "rl", SVG_ATTR_writing_mode_VAL_rl},
676: {SVG_ATTR_writing_mode, "tb", SVG_ATTR_writing_mode_VAL_tb},
677: {SVG_ATTR_writing_mode, "inherit", SVG_ATTR_writing_mode_VAL_inherit},
1.19 quint 678:
1.30 ! quint 679: {SVG_ATTR_xChannelSelector, "A", SVG_ATTR_xChannelSelector_VAL_A},
! 680: {SVG_ATTR_xChannelSelector, "B", SVG_ATTR_xChannelSelector_VAL_B},
! 681: {SVG_ATTR_xChannelSelector, "G", SVG_ATTR_xChannelSelector_VAL_G},
! 682: {SVG_ATTR_xChannelSelector, "R", SVG_ATTR_xChannelSelector_VAL_R},
! 683:
1.29 quint 684: {SVG_ATTR_xlink_actuate, "onLoad", SVG_ATTR_xlink_actuate_VAL_onLoad},
1.19 quint 685:
1.29 quint 686: {SVG_ATTR_xlink_show, "embed", SVG_ATTR_xlink_show_VAL_embed},
687: {SVG_ATTR_xlink_show, "other", SVG_ATTR_xlink_show_VAL_other},
1.19 quint 688:
1.29 quint 689: {SVG_ATTR_xlink_type, "simple", SVG_ATTR_xlink_type_VAL_simple},
1.19 quint 690:
1.29 quint 691: {SVG_ATTR_xml_space, "default", SVG_ATTR_xml_space_VAL_xml_space_default},
692: {SVG_ATTR_xml_space, "preserve", SVG_ATTR_xml_space_VAL_xml_space_preserve},
1.30 ! quint 693:
! 694: {SVG_ATTR_yChannelSelector, "A", SVG_ATTR_yChannelSelector_VAL_A},
! 695: {SVG_ATTR_yChannelSelector, "B", SVG_ATTR_yChannelSelector_VAL_B},
! 696: {SVG_ATTR_yChannelSelector, "G", SVG_ATTR_yChannelSelector_VAL_G},
! 697: {SVG_ATTR_yChannelSelector, "R", SVG_ATTR_yChannelSelector_VAL_R},
1.19 quint 698:
1.29 quint 699: {SVG_ATTR_zoomAndPan, "disable", SVG_ATTR_zoomAndPan_VAL_disable},
700: {SVG_ATTR_zoomAndPan, "magnify", SVG_ATTR_zoomAndPan_VAL_magnify},
1.14 vatton 701:
702: {0, "", 0} /* Last entry. Mandatory */
703: };
1.1 vatton 704: #else /* _SVG */
705: /* there is no mapping table of SVG elements */
706:
707: static ElemMapping *SVGElemMappingTable = NULL;
708: static AttributeMapping* SVGAttributeMappingTable = NULL;
709: #endif /* _SVG */
Webmaster