Annotation of Amaya/amaya/SVG.S, revision 1.35

1.1       vatton      1: 
                      2:       { Thot structure schema for Scalable Vector Graphics }
                      3: 
                      4: STRUCTURE SVG;
                      5: 
                      6: DEFPRES SVGP;
                      7: 
                      8: ATTR
                      9: 
                     10:    { global attributes for all SVG elements }
                     11:    id = text;
                     12:    class = text;
                     13:    PseudoClass = Text;
                     14:    style_ = text;
                     15:    xml_space = xml_space_default, xml_space_preserve;
1.3       cvs        16:    { xml_base = Text; }
                     17:        
1.1       vatton     18:    { global attributes for internal processing }
1.2       cvs        19:    Unknown_attribute = text;
1.1       vatton     20:    Ghost_restruct = text;
                     21:    Highlight = Yes_;        { to show the SVG element corresponding to the
                     22:                              current selection in the source view }
                     23:    Namespace = text;        { for children of element foreignObject }
                     24:    IntEmptyShape = yes_, no_;
                     25: 
                     26: STRUCT
                     27: 
1.21      quint      28: { Document Structure }
1.8       cvs        29: 
1.1       vatton     30:    SVG
1.7       cvs        31:        (ATTR requiredFeatures = text;
                     32:              requiredExtensions = text;
                     33:              systemLanguage = text;
1.31      vatton     34:              baseProfile = text;
1.7       cvs        35:              externalResourcesRequired = false, true;
                     36:              fill = text;
                     37:              stroke = text;
                     38:              stroke_width = text;
                     39:              font_family = text;
1.5       cvs        40:              font_size = text;
                     41:              font_style = normal_, italic, oblique_, inherit;
                     42:              font_variant = normal_, small_caps, inherit;
                     43:              font_weight = normal_, bold_, bolder, lighter, w100, w200, w300,
                     44:                            w400, w500, w600, w700, w800, w900, inherit;
1.16      quint      45:              direction_ = ltr_, rtl_, inherit;
1.21      quint      46:              text_anchor = start, middle, end__, inherit;
1.6       cvs        47:              text_decoration = text;
1.14      quint      48:              unicode_bidi = normal_, embed_, bidi_override, inherit;
1.5       cvs        49:              viewBox = text;
1.19      quint      50:              version = text;
1.1       vatton     51:              x = text;
1.27      cheyroul   52:               y = text; 
1.5       cvs        53:              width_ = text;
1.1       vatton     54:              height_ = text;
1.34      quint      55:              opacity_ = text; 
1.11      cvs        56:              RealLang = Yes_;
1.1       vatton     57:              Charset = text)
1.14      quint      58:         = LIST OF (GraphicsElement) + (XMLcomment, XMLPI, CDATA,
                     59:                                       Unknown_namespace);
1.1       vatton     60: 
                     61:    g
1.7       cvs        62:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                     63:              externalResourcesRequired; 
                     64:              fill; stroke; stroke_width;
1.34      quint      65:              opacity_; 
1.5       cvs        66:              font_family; font_size; font_style; font_variant; font_weight;
1.16      quint      67:              direction_; text_anchor; text_decoration; unicode_bidi;
1.1       vatton     68:              transform = text)
                     69:         = LIST OF (GraphicsElement);
                     70: 
                     71:    defs
1.7       cvs        72:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                     73:              externalResourcesRequired;
                     74:              fill; stroke; stroke_width;
1.5       cvs        75:              font_family; font_size; font_style; font_variant; font_weight;
1.16      quint      76:              direction_; text_anchor; text_decoration; unicode_bidi;
1.1       vatton     77:              transform;
                     78:              { graphicsElementEvents })
                     79:         = LIST OF (GraphicsElement);
                     80: 
1.21      quint      81:    desc = TEXT;
                     82:        
                     83:    title = TEXT;
                     84:        
1.14      quint      85:    symbol_  { not in SVG Tiny }
                     86:        (ATTR externalResourcesRequired;
                     87:              fill; stroke; stroke_width;
                     88:              font_family; font_size; font_style; font_variant; font_weight;
1.16      quint      89:              direction_; text_anchor; text_decoration; unicode_bidi;
1.14      quint      90:              viewBox;
                     91:              preserveAspectRatio = text; 
                     92:              { graphicsElementEvents })
                     93:         = LIST OF (GraphicsElement);
                     94: 
1.8       cvs        95:    use_  { not in SVG Tiny }
                     96:         (ATTR xlink_href = text;
                     97:              requiredFeatures; requiredExtensions; systemLanguage;
                     98:              externalResourcesRequired;
1.34      quint      99:              opacity_; fill; stroke; stroke_width;
1.8       cvs       100:              font_family; font_size; font_style; font_variant; font_weight;
1.16      quint     101:              direction_; text_anchor; text_decoration; unicode_bidi;
1.8       cvs       102:              transform;
                    103:              { graphicsElementEvents }
                    104:              x; 
                    105:              y;
                    106:               width_;
                    107:               height_)
                    108:         = AGGREGATE
                    109:               desc; title; metadata;
1.21      quint     110:              LIST OF (Anim);
1.8       cvs       111:              END;
                    112:        
                    113: { Images }
                    114: 
                    115:    image
                    116:        (ATTR xlink_href;
                    117:              requiredFeatures; requiredExtensions; systemLanguage;
1.7       cvs       118:              externalResourcesRequired; 
1.8       cvs       119:              transform;
1.34      quint     120:              opacity_; 
1.8       cvs       121:              x; 
                    122:              y;
                    123:               width_;
1.28      cheyroul  124:               height_)         
1.1       vatton    125:         = AGGREGATE
1.8       cvs       126:               desc; ? title; ? metadata;
1.21      quint     127:              LIST OF (Anim);
1.8       cvs       128:               PICTURE;
                    129:               SVG_Image = SVG;
1.1       vatton    130:              END;
                    131: 
1.8       cvs       132: { Conditional Processing }
                    133: 
                    134:    switch
                    135:        (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    136:              externalResourcesRequired;
                    137:              { PresentationAttributes-All }
                    138:              fill; stroke; stroke_width;
                    139:              font_family; font_size; font_style; font_variant; font_weight;
1.16      quint     140:              direction_; text_anchor; text_decoration; unicode_bidi;
1.8       cvs       141:              transform;
                    142:              { graphicsElementEvents })
                    143:        = LIST OF (CASE OF
                    144:                      GraphicsElement; foreignObject;
                    145:                      END);
                    146: 
                    147: { Styling }
                    148: 
                    149:    style__  { not in SVG Tiny }
                    150:        (ATTR type = text;
                    151:              media = text;
                    152:              title_ = text)
                    153:        = TEXT;
                    154: 
1.21      quint     155: { Paths }
                    156: 
                    157:    path
                    158:        (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    159:              externalResourcesRequired; 
1.34      quint     160:              opacity_; 
1.33      cheyroul  161:              fill_opacity=text; 
                    162:              stroke_opacity=text; 
                    163:              fill; stroke; stroke_width;
1.21      quint     164:               transform;
                    165:              d = text;
                    166:              pathLength = text)
                    167:         = AGGREGATE
                    168:              desc; title; metadata;
                    169:              LIST OF (Anim);
                    170:              GRAPHICS;
                    171:              END;
                    172:        
                    173: { Basic Shapes }
1.8       cvs       174: 
1.1       vatton    175:    rect
1.7       cvs       176:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    177:              externalResourcesRequired; 
                    178:              fill; stroke; stroke_width;
                    179:              transform;
1.1       vatton    180:              x;
                    181:               y;
                    182:               width_;
                    183:               height_;
1.34      quint     184:              opacity_; fill_opacity; stroke_opacity;
1.1       vatton    185:              rx = text;
1.7       cvs       186:              ry = text)
1.1       vatton    187:         = AGGREGATE
                    188:              desc; title; metadata;
1.21      quint     189:              LIST OF (Anim);
1.1       vatton    190:              GRAPHICS;
                    191:              END;
                    192:        
                    193:    circle
1.7       cvs       194:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    195:              externalResourcesRequired; 
                    196:              fill; stroke; stroke_width;
                    197:              transform;
1.1       vatton    198:              cx = text;
                    199:              cy = text;
1.27      cheyroul  200:               r = text;
1.34      quint     201:              opacity_; fill_opacity; stroke_opacity)
1.1       vatton    202:         = AGGREGATE
                    203:              desc; title; metadata;
1.21      quint     204:              LIST OF (Anim);
1.1       vatton    205:              GRAPHICS;
                    206:              END;
                    207:        
1.21      quint     208:    ellipse
1.7       cvs       209:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    210:              externalResourcesRequired; 
                    211:              fill; stroke; stroke_width;
                    212:              transform;
1.21      quint     213:              cx;
                    214:              cy;
                    215:              rx;
1.27      cheyroul  216:              ry;
1.34      quint     217:              opacity_; fill_opacity; stroke_opacity)
1.1       vatton    218:         = AGGREGATE
                    219:              desc; title; metadata;
1.21      quint     220:              LIST OF (Anim);
1.1       vatton    221:              GRAPHICS;
                    222:              END;
                    223:        
1.21      quint     224:    line_
1.7       cvs       225:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    226:              externalResourcesRequired; 
                    227:              fill; stroke; stroke_width;
                    228:              transform;
1.21      quint     229:              x1 = text;
                    230:              y1 = text;
                    231:               x2 = text;
1.27      cheyroul  232:              y2 = text;
1.34      quint     233:              opacity_; fill_opacity; stroke_opacity)
1.1       vatton    234:         = AGGREGATE
                    235:              desc; title; metadata;
1.21      quint     236:              LIST OF (Anim);
1.1       vatton    237:              GRAPHICS;
                    238:              END;
                    239:        
                    240:    polyline
1.7       cvs       241:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    242:              externalResourcesRequired; 
                    243:              fill; stroke; stroke_width;
1.1       vatton    244:              transform;
1.27      cheyroul  245:               points = text;
1.34      quint     246:              opacity_; fill_opacity; stroke_opacity)
1.1       vatton    247:         = AGGREGATE
                    248:              desc; title; metadata;
1.21      quint     249:              LIST OF (Anim);
1.1       vatton    250:              GRAPHICS;
                    251:              END;
                    252:        
                    253:    polygon
1.7       cvs       254:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    255:              externalResourcesRequired; 
                    256:              fill; stroke; stroke_width;
1.1       vatton    257:              transform;
1.27      cheyroul  258:               points;
1.34      quint     259:              opacity_; fill_opacity; stroke_opacity)
1.1       vatton    260:         = AGGREGATE
                    261:              desc; title; metadata;
1.21      quint     262:              LIST OF (Anim);
1.8       cvs       263:              GRAPHICS;
                    264:              END;
                    265: 
                    266: { Text }
                    267:        
1.1       vatton    268:    text_
1.7       cvs       269:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    270:              externalResourcesRequired; 
                    271:              fill; stroke; stroke_width;
                    272:              font_family; font_size; font_style; font_variant; font_weight;
1.16      quint     273:              direction_; text_anchor; text_decoration; unicode_bidi;
1.5       cvs       274:              transform;
1.20      vatton    275:              writing_mode = lr_tb, rl_tb, tb_rl, lr, rl, tb, inherit;
1.1       vatton    276:              x;
1.7       cvs       277:              y;
                    278:              dx = text;
1.27      cheyroul  279:              dy = text;
1.34      quint     280:              opacity_)
1.23      quint     281:         = LIST OF (CASE OF
1.30      vatton    282:                   tspan;       { must be the first option, to allow the Return key
                    283:                                  to create tspan elements }
1.23      quint     284:                   TEXT; desc; title; metadata;
1.30      vatton    285:                   tref; a;
1.23      quint     286:                   animate; set_; animateMotion; animateColor; animateTransform;
                    287:                   END);
1.1       vatton    288: 
1.8       cvs       289:    tspan  { not in SVG Tiny }
1.7       cvs       290:        (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    291:              externalResourcesRequired; 
                    292:              fill; stroke; stroke_width;
                    293:              font_family; font_size; font_style; font_variant; font_weight;
1.24      quint     294:              baseline_shift = text;
1.16      quint     295:              direction_; text_anchor; text_decoration; unicode_bidi;
1.20      vatton    296:              writing_mode;
1.5       cvs       297:              x;
1.1       vatton    298:               y;
1.7       cvs       299:              dx;
1.27      cheyroul  300:              dy;
1.34      quint     301:              opacity_)
1.8       cvs       302:        = LIST OF (SpanElement = CASE OF
                    303:                      TEXT;
1.21      quint     304:                      desc; title; metadata;
1.23      quint     305:                      tspan; tref;
1.21      quint     306:                      a;
1.23      quint     307:                      animate; set_; animateColor;
1.8       cvs       308:                      END);
1.23      quint     309:    tref
                    310:        (ATTR xlink_href;
                    311:              requiredFeatures; requiredExtensions; systemLanguage;
                    312:              externalResourcesRequired; 
                    313:              fill; stroke; stroke_width;
                    314:              font_family; font_size; font_style; font_variant; font_weight;
1.24      quint     315:              baseline_shift;
1.23      quint     316:              direction_; text_anchor; text_decoration; unicode_bidi;
                    317:              writing_mode;
                    318:              x;
                    319:               y;
                    320:              dx;
1.27      cheyroul  321:              dy;
1.34      quint     322:              opacity_)
1.23      quint     323:        = LIST OF (CASE OF
                    324:                   desc; title; metadata;
                    325:                   animate; set_; animateColor;
                    326:                   END);
                    327: 
1.1       vatton    328:    { textPath }
                    329:    { altGlyph }
1.21      quint     330:    { altGlyphDef }
                    331:    { altGlyphItem }
                    332:    { glyphRef }
                    333: 
                    334: { Marker Symbols }
                    335: 
                    336:    { marker }
                    337: 
                    338: { Color }
                    339: 
                    340:    { color-profile }
                    341: 
                    342: { Gradients and Patterns }
                    343: 
1.33      cheyroul  344:    linearGradient
                    345:        (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    346:              externalResourcesRequired;
1.35    ! cheyroul  347:              x1; y1; x2; y2;         
1.33      cheyroul  348:              gradientTransform = text;
                    349:              gradientUnits = text;
                    350:               xlink_href;)
                    351:        = AGGREGATE
                    352:              desc; title; metadata;
1.35    ! cheyroul  353:        LIST OF (Anim);
        !           354:              GRAPHICS;
1.33      cheyroul  355:          END;
                    356: 
                    357:    stop
                    358:          (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    359:              externalResourcesRequired;
1.35    ! cheyroul  360:              offset = text;
        !           361:              style = text;
        !           362:              stop_color = text;)
1.33      cheyroul  363:         = AGGREGATE
                    364:              desc; title; metadata;
                    365:          END;
                    366:        
                    367: 
1.21      quint     368:    { radialGradient }
                    369:    { pattern }
                    370: 
                    371: { Clipping, Masking and Compositing }
                    372: 
                    373:    clipPath
                    374:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    375:              externalResourcesRequired;
                    376:              fill; stroke; stroke_width;
                    377:              font_family; font_size; font_style; font_variant; font_weight;
                    378:              direction_; text_anchor; text_decoration; unicode_bidi;
                    379:              transform;
                    380:              clipPathUnits = userSpaceOnUse, objectBoundingBox;)
                    381:        = AGGREGATE
                    382:            desc; title; metadata;
                    383:            LIST OF
                    384:              (CASE OF
                    385:                 path; text_; rect; circle; ellipse; line_; polyline; polygon;
1.23      quint     386:                 use_; animate; set_; animateMotion; animateColor;
1.21      quint     387:                 animateTransform;
                    388:               END);
                    389:          END;
                    390: 
                    391:    { mask }
1.8       cvs       392: 
1.21      quint     393: { Filter Effects }
1.8       cvs       394: 
                    395:    { filter }
1.21      quint     396:    { feDistantLight }
                    397:    { fePointLight }
                    398:    { feSpotLight }
1.8       cvs       399:    { feBlend }
                    400:    { feColorMatrix }
                    401:    { feComponentTransfer }
1.21      quint     402:    { feFuncR }
                    403:    { feFuncG }
                    404:    { feFuncB }
                    405:    { feFuncA }
1.8       cvs       406:    { feComposite }
                    407:    { feConvolveMatrix }
                    408:    { feDiffuseLighting }
                    409:    { feDisplacementMap }
1.21      quint     410:    { feFlood }
1.8       cvs       411:    { feGaussianBlur }
                    412:    { feImage }
                    413:    { feMerge }
1.21      quint     414:    { feMergeNode }
1.8       cvs       415:    { feMorphology }
                    416:    { feOffset }
                    417:    { feSpecularLighting }
                    418:    { feTile }
                    419:    { feTurbulence }
                    420: 
1.14      quint     421: { Interactivity }
                    422: 
                    423:    { cursor }
                    424: 
                    425: { Linking }
                    426: 
                    427:    a
                    428:         (ATTR xlink_href;
                    429:              requiredFeatures; requiredExtensions; systemLanguage;
                    430:              externalResourcesRequired;
                    431:              fill; stroke; stroke_width;
                    432:              font_family; font_size; font_style; font_variant; font_weight;
1.16      quint     433:              direction_; text_anchor; text_decoration; unicode_bidi;
1.14      quint     434:              transform;
                    435:              { graphicsElementEvents }
                    436:              target_ = text)
                    437:        = LIST OF (CASE OF
1.23      quint     438:                   TEXT; 
                    439:                   GraphicsElement;
                    440:                   END);
1.21      quint     441:    { view }
1.14      quint     442: 
1.8       cvs       443: { Scripting }
                    444: 
1.12      vatton    445:    script_  { not in SVG Tiny }
1.8       cvs       446:        (ATTR externalResourcesRequired;
                    447:              type)
                    448:        = TEXT;
                    449: 
                    450: { Animation }
                    451: 
1.21      quint     452:    animate
                    453:        (ATTR requiredFeatures; requiredExtensions; systemLanguage; {testAttrs}
                    454:              externalResourcesRequired;
                    455:              onbegin = text;  {animationEvents}
                    456:              onend = text;
                    457:              onrepeat = text;
                    458:              {animElementAttrs - see XLink.S}
                    459:               xlink_href;
1.22      quint     460:               attributeName_ = text;  {animAttributeAttrs}
1.21      quint     461:              attributeType = text;
                    462:              begin_ = text;  {animTimingAttrs}
                    463:              dur = text;
                    464:              end_ = text;
1.22      quint     465:              min_ = text;
                    466:              max_ = text;
1.21      quint     467:              restart = always, never, whenNotActive;
                    468:              repeatCount = text;
                    469:              repeatDur = text;
1.22      quint     470:              fill_ = remove_, freeze;
1.21      quint     471:               calcMode = discrete, linear, paced, spline;  {animValueAttrs}
                    472:              values = text;
                    473:              keyTimes = text;
                    474:              keySplines = text;
                    475:              from = text;
1.22      quint     476:              to_ = text;
1.21      quint     477:              by = text;
                    478:               additive = replace, sum;  {animAdditionAttrs}
                    479:              accumulate = none_, sum;)
                    480:        = AGGREGATE
                    481:              desc; title; metadata;
                    482:          END;
                    483: 
1.22      quint     484:    set_
1.21      quint     485:        (ATTR requiredFeatures; requiredExtensions; systemLanguage; {testAttrs}
                    486:              externalResourcesRequired;
                    487:              onbegin; onend; onrepeat; {animationEvents}
                    488:              xlink_href; {animElementAttrs - see XLink.S}
1.22      quint     489:               attributeName_; attributeType; {animAttributeAttrs}
                    490:              begin_; dur; end_; min_; max_; restart; repeatCount; repeatDur; fill_;
1.21      quint     491:                                                              {animTimingAttrs}
1.22      quint     492:              to_;)
1.21      quint     493:        = AGGREGATE
                    494:              desc; title; metadata;
                    495:          END;
1.8       cvs       496: 
1.21      quint     497:    animateMotion
                    498:        (ATTR requiredFeatures; requiredExtensions; systemLanguage; {testAttrs}
                    499:              externalResourcesRequired;
                    500:              onbegin; onend; onrepeat; {animationEvents}
                    501:              xlink_href; {animElementAttrs - see XLink.S}
1.22      quint     502:               attributeName_; attributeType; {animAttributeAttrs}
                    503:              begin_; dur; end_; min_; max_; restart; repeatCount; repeatDur; fill_;
1.21      quint     504:                                                              {animTimingAttrs}
1.22      quint     505:              calcMode; values; keyTimes; keySplines; from; to_; by;
1.21      quint     506:               additive; accumulate; {animAdditionAttrs}
                    507:              path_ = text;
                    508:               keyPoints = text;
                    509:               rotate = text;
                    510:               origin = text;)
                    511:        = AGGREGATE
                    512:              desc; title; metadata; ? mpath;
                    513:          END;
                    514: 
                    515:    mpath
                    516:        (ATTR
                    517:           xlink_href;  {xlinkRefAttrs - see XLink.S}
                    518:           externalResourcesRequired;)
                    519:        = AGGREGATE
                    520:              desc; title; metadata;
                    521:          END;
                    522: 
                    523:    animateColor
                    524:        (ATTR requiredFeatures; requiredExtensions; systemLanguage; {testAttrs}
                    525:              externalResourcesRequired;
                    526:              onbegin; onend; onrepeat; {animationEvents}
                    527:              xlink_href; {animElementAttrs - see XLink.S}
1.22      quint     528:               attributeName_; attributeType; {animAttributeAttrs}
                    529:              begin_; dur; end_; min_; max_; restart; repeatCount; repeatDur; fill_;
1.21      quint     530:                                                              {animTimingAttrs}
1.22      quint     531:               calcMode; values; keyTimes; keySplines; from; to_; by;
1.21      quint     532:                                                               {animValueAttrs}
                    533:               additive; accumulate;) {animAdditionAttrs}
                    534:        = AGGREGATE
                    535:              desc; title; metadata;
                    536:          END;
                    537:        
                    538:    animateTransform
                    539:        (ATTR requiredFeatures; requiredExtensions; systemLanguage; {testAttrs}
                    540:              externalResourcesRequired;
                    541:              onbegin; onend; onrepeat; {animationEvents}
                    542:              xlink_href; {animElementAttrs - see XLink.S}
1.22      quint     543:               attributeName_; attributeType; {animAttributeAttrs}
                    544:              begin_; dur; end_; min_; max_; restart; repeatCount; repeatDur; fill_;
1.21      quint     545:                                                              {animTimingAttrs}
1.22      quint     546:               calcMode; values; keyTimes; keySplines; from; to_; by;
1.21      quint     547:                                                               {animValueAttrs}
                    548:               additive; accumulate;  {animAdditionAttrs}
                    549:              type_ = translate, scale, rotate_, skewX, skewY;)
                    550:        = AGGREGATE
                    551:              desc; title; metadata;
                    552:          END;
                    553: 
1.23      quint     554:    Anim = CASE OF animate; set_; animateMotion; animateColor; animateTransform;
1.21      quint     555:          END;
1.8       cvs       556: { Fonts }
                    557: 
1.1       vatton    558:    { font }
                    559:    { glyph }
                    560:    { missing-glyph }
                    561:    { hkern }
                    562:    { vkern }
1.21      quint     563:    { font-face }
                    564:    { font-face-src }
                    565:    { font-face-uri }
                    566:    { font-face-format }
                    567:    { font-face-name }
                    568:    { definition-src }
                    569:    { cursor }
                    570: 
                    571: { Metadata }
                    572:        
                    573:    metadata = TEXT;
1.1       vatton    574: 
1.8       cvs       575: { Extensibility }
                    576: 
                    577:    foreignObject  { not in SVG Tiny }
                    578:         (ATTR requiredFeatures; requiredExtensions; systemLanguage;
                    579:              externalResourcesRequired; 
1.34      quint     580:              opacity_; fill_opacity; stroke_opacity; fill; stroke; stroke_width;
1.5       cvs       581:              font_family; font_size; font_style; font_variant; font_weight;
1.16      quint     582:              direction_; text_anchor; text_decoration; unicode_bidi;
1.1       vatton    583:              transform;
                    584:              x; 
1.8       cvs       585:               y;
1.1       vatton    586:               width_;
                    587:               height_)
1.8       cvs       588:        = BEGIN CASE OF
                    589:              HTML; MathML;
1.1       vatton    590:              END;
1.8       cvs       591:           END;
                    592: 
                    593: { The following elements are not defined in the SVG DTD }
1.1       vatton    594: 
1.25      pierre    595: 
                    596:   Timeline_cross
                    597:        (ATTR x; 
                    598:              y;
1.34      quint     599:        opacity_; 
1.25      pierre    600:           width_;
                    601:           height_)
1.26      pierre    602:         = PICTURE;
1.25      pierre    603: 
1.1       vatton    604:    GraphicsElement
                    605:        = CASE OF
1.18      quint     606:              desc; title; metadata; defs;
1.1       vatton    607:              path; text_; rect; circle; ellipse; line_; polyline; polygon;
1.25      pierre    608:              use_; image; Timeline_cross; SVG; g; switch; a;
                    609:              script_; style__; symbol_; clipPath; Anim;
1.33      cheyroul  610:              animate; set_; animateMotion; animateColor; animateTransform;
                    611:              linearGradient; stop; 
1.3       cvs       612:              XLink;
1.1       vatton    613:              END;
                    614: 
1.10      cvs       615:    DOCTYPE = LIST OF (DOCTYPE_line = TEXT);    
1.9       cvs       616:        
1.1       vatton    617:    XMLcomment = LIST OF (XMLcomment_line = TEXT);
                    618: 
                    619:    XMLPI = LIST OF (XMLPI_line = TEXT);
                    620: 
1.13      cvs       621:    CDATA = LIST OF (CDATA_line = TEXT);
                    622: 
1.2       cvs       623:    Unknown_namespace = TEXT;
1.6       cvs       624: 
1.1       vatton    625: EXCEPT
                    626: 
                    627:    SVG:                 IsDraw, MoveResize, NoMove;
                    628:    g:                   NoMove, NoResize, HighlightChildren, NoShowBox,
1.33      cheyroul  629:                         NoCreate, IsGroup;
1.1       vatton    630:    defs:                NoMove, NoResize, NoShowBox, NoCreate;
1.33      cheyroul  631:    linearGradient:      NoMove, NoResize, NoShowBox, NoCreate;
                    632:    stop:               NoMove, NoResize, NoShowBox, NoCreate;
1.1       vatton    633:    rect:                MoveResize, HighlightChildren, NoShowBox, NoCreate;
                    634:    circle:              MoveResize, HighlightChildren, NoShowBox, NoCreate;
                    635:    ellipse:             MoveResize, HighlightChildren, NoShowBox, NoCreate;
                    636:    line_:               MoveResize, HighlightChildren, NoShowBox, NoCreate;
                    637:    polyline:            MoveResize, HighlightChildren, NoShowBox, NoCreate;
                    638:    polygon:             MoveResize, HighlightChildren, NoShowBox, NoCreate;
                    639:    path:               MoveResize, HighlightChildren, NoShowBox, NoCreate;
                    640:    text_:               MoveResize, NoResize, NoShowBox, ReturnCreateWithin,
                    641:                        NoCreate;
                    642:    tspan:              NoShowBox; 
                    643:    use_:               NoMove, NoResize, HighlightChildren, NoShowBox,
                    644:                        NoCreate;
                    645:    image:              MoveResize, HighlightChildren, NoShowBox;
                    646:    symbol_:            NoMove, NoResize,  HighlightChildren,NoShowBox,
                    647:                         NoCreate;
                    648:    a:                  NoMove, NoResize, HighlightChildren, NoShowBox,
                    649:                         NoCreate;
1.12      vatton    650:    script_:            NoMove, NoResize, NoShowBox, NoCreate;
1.1       vatton    651:    style__:             NoMove, NoResize, NoShowBox, NoCreate;
1.17      vatton    652:    switch:              NoMove, NoResize, NoShowBox, NoCreate, HighlightChildren;
1.1       vatton    653:    foreignObject:       MoveResize, HighlightChildren, NoCreate;
1.4       cvs       654:    SVG_Image:           Hidden, SelectParent;
1.1       vatton    655:    GRAPHICS:           SelectParent;
                    656:    PICTURE:             NoMove, NoResize, SelectParent;
                    657:    TEXT:                NoMove, NoResize;
1.2       cvs       658:    Unknown_namespace:   NoCreate;
1.21      quint     659:    DOCTYPE:             NoCut;
1.29      quint     660:    DOCTYPE_line:        Hidden, NoSpellCheck, NoCut;
                    661:    XMLcomment_line:     Hidden, NoSpellCheck;
                    662:    XMLPI_line:          Hidden, NoSpellCheck;
1.18      quint     663:    CDATA_line:          Hidden;
1.32      cvs       664:    XMLPI:              ReturnCreateNL, NoReplicate;
                    665:    XMLcomment:         ReturnCreateNL, NoReplicate;
1.1       vatton    666:    id:                  CssId;
                    667:    class:               CssClass;
                    668:    PseudoClass:                Invisible, CssPseudoClass;
1.2       cvs       669:    Unknown_attribute:   Invisible;
1.1       vatton    670:    Highlight:          Invisible; 
                    671:    Ghost_restruct:      Invisible;
                    672:    Namespace:          Invisible;
                    673:    IntEmptyShape:       Invisible;
1.11      cvs       674:    RealLang:           Invisible;
                    675:    Charset:            Invisible;
1.25      pierre    676:    Timeline_cross:      MoveResize, NoResize, HighlightChildren, NoShowBox, NoCut;
1.1       vatton    677: 
                    678: END

Webmaster