Annotation of Amaya/amaya/SVGnames.h, revision 1.28
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.1 vatton 22: {"defs", SPACE, SVG_EL_defs, L_OtherValue, FALSE},
23: {"desc", SPACE, SVG_EL_desc, L_OtherValue, FALSE},
1.13 cvs 24: {"doctype", SPACE, SVG_EL_DOCTYPE, L_OtherValue, FALSE},
25: {"doctype_line", SPACE, SVG_EL_DOCTYPE_line, L_OtherValue, FALSE},
1.1 vatton 26: {"ellipse", SPACE, SVG_EL_ellipse, L_OtherValue, FALSE},
27: {"foreignObject", SPACE, SVG_EL_foreignObject, L_OtherValue, FALSE},
28: {"g", SPACE, SVG_EL_g, L_OtherValue, FALSE},
1.28 ! quint 29: {"glyphRef", SPACE, SVG_EL_glyphRef, L_OtherValue, FALSE},
1.1 vatton 30: {"image", SPACE, SVG_EL_image, L_OtherValue, FALSE},
31: {"line", SPACE, SVG_EL_line_, L_OtherValue, FALSE},
1.25 cheyroul 32: {"linearGradient", SPACE, SVG_EL_linearGradient, L_OtherValue, FALSE},
1.28 ! quint 33: {"marker", SPACE, SVG_EL_marker, L_OtherValue, FALSE},
! 34: {"mask", SPACE, SVG_EL_mask, L_OtherValue, FALSE},
1.1 vatton 35: {"metadata", SPACE, SVG_EL_metadata, L_OtherValue, FALSE},
1.19 quint 36: {"mpath", SPACE, SVG_EL_mpath, L_OtherValue, FALSE},
1.1 vatton 37: {"path", SPACE, SVG_EL_path, L_OtherValue, FALSE},
1.28 ! quint 38: {"pattern", SPACE, SVG_EL_pattern, L_OtherValue, FALSE},
1.1 vatton 39: {"polygon", SPACE, SVG_EL_polygon, L_OtherValue, FALSE},
40: {"polyline", SPACE, SVG_EL_polyline, L_OtherValue, FALSE},
41: {"rect", SPACE, SVG_EL_rect, L_OtherValue, FALSE},
1.28 ! quint 42: {"radialGradient", SPACE, SVG_EL_radialGradient, L_OtherValue, FALSE},
1.9 vatton 43: {"script", SPACE, SVG_EL_script_, L_OtherValue, FALSE},
1.20 quint 44: {"set", SPACE, SVG_EL_set_, L_OtherValue, FALSE},
1.25 cheyroul 45: {"stop", SPACE, SVG_EL_stop, L_OtherValue, FALSE},
1.1 vatton 46: {"style", SPACE, SVG_EL_style__, L_OtherValue, FALSE},
47: {"svg", SPACE, SVG_EL_SVG, L_OtherValue, FALSE},
1.3 cvs 48: {"switch", SPACE, SVG_EL_switch, L_OtherValue, FALSE},
1.1 vatton 49: {"symbol", SPACE, SVG_EL_symbol_, L_OtherValue, FALSE},
50: {"text", SPACE, SVG_EL_text_, L_OtherValue, FALSE},
1.28 ! quint 51: {"textPath", SPACE, SVG_EL_textPath, L_OtherValue, FALSE},
1.1 vatton 52: {"title", SPACE, SVG_EL_title, L_OtherValue, FALSE},
1.27 quint 53: {"tref", SPACE, SVG_EL_tref, L_OtherValue, TRUE},
54: {"tspan", SPACE, SVG_EL_tspan, L_OtherValue, TRUE},
1.1 vatton 55: {"use", SPACE, SVG_EL_use_, L_OtherValue, FALSE},
1.13 cvs 56: {"xmlcomment", SPACE, SVG_EL_XMLcomment, L_OtherValue, FALSE},
57: {"xmlcomment_line", SPACE, SVG_EL_XMLcomment_line, L_OtherValue, FALSE},
58: {"xmlpi", SPACE, SVG_EL_XMLPI, L_OtherValue, FALSE},
59: {"xmlpi_line", SPACE, SVG_EL_XMLPI_line, L_OtherValue, FALSE},
1.1 vatton 60: {"", SPACE, 0, L_OtherValue, FALSE} /* Last entry. Mandatory */
61: };
62:
63: static AttributeMapping SVGAttributeMappingTable[] =
64: {
65: /* The first entry MUST be unknown_attr */
66: /* The rest of this table MUST be in alphabetical order */
1.2 cvs 67: {"unknown_attr", "", 'A', SVG_ATTR_Unknown_attribute, L_OtherValue},
1.1 vatton 68:
1.19 quint 69: {"accumulate", "", 'A', SVG_ATTR_accumulate, L_OtherValue},
70: {"additive", "", 'A', SVG_ATTR_additive, L_OtherValue},
1.20 quint 71: {"attributeName", "", 'A', SVG_ATTR_attributeName_, L_OtherValue},
1.19 quint 72: {"attributeType", "", 'A', SVG_ATTR_attributeType, L_OtherValue},
1.22 quint 73: {"baseline-shift", "", 'A', SVG_ATTR_baseline_shift, L_OtherValue},
1.24 vatton 74: {"baseProfile", "", 'A', SVG_ATTR_baseProfile, L_OtherValue},
1.19 quint 75: {"begin", "", 'A', SVG_ATTR_begin_, L_OtherValue},
76: {"by", "", 'A', SVG_ATTR_by, L_OtherValue},
77: {"calcMode", "", 'A', SVG_ATTR_calcMode, L_OtherValue},
1.1 vatton 78: {"class", "", 'A', SVG_ATTR_class, L_OtherValue},
1.16 quint 79: {"clipPathUnits", "", 'A', SVG_ATTR_clipPathUnits, L_OtherValue},
1.1 vatton 80: {"cx", "", 'A', SVG_ATTR_cx, L_OtherValue},
81: {"cy", "", 'A', SVG_ATTR_cy, L_OtherValue},
82: {"d", "", 'A', SVG_ATTR_d, L_OtherValue},
1.11 quint 83: {"direction", "", 'A', SVG_ATTR_direction_, L_OtherValue},
1.19 quint 84: {"dur", "", 'A', SVG_ATTR_dur, L_OtherValue},
1.1 vatton 85: {"dx", "", 'A', SVG_ATTR_dx, L_OtherValue},
86: {"dy", "", 'A', SVG_ATTR_dy, L_OtherValue},
1.19 quint 87: {"end", "", 'A', SVG_ATTR_end_, L_OtherValue},
1.1 vatton 88: {"externalResourcesRequired", "", 'A', SVG_ATTR_externalResourcesRequired, L_OtherValue},
1.19 quint 89: {"fill", "animate", 'A', SVG_ATTR_fill_, L_OtherValue},
90: {"fill", "animateColor", 'A', SVG_ATTR_fill_, L_OtherValue},
91: {"fill", "animateMotion", 'A', SVG_ATTR_fill_, L_OtherValue},
92: {"fill", "animateTransform", 'A', SVG_ATTR_fill_, L_OtherValue},
93: {"fill", "set", 'A', SVG_ATTR_fill_, L_OtherValue},
1.1 vatton 94: {"fill", "", 'A', SVG_ATTR_fill, L_OtherValue},
1.25 cheyroul 95: {"fill-opacity", "", 'A', SVG_ATTR_fill_opacity, L_OtherValue},
1.4 cvs 96: {"font-family", "", 'A', SVG_ATTR_font_family, L_OtherValue},
97: {"font-size", "", 'A', SVG_ATTR_font_size, L_OtherValue},
98: {"font-style", "", 'A', SVG_ATTR_font_style, L_OtherValue},
99: {"font-variant", "", 'A', SVG_ATTR_font_variant, L_OtherValue},
100: {"font-weight", "", 'A', SVG_ATTR_font_weight, L_OtherValue},
1.28 ! quint 101: {"format", "", 'A', SVG_ATTR_format, L_OtherValue},
1.19 quint 102: {"from", "", 'A', SVG_ATTR_from, L_OtherValue},
1.28 ! quint 103: {"fx", "", 'A', SVG_ATTR_fx, L_OtherValue},
! 104: {"fy", "", 'A', SVG_ATTR_fy, L_OtherValue},
! 105: {"glyphRef", "", 'A', SVG_ATTR_glyphRef_, L_OtherValue},
! 106: {"gradientTransform", "", 'A', SVG_ATTR_gradientTransform, L_OtherValue},
1.25 cheyroul 107: {"gradientUnits", "", 'A', SVG_ATTR_gradientUnits, L_OtherValue},
1.1 vatton 108: {"height", "", 'A', SVG_ATTR_height_, L_OtherValue},
109: {"id", "", 'A', SVG_ATTR_id, L_OtherValue},
1.19 quint 110: {"keyPoints", "", 'A', SVG_ATTR_keyPoints, L_OtherValue},
111: {"keySplines", "", 'A', SVG_ATTR_keySplines, L_OtherValue},
112: {"keyTimes", "", 'A', SVG_ATTR_keyTimes, L_OtherValue},
1.6 cvs 113: {"lang", "", 'A', SVG_ATTR_Language, L_OtherValue},
1.28 ! quint 114: {"lengthAdjust", "", 'A', SVG_ATTR_lengthAdjust, L_OtherValue},
! 115: {"local", "", 'A', SVG_ATTR_local, L_OtherValue},
! 116: {"markerHeight", "", 'A', SVG_ATTR_markerHeight, L_OtherValue},
! 117: {"markerUnits", "", 'A', SVG_ATTR_markerUnits, L_OtherValue},
! 118: {"markerWidth", "", 'A', SVG_ATTR_markerWidth, L_OtherValue},
! 119: {"maskContentUnits", "", 'A', SVG_ATTR_maskContentUnits, L_OtherValue},
! 120: {"maskUnits", "", 'A', SVG_ATTR_maskUnits, L_OtherValue},
1.20 quint 121: {"max", "", 'A', SVG_ATTR_max_, L_OtherValue},
1.1 vatton 122: {"media", "", 'A', SVG_ATTR_media, L_OtherValue},
1.28 ! quint 123: {"method", "", 'A', SVG_ATTR_method, L_OtherValue},
1.20 quint 124: {"min", "", 'A', SVG_ATTR_min_, L_OtherValue},
1.28 ! quint 125: {"name", "", 'A', SVG_ATTR_name, L_OtherValue},
1.25 cheyroul 126: {"offset", "", 'A', SVG_ATTR_offset, L_OtherValue},
1.19 quint 127: {"onbegin", "", 'A', SVG_ATTR_onbegin, L_OtherValue},
128: {"onend", "", 'A', SVG_ATTR_onend, L_OtherValue},
129: {"onrepeat", "", 'A', SVG_ATTR_onrepeat, L_OtherValue},
1.26 quint 130: {"opacity", "", 'A', SVG_ATTR_opacity_, L_OtherValue},
1.28 ! quint 131: {"orient", "", 'A', SVG_ATTR_orient, L_OtherValue},
1.19 quint 132: {"origin", "", 'A', SVG_ATTR_origin, L_OtherValue},
133: {"path", "", 'A', SVG_ATTR_path_, L_OtherValue},
1.28 ! quint 134: {"patternContentUnits", "", 'A', SVG_ATTR_patternContentUnits, L_OtherValue},
! 135: {"patternTransform", "", 'A', SVG_ATTR_patternTransform, L_OtherValue},
! 136: {"patternUnits", "", 'A', SVG_ATTR_patternUnits, L_OtherValue},
1.1 vatton 137: {"pathLength", "", 'A', SVG_ATTR_pathLength, L_OtherValue},
138: {"points", "", 'A', SVG_ATTR_points, L_OtherValue},
139: {"preserveAspectRatio", "", 'A', SVG_ATTR_preserveAspectRatio, L_OtherValue},
140: {"r", "", 'A', SVG_ATTR_r, L_OtherValue},
1.28 ! quint 141: {"refX", "", 'A', SVG_ATTR_refX, L_OtherValue},
! 142: {"refY", "", 'A', SVG_ATTR_refY, L_OtherValue},
! 143: {"rendering-intent", "", 'A', SVG_ATTR_rendering_intent, L_OtherValue},
1.19 quint 144: {"repeatCount", "", 'A', SVG_ATTR_repeatCount, L_OtherValue},
145: {"repeatDur", "", 'A', SVG_ATTR_repeatDur, L_OtherValue},
1.3 cvs 146: {"requiredExtensions", "", 'A', SVG_ATTR_requiredExtensions, L_OtherValue},
147: {"requiredFeatures", "", 'A', SVG_ATTR_requiredFeatures, L_OtherValue},
1.19 quint 148: {"restart", "", 'A', SVG_ATTR_restart, L_OtherValue},
149: {"rotate", "", 'A', SVG_ATTR_rotate, L_OtherValue},
1.1 vatton 150: {"rx", "", 'A', SVG_ATTR_rx, L_OtherValue},
151: {"ry", "", 'A', SVG_ATTR_ry, L_OtherValue},
1.28 ! quint 152: {"spacing", "", 'A', SVG_ATTR_spacing, L_OtherValue},
! 153: {"spreadMethod", "", 'A', SVG_ATTR_spreadMethod, L_OtherValue},
! 154: {"startOffset", "", 'A', SVG_ATTR_startOffset, L_OtherValue},
1.1 vatton 155: {"stroke", "", 'A', SVG_ATTR_stroke, L_OtherValue},
156: {"stroke-width", "", 'A', SVG_ATTR_stroke_width, L_OtherValue},
1.25 cheyroul 157: {"stroke-opacity", "", 'A', SVG_ATTR_stroke_opacity, L_OtherValue},
158: {"stop-color", "", 'A', SVG_ATTR_stop_color, L_OtherValue},
1.28 ! quint 159: {"stop-opacity", "", 'A', SVG_ATTR_stop_opacity, L_OtherValue},
1.1 vatton 160: {"style", "", 'A', SVG_ATTR_style_, L_OtherValue},
1.3 cvs 161: {"systemLanguage", "", 'A', SVG_ATTR_systemLanguage, L_OtherValue},
1.1 vatton 162: {"target", "", 'A', SVG_ATTR_target_, L_OtherValue},
1.15 quint 163: {"text-anchor", "", 'A', SVG_ATTR_text_anchor, L_OtherValue},
1.5 cvs 164: {"text-decoration", "", 'A', SVG_ATTR_text_decoration, L_OtherValue},
1.28 ! quint 165: {"textLength", "", 'A', SVG_ATTR_textLength, L_OtherValue},
1.1 vatton 166: {"title", "", 'A', SVG_ATTR_title_, L_OtherValue},
1.20 quint 167: {"to", "", 'A', SVG_ATTR_to_, L_OtherValue},
1.1 vatton 168: {"transform", "", 'A', SVG_ATTR_transform, L_OtherValue},
1.19 quint 169: {"type", "animateTransform", 'A', SVG_ATTR_type_, L_OtherValue},
1.1 vatton 170: {"type", "", 'A', SVG_ATTR_type, L_OtherValue},
1.11 quint 171: {"unicode-bidi", "", 'A', SVG_ATTR_unicode_bidi, L_OtherValue},
1.19 quint 172: {"values", "", 'A', SVG_ATTR_values, L_OtherValue},
1.17 quint 173: {"version", "", 'A', SVG_ATTR_version, L_OtherValue},
1.1 vatton 174: {"viewBox", "", 'A', SVG_ATTR_viewBox, L_OtherValue},
175: {"width", "", 'A', SVG_ATTR_width_, L_OtherValue},
1.18 vatton 176: {"writing-mode", "", 'A', SVG_ATTR_writing_mode, L_OtherValue},
1.1 vatton 177: {"x", "", 'A', SVG_ATTR_x, L_OtherValue},
178: {"x1", "", 'A', SVG_ATTR_x1, L_OtherValue},
179: {"x2", "", 'A', SVG_ATTR_x2, L_OtherValue},
180: {"xlink:href", "", 'A', SVG_ATTR_xlink_href, L_OtherValue},
181: {"xml:space", "", 'A', SVG_ATTR_xml_space, L_OtherValue},
182: {"y", "", 'A', SVG_ATTR_y, L_OtherValue},
183: {"y1", "", 'A', SVG_ATTR_y1, L_OtherValue},
184: {"y2", "", 'A', SVG_ATTR_y2, L_OtherValue},
185: {"zzghost", "", 'A', SVG_ATTR_Ghost_restruct, L_OtherValue},
186: {"", "", EOS, 0, L_OtherValue} /* Last entry. Mandatory */
187: };
1.14 vatton 188:
189: /* mapping table of attribute values */
190: static AttrValueMapping SVGAttrValueMappingTable[] =
191: {
192: {SVG_ATTR_xml_space, "default", SVG_ATTR_xml_space_VAL_xml_space_default},
193: {SVG_ATTR_xml_space, "preserve", SVG_ATTR_xml_space_VAL_xml_space_preserve},
194:
195: {SVG_ATTR_externalResourcesRequired, "false", SVG_ATTR_externalResourcesRequired_VAL_false},
196: {SVG_ATTR_externalResourcesRequired, "true", SVG_ATTR_externalResourcesRequired_VAL_true},
197:
198: {SVG_ATTR_font_style, "inherit", SVG_ATTR_font_style_VAL_inherit},
199: {SVG_ATTR_font_style, "italic", SVG_ATTR_font_style_VAL_italic},
200: {SVG_ATTR_font_style, "normal", SVG_ATTR_font_style_VAL_normal_},
201: {SVG_ATTR_font_style, "oblique", SVG_ATTR_font_style_VAL_oblique_},
202:
203: {SVG_ATTR_font_variant, "inherit", SVG_ATTR_font_variant_VAL_inherit},
204: {SVG_ATTR_font_variant, "normal", SVG_ATTR_font_variant_VAL_normal_},
205: {SVG_ATTR_font_variant, "small-caps", SVG_ATTR_font_variant_VAL_small_caps},
206:
207: {SVG_ATTR_font_weight, "100", SVG_ATTR_font_weight_VAL_w100},
208: {SVG_ATTR_font_weight, "200", SVG_ATTR_font_weight_VAL_w200},
209: {SVG_ATTR_font_weight, "300", SVG_ATTR_font_weight_VAL_w300},
210: {SVG_ATTR_font_weight, "400", SVG_ATTR_font_weight_VAL_w400},
211: {SVG_ATTR_font_weight, "500", SVG_ATTR_font_weight_VAL_w500},
212: {SVG_ATTR_font_weight, "600", SVG_ATTR_font_weight_VAL_w600},
213: {SVG_ATTR_font_weight, "700", SVG_ATTR_font_weight_VAL_w700},
214: {SVG_ATTR_font_weight, "800", SVG_ATTR_font_weight_VAL_w800},
215: {SVG_ATTR_font_weight, "900", SVG_ATTR_font_weight_VAL_w900},
216: {SVG_ATTR_font_weight, "bold", SVG_ATTR_font_weight_VAL_bold_},
217: {SVG_ATTR_font_weight, "bolder", SVG_ATTR_font_weight_VAL_bolder},
218: {SVG_ATTR_font_weight, "inherit", SVG_ATTR_font_weight_VAL_inherit},
219: {SVG_ATTR_font_weight, "lighter", SVG_ATTR_font_weight_VAL_lighter},
220: {SVG_ATTR_font_weight, "normal", SVG_ATTR_font_weight_VAL_normal_},
221:
222: {SVG_ATTR_direction_, "ltr", SVG_ATTR_direction__VAL_ltr_},
223: {SVG_ATTR_direction_, "rtl", SVG_ATTR_direction__VAL_rtl_},
224: {SVG_ATTR_direction_, "inherit", SVG_ATTR_direction__VAL_inherit},
1.15 quint 225:
226: {SVG_ATTR_text_anchor, "start", SVG_ATTR_text_anchor_VAL_start},
227: {SVG_ATTR_text_anchor, "middle", SVG_ATTR_text_anchor_VAL_middle},
1.19 quint 228: {SVG_ATTR_text_anchor, "end", SVG_ATTR_text_anchor_VAL_end__},
1.15 quint 229: {SVG_ATTR_text_anchor, "inherit", SVG_ATTR_text_anchor_VAL_inherit},
1.14 vatton 230:
231: {SVG_ATTR_unicode_bidi, "normal", SVG_ATTR_unicode_bidi_VAL_normal_},
232: {SVG_ATTR_unicode_bidi, "embed", SVG_ATTR_unicode_bidi_VAL_embed_},
233: {SVG_ATTR_unicode_bidi, "bidi-override", SVG_ATTR_unicode_bidi_VAL_bidi_override},
234: {SVG_ATTR_unicode_bidi, "inherit", SVG_ATTR_unicode_bidi_VAL_inherit},
1.18 vatton 235:
236: {SVG_ATTR_writing_mode, "lr-tb", SVG_ATTR_writing_mode_VAL_lr_tb},
237: {SVG_ATTR_writing_mode, "rl-tb", SVG_ATTR_writing_mode_VAL_rl_tb},
238: {SVG_ATTR_writing_mode, "tb-rl", SVG_ATTR_writing_mode_VAL_tb_rl},
239: {SVG_ATTR_writing_mode, "lr", SVG_ATTR_writing_mode_VAL_lr},
240: {SVG_ATTR_writing_mode, "rl", SVG_ATTR_writing_mode_VAL_rl},
241: {SVG_ATTR_writing_mode, "tb", SVG_ATTR_writing_mode_VAL_tb},
242: {SVG_ATTR_writing_mode, "inherit", SVG_ATTR_writing_mode_VAL_inherit},
1.28 ! quint 243:
! 244: {SVG_ATTR_lengthAdjust, "spacing", SVG_ATTR_lengthAdjust_VAL_spacing_},
! 245: {SVG_ATTR_lengthAdjust, "spacingAndGlyphs", SVG_ATTR_lengthAdjust_VAL_spacingAndGlyphs},
! 246:
! 247: {SVG_ATTR_method, "align", SVG_ATTR_method_VAL_align},
! 248: {SVG_ATTR_method, "stretch", SVG_ATTR_method_VAL_stretch},
! 249:
! 250: {SVG_ATTR_spacing, "auto", SVG_ATTR_spacing_VAL_auto},
! 251: {SVG_ATTR_spacing, "exact", SVG_ATTR_spacing_VAL_exact},
! 252:
! 253: {SVG_ATTR_markerUnits, "strokeWidth", SVG_ATTR_markerUnits_VAL_strokeWidth},
! 254: {SVG_ATTR_markerUnits, "userSpaceOnUse", SVG_ATTR_markerUnits_VAL_userSpaceOnUse},
! 255:
! 256: {SVG_ATTR_rendering_intent, "absolute-colorimetric", SVG_ATTR_rendering_intent_VAL_absolute_colorimetric},
! 257: {SVG_ATTR_rendering_intent, "auto", SVG_ATTR_rendering_intent_VAL_auto},
! 258: {SVG_ATTR_rendering_intent, "perceptual", SVG_ATTR_rendering_intent_VAL_perceptual},
! 259: {SVG_ATTR_rendering_intent, "relative-colorimetric", SVG_ATTR_rendering_intent_VAL_relative_colorimetric},
! 260: {SVG_ATTR_rendering_intent, "saturation", SVG_ATTR_rendering_intent_VAL_saturation},
! 261:
! 262: {SVG_ATTR_gradientUnits, "objectBoundingBox", SVG_ATTR_gradientUnits_VAL_objectBoundingBox},
! 263: {SVG_ATTR_gradientUnits, "userSpaceOnUse", SVG_ATTR_gradientUnits_VAL_userSpaceOnUse},
! 264:
! 265: {SVG_ATTR_spreadMethod, "pad", SVG_ATTR_spreadMethod_VAL_pad},
! 266: {SVG_ATTR_spreadMethod, "reflect", SVG_ATTR_spreadMethod_VAL_reflect},
! 267: {SVG_ATTR_spreadMethod, "repeat", SVG_ATTR_spreadMethod_VAL_repeat},
! 268:
! 269: {SVG_ATTR_patternUnits, "objectBoundingBox", SVG_ATTR_patternUnits_VAL_objectBoundingBox},
! 270: {SVG_ATTR_patternUnits, "userSpaceOnUse", SVG_ATTR_patternUnits_VAL_userSpaceOnUse},
! 271:
! 272: {SVG_ATTR_patternContentUnits, "objectBoundingBox", SVG_ATTR_patternContentUnits_VAL_objectBoundingBox},
! 273: {SVG_ATTR_patternContentUnits, "userSpaceOnUse", SVG_ATTR_patternContentUnits_VAL_userSpaceOnUse},
! 274:
! 275: {SVG_ATTR_maskUnits, "objectBoundingBox", SVG_ATTR_maskUnits_VAL_objectBoundingBox},
! 276: {SVG_ATTR_maskUnits, "userSpaceOnUse", SVG_ATTR_maskUnits_VAL_userSpaceOnUse},
! 277:
! 278: {SVG_ATTR_maskContentUnits, "objectBoundingBox", SVG_ATTR_maskContentUnits_VAL_objectBoundingBox},
! 279: {SVG_ATTR_maskContentUnits, "userSpaceOnUse", SVG_ATTR_maskContentUnits_VAL_userSpaceOnUse},
1.19 quint 280:
281: {SVG_ATTR_clipPathUnits, "objectBoundingBox", SVG_ATTR_clipPathUnits_VAL_objectBoundingBox},
282: {SVG_ATTR_clipPathUnits, "userSpaceOnUse", SVG_ATTR_clipPathUnits_VAL_userSpaceOnUse},
283:
284: {SVG_ATTR_restart, "always", SVG_ATTR_restart_VAL_always},
285: {SVG_ATTR_restart, "never", SVG_ATTR_restart_VAL_never},
286: {SVG_ATTR_restart, "whenNotActive", SVG_ATTR_restart_VAL_whenNotActive},
287:
288: {SVG_ATTR_fill_, "freeze", SVG_ATTR_fill__VAL_freeze},
1.20 quint 289: {SVG_ATTR_fill_, "remove", SVG_ATTR_fill__VAL_remove_},
1.19 quint 290:
291: {SVG_ATTR_calcMode, "discrete", SVG_ATTR_calcMode_VAL_discrete},
292: {SVG_ATTR_calcMode, "linear", SVG_ATTR_calcMode_VAL_linear},
293: {SVG_ATTR_calcMode, "paced", SVG_ATTR_calcMode_VAL_paced},
294: {SVG_ATTR_calcMode, "spline", SVG_ATTR_calcMode_VAL_spline},
295:
296: {SVG_ATTR_additive, "replace", SVG_ATTR_additive_VAL_replace},
297: {SVG_ATTR_additive, "sum", SVG_ATTR_additive_VAL_sum},
298:
299: {SVG_ATTR_accumulate, "none", SVG_ATTR_accumulate_VAL_none_},
300: {SVG_ATTR_accumulate, "sum", SVG_ATTR_accumulate_VAL_sum},
301:
302: {SVG_ATTR_type_, "rotate", SVG_ATTR_type__VAL_rotate_},
303: {SVG_ATTR_type_, "scale", SVG_ATTR_type__VAL_scale},
304: {SVG_ATTR_type_, "skewX", SVG_ATTR_type__VAL_skewX},
305: {SVG_ATTR_type_, "skewY", SVG_ATTR_type__VAL_skewY},
306: {SVG_ATTR_type_, "translate", SVG_ATTR_type__VAL_translate},
1.14 vatton 307:
308: {0, "", 0} /* Last entry. Mandatory */
309: };
1.1 vatton 310: #else /* _SVG */
311: /* there is no mapping table of SVG elements */
312:
313: static ElemMapping *SVGElemMappingTable = NULL;
314: static AttributeMapping* SVGAttributeMappingTable = NULL;
315: #endif /* _SVG */
Webmaster