Project

Profile

Help

How to connect?
Download (13.8 KB) Statistics
| Branch: | Tag: | Revision:

he / tags / 9.7.0.3 / hej / data / w3c / svg11 / svg-text.mod @ cb770b3c

1
<!-- ....................................................................... -->
2
<!-- SVG 1.1 Text Module ................................................... -->
3
<!-- file: svg-text.mod
4

    
5
     This is SVG, a language for describing two-dimensional graphics in XML.
6
     Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
7
     Revision: $Id: svg-text.mod,v 1.4 2002/10/24 17:40:16 fujisawa Exp $
8

    
9
     This DTD module is identified by the PUBLIC and SYSTEM identifiers:
10

    
11
        PUBLIC "-//W3C//ELEMENTS SVG 1.1 Text//EN"
12
        SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-text.mod"
13

    
14
     ....................................................................... -->
15

    
16
<!-- Text
17

    
18
        text, tspan, tref, textPath, altGlyph, altGlyphDef, altGlyphItem,
19
        glyphRef
20

    
21
     This module declares markup to provide support for alternate glyph.
22
-->
23

    
24
<!-- 'baseline-shift' property/attribute value (e.g., 'baseline', 'sub', etc.) -->
25
<!ENTITY % BaselineShiftValue.datatype "CDATA" >
26

    
27
<!-- 'font-family' property/attribute value (i.e., list of fonts) -->
28
<!ENTITY % FontFamilyValue.datatype "CDATA" >
29

    
30
<!-- 'font-size' property/attribute value -->
31
<!ENTITY % FontSizeValue.datatype "CDATA" >
32

    
33
<!-- 'font-size-adjust' property/attribute value -->
34
<!ENTITY % FontSizeAdjustValue.datatype "CDATA" >
35

    
36
<!-- 'glyph-orientation-horizontal' property/attribute value (e.g., <angle>) -->
37
<!ENTITY % GlyphOrientationHorizontalValue.datatype "CDATA" >
38

    
39
<!-- 'glyph-orientation-vertical' property/attribute value (e.g., 'auto', <angle>) -->
40
<!ENTITY % GlyphOrientationVerticalValue.datatype "CDATA" >
41

    
42
<!-- 'kerning' property/attribute value (e.g., 'auto', <length>) -->
43
<!ENTITY % KerningValue.datatype "CDATA" >
44

    
45
<!-- 'letter-spacing' or 'word-spacing' property/attribute value (e.g., 'normal', <length>) -->
46
<!ENTITY % SpacingValue.datatype "CDATA" >
47

    
48
<!-- 'text-decoration' property/attribute value (e.g., 'none', 'underline') -->
49
<!ENTITY % TextDecorationValue.datatype "CDATA" >
50

    
51
<!-- Qualified Names (Default) ......................... -->
52

    
53
<!ENTITY % SVG.text.qname "text" >
54
<!ENTITY % SVG.tspan.qname "tspan" >
55
<!ENTITY % SVG.tref.qname "tref" >
56
<!ENTITY % SVG.textPath.qname "textPath" >
57
<!ENTITY % SVG.altGlyph.qname "altGlyph" >
58
<!ENTITY % SVG.altGlyphDef.qname "altGlyphDef" >
59
<!ENTITY % SVG.altGlyphItem.qname "altGlyphItem" >
60
<!ENTITY % SVG.glyphRef.qname "glyphRef" >
61

    
62
<!-- Attribute Collections (Default) ................... -->
63

    
64
<!ENTITY % SVG.Core.attrib "" >
65
<!ENTITY % SVG.Conditional.attrib "" >
66
<!ENTITY % SVG.Style.attrib "" >
67
<!ENTITY % SVG.Paint.attrib "" >
68
<!ENTITY % SVG.Color.attrib "" >
69
<!ENTITY % SVG.Opacity.attrib "" >
70
<!ENTITY % SVG.Graphics.attrib "" >
71
<!ENTITY % SVG.Clip.attrib "" >
72
<!ENTITY % SVG.Mask.attrib "" >
73
<!ENTITY % SVG.Filter.attrib "" >
74
<!ENTITY % SVG.GraphicalEvents.attrib "" >
75
<!ENTITY % SVG.Cursor.attrib "" >
76
<!ENTITY % SVG.XLink.attrib "" >
77
<!ENTITY % SVG.XLinkRequired.attrib "" >
78
<!ENTITY % SVG.External.attrib "" >
79

    
80
<!-- SVG.Text.class .................................... -->
81

    
82
<!ENTITY % SVG.Text.extra.class "" >
83

    
84
<!ENTITY % SVG.Text.class
85
    "| %SVG.text.qname; | %SVG.altGlyphDef.qname; %SVG.Text.extra.class;"
86
>
87

    
88
<!-- SVG.TextContent.class ............................. -->
89

    
90
<!ENTITY % SVG.TextContent.extra.class "" >
91

    
92
<!ENTITY % SVG.TextContent.class
93
    "| %SVG.tspan.qname; | %SVG.tref.qname; | %SVG.textPath.qname;
94
     | %SVG.altGlyph.qname; %SVG.TextContent.extra.class;"
95
>
96

    
97
<!-- SVG.Text.attrib ................................... -->
98

    
99
<!ENTITY % SVG.Text.extra.attrib "" >
100

    
101
<!ENTITY % SVG.Text.attrib
102
    "writing-mode ( lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit ) #IMPLIED
103
     %SVG.Text.extra.attrib;"
104
>
105

    
106
<!-- SVG.TextContent.attrib ............................ -->
107

    
108
<!ENTITY % SVG.TextContent.extra.attrib "" >
109

    
110
<!ENTITY % SVG.TextContent.attrib
111
    "alignment-baseline ( auto | baseline | before-edge | text-before-edge |
112
                          middle | central | after-edge | text-after-edge |
113
                          ideographic | alphabetic | hanging | mathematical |
114
                          inherit ) #IMPLIED
115
     baseline-shift %BaselineShiftValue.datatype; #IMPLIED
116
     direction ( ltr | rtl | inherit ) #IMPLIED
117
     dominant-baseline ( auto | use-script | no-change | reset-size |
118
                         ideographic | alphabetic | hanging | mathematical |
119
                         central | middle | text-after-edge | text-before-edge |
120
                         inherit ) #IMPLIED
121
     glyph-orientation-horizontal %GlyphOrientationHorizontalValue.datatype;
122
                                  #IMPLIED
123
     glyph-orientation-vertical %GlyphOrientationVerticalValue.datatype;
124
                                #IMPLIED
125
     kerning %KerningValue.datatype; #IMPLIED
126
     letter-spacing %SpacingValue.datatype; #IMPLIED
127
     text-anchor ( start | middle | end | inherit ) #IMPLIED
128
     text-decoration %TextDecorationValue.datatype; #IMPLIED
129
     unicode-bidi ( normal | embed | bidi-override | inherit ) #IMPLIED
130
     word-spacing %SpacingValue.datatype; #IMPLIED
131
     %SVG.TextContent.extra.attrib;"
132
>
133

    
134
<!-- SVG.Font.attrib ................................... -->
135

    
136
<!ENTITY % SVG.Font.extra.attrib "" >
137

    
138
<!ENTITY % SVG.Font.attrib
139
    "font-family %FontFamilyValue.datatype; #IMPLIED
140
     font-size %FontSizeValue.datatype; #IMPLIED
141
     font-size-adjust %FontSizeAdjustValue.datatype; #IMPLIED
142
     font-stretch ( normal | wider | narrower | ultra-condensed |
143
                    extra-condensed | condensed | semi-condensed |
144
                    semi-expanded | expanded | extra-expanded |
145
                    ultra-expanded | inherit ) #IMPLIED
146
     font-style ( normal | italic | oblique | inherit ) #IMPLIED
147
     font-variant ( normal | small-caps | inherit ) #IMPLIED
148
     font-weight ( normal | bold | bolder | lighter | 100 | 200 | 300 | 400 |
149
                   500 | 600 | 700 | 800 | 900 | inherit ) #IMPLIED
150
     %SVG.Font.extra.attrib;"
151
>
152

    
153
<!-- text: Text Element ................................ -->
154

    
155
<!ENTITY % SVG.text.extra.content "" >
156

    
157
<!ENTITY % SVG.text.element "INCLUDE" >
158
<![%SVG.text.element;[
159
<!ENTITY % SVG.text.content
160
    "( #PCDATA | %SVG.Description.class; | %SVG.Animation.class;
161
       %SVG.TextContent.class; %SVG.Hyperlink.class;
162
       %SVG.text.extra.content; )*"
163
>
164
<!ELEMENT %SVG.text.qname; %SVG.text.content; >
165
<!-- end of SVG.text.element -->]]>
166

    
167
<!ENTITY % SVG.text.attlist "INCLUDE" >
168
<![%SVG.text.attlist;[
169
<!ATTLIST %SVG.text.qname;
170
    %SVG.Core.attrib;
171
    %SVG.Conditional.attrib;
172
    %SVG.Style.attrib;
173
    %SVG.Text.attrib;
174
    %SVG.TextContent.attrib;
175
    %SVG.Font.attrib;
176
    %SVG.Paint.attrib;
177
    %SVG.Color.attrib;
178
    %SVG.Opacity.attrib;
179
    %SVG.Graphics.attrib;
180
    %SVG.Clip.attrib;
181
    %SVG.Mask.attrib;
182
    %SVG.Filter.attrib;
183
    %SVG.GraphicalEvents.attrib;
184
    %SVG.Cursor.attrib;
185
    %SVG.External.attrib;
186
    x %Coordinates.datatype; #IMPLIED
187
    y %Coordinates.datatype; #IMPLIED
188
    dx %Lengths.datatype; #IMPLIED
189
    dy %Lengths.datatype; #IMPLIED
190
    rotate %Numbers.datatype; #IMPLIED
191
    textLength %Length.datatype; #IMPLIED
192
    lengthAdjust ( spacing | spacingAndGlyphs ) #IMPLIED
193
    transform %TransformList.datatype; #IMPLIED
194
>
195
<!-- end of SVG.text.attlist -->]]>
196

    
197
<!-- tspan: Text Span Element .......................... -->
198

    
199
<!ENTITY % SVG.tspan.extra.content "" >
200

    
201
<!ENTITY % SVG.tspan.element "INCLUDE" >
202
<![%SVG.tspan.element;[
203
<!ENTITY % SVG.tspan.content
204
    "( #PCDATA | %SVG.tspan.qname; | %SVG.tref.qname; | %SVG.altGlyph.qname;
205
     | %SVG.animate.qname; | %SVG.set.qname; | %SVG.animateColor.qname;
206
     | %SVG.Description.class; %SVG.Hyperlink.class;
207
       %SVG.tspan.extra.content; )*"
208
>
209
<!ELEMENT %SVG.tspan.qname; %SVG.tspan.content; >
210
<!-- end of SVG.tspan.element -->]]>
211

    
212
<!ENTITY % SVG.tspan.attlist "INCLUDE" >
213
<![%SVG.tspan.attlist;[
214
<!ATTLIST %SVG.tspan.qname;
215
    %SVG.Core.attrib;
216
    %SVG.Conditional.attrib;
217
    %SVG.Style.attrib;
218
    %SVG.TextContent.attrib;
219
    %SVG.Font.attrib;
220
    %SVG.Paint.attrib;
221
    %SVG.Color.attrib;
222
    %SVG.Opacity.attrib;
223
    %SVG.Graphics.attrib;
224
    %SVG.Clip.attrib;
225
    %SVG.Mask.attrib;
226
    %SVG.Filter.attrib;
227
    %SVG.GraphicalEvents.attrib;
228
    %SVG.Cursor.attrib;
229
    %SVG.External.attrib;
230
    x %Coordinates.datatype; #IMPLIED
231
    y %Coordinates.datatype; #IMPLIED
232
    dx %Lengths.datatype; #IMPLIED
233
    dy %Lengths.datatype; #IMPLIED
234
    rotate %Numbers.datatype; #IMPLIED
235
    textLength %Length.datatype; #IMPLIED
236
    lengthAdjust ( spacing | spacingAndGlyphs ) #IMPLIED
237
>
238
<!-- end of SVG.tspan.attlist -->]]>
239

    
240
<!-- tref: Text Reference Element ...................... -->
241

    
242
<!ENTITY % SVG.tref.extra.content "" >
243

    
244
<!ENTITY % SVG.tref.element "INCLUDE" >
245
<![%SVG.tref.element;[
246
<!ENTITY % SVG.tref.content
247
    "( %SVG.animate.qname; | %SVG.set.qname; | %SVG.animateColor.qname;
248
     | %SVG.Description.class; %SVG.tref.extra.content; )*"
249
>
250
<!ELEMENT %SVG.tref.qname; %SVG.tref.content; >
251
<!-- end of SVG.tref.element -->]]>
252

    
253
<!ENTITY % SVG.tref.attlist "INCLUDE" >
254
<![%SVG.tref.attlist;[
255
<!ATTLIST %SVG.tref.qname;
256
    %SVG.Core.attrib;
257
    %SVG.Conditional.attrib;
258
    %SVG.Style.attrib;
259
    %SVG.TextContent.attrib;
260
    %SVG.Font.attrib;
261
    %SVG.Paint.attrib;
262
    %SVG.Color.attrib;
263
    %SVG.Opacity.attrib;
264
    %SVG.Graphics.attrib;
265
    %SVG.Clip.attrib;
266
    %SVG.Mask.attrib;
267
    %SVG.Filter.attrib;
268
    %SVG.GraphicalEvents.attrib;
269
    %SVG.Cursor.attrib;
270
    %SVG.XLinkRequired.attrib;
271
    %SVG.External.attrib;
272
    x %Coordinates.datatype; #IMPLIED
273
    y %Coordinates.datatype; #IMPLIED
274
    dx %Lengths.datatype; #IMPLIED
275
    dy %Lengths.datatype; #IMPLIED
276
    rotate %Numbers.datatype; #IMPLIED
277
    textLength %Length.datatype; #IMPLIED
278
    lengthAdjust ( spacing | spacingAndGlyphs ) #IMPLIED
279
>
280
<!-- end of SVG.tref.attlist -->]]>
281

    
282
<!-- textPath: Text Path Element ....................... -->
283

    
284
<!ENTITY % SVG.textPath.extra.content "" >
285

    
286
<!ENTITY % SVG.textPath.element "INCLUDE" >
287
<![%SVG.textPath.element;[
288
<!ENTITY % SVG.textPath.content
289
    "( #PCDATA | %SVG.tspan.qname; | %SVG.tref.qname; | %SVG.altGlyph.qname;
290
     | %SVG.animate.qname; | %SVG.set.qname; | %SVG.animateColor.qname;
291
     | %SVG.Description.class; %SVG.Hyperlink.class;
292
       %SVG.textPath.extra.content; )*"
293
>
294
<!ELEMENT %SVG.textPath.qname; %SVG.textPath.content; >
295
<!-- end of SVG.textPath.element -->]]>
296

    
297
<!ENTITY % SVG.textPath.attlist "INCLUDE" >
298
<![%SVG.textPath.attlist;[
299
<!ATTLIST %SVG.textPath.qname;
300
    %SVG.Core.attrib;
301
    %SVG.Conditional.attrib;
302
    %SVG.Style.attrib;
303
    %SVG.TextContent.attrib;
304
    %SVG.Font.attrib;
305
    %SVG.Paint.attrib;
306
    %SVG.Color.attrib;
307
    %SVG.Opacity.attrib;
308
    %SVG.Graphics.attrib;
309
    %SVG.Clip.attrib;
310
    %SVG.Mask.attrib;
311
    %SVG.Filter.attrib;
312
    %SVG.GraphicalEvents.attrib;
313
    %SVG.Cursor.attrib;
314
    %SVG.XLinkRequired.attrib;
315
    %SVG.External.attrib;
316
    startOffset %Length.datatype; #IMPLIED
317
    textLength %Length.datatype; #IMPLIED
318
    lengthAdjust ( spacing | spacingAndGlyphs ) #IMPLIED
319
    method ( align | stretch ) #IMPLIED
320
    spacing ( auto | exact ) #IMPLIED
321
>
322
<!-- end of SVG.textPath.attlist -->]]>
323

    
324
<!-- altGlyph: Alternate Glyph Element ................. -->
325

    
326
<!ENTITY % SVG.altGlyph.extra.content "" >
327

    
328
<!ENTITY % SVG.altGlyph.element "INCLUDE" >
329
<![%SVG.altGlyph.element;[
330
<!ENTITY % SVG.altGlyph.content
331
    "( #PCDATA %SVG.altGlyph.extra.content; )*"
332
>
333
<!ELEMENT %SVG.altGlyph.qname; %SVG.altGlyph.content; >
334
<!-- end of SVG.altGlyph.element -->]]>
335

    
336
<!ENTITY % SVG.altGlyph.attlist "INCLUDE" >
337
<![%SVG.altGlyph.attlist;[
338
<!ATTLIST %SVG.altGlyph.qname;
339
    %SVG.Core.attrib;
340
    %SVG.Conditional.attrib;
341
    %SVG.Style.attrib;
342
    %SVG.TextContent.attrib;
343
    %SVG.Font.attrib;
344
    %SVG.Paint.attrib;
345
    %SVG.Color.attrib;
346
    %SVG.Opacity.attrib;
347
    %SVG.Graphics.attrib;
348
    %SVG.Clip.attrib;
349
    %SVG.Mask.attrib;
350
    %SVG.Filter.attrib;
351
    %SVG.GraphicalEvents.attrib;
352
    %SVG.Cursor.attrib;
353
    %SVG.XLink.attrib;
354
    %SVG.External.attrib;
355
    x %Coordinates.datatype; #IMPLIED
356
    y %Coordinates.datatype; #IMPLIED
357
    dx %Lengths.datatype; #IMPLIED
358
    dy %Lengths.datatype; #IMPLIED
359
    glyphRef CDATA #IMPLIED
360
    format CDATA #IMPLIED
361
    rotate %Numbers.datatype; #IMPLIED
362
>
363
<!-- end of SVG.altGlyph.attlist -->]]>
364

    
365
<!-- altGlyphDef: Alternate Glyph Definition Element ... -->
366

    
367
<!ENTITY % SVG.altGlyphDef.extra.content "" >
368

    
369
<!ENTITY % SVG.altGlyphDef.element "INCLUDE" >
370
<![%SVG.altGlyphDef.element;[
371
<!ENTITY % SVG.altGlyphDef.content
372
    "(( %SVG.glyphRef.qname;+ | %SVG.altGlyphItem.qname;+ )
373
        %SVG.altGlyphDef.extra.content; )"
374
>
375
<!ELEMENT %SVG.altGlyphDef.qname; %SVG.altGlyphDef.content; >
376
<!-- end of SVG.altGlyphDef.element -->]]>
377

    
378
<!ENTITY % SVG.altGlyphDef.attlist "INCLUDE" >
379
<![%SVG.altGlyphDef.attlist;[
380
<!ATTLIST %SVG.altGlyphDef.qname;
381
    %SVG.Core.attrib;
382
>
383
<!-- end of SVG.altGlyphDef.attlist -->]]>
384

    
385
<!-- altGlyphItem: Alternate Glyph Item Element ........ -->
386

    
387
<!ENTITY % SVG.altGlyphItem.extra.content "" >
388

    
389
<!ENTITY % SVG.altGlyphItem.element "INCLUDE" >
390
<![%SVG.altGlyphItem.element;[
391
<!ENTITY % SVG.altGlyphItem.content
392
    "( %SVG.glyphRef.qname;+ %SVG.altGlyphItem.extra.content; )"
393
>
394
<!ELEMENT %SVG.altGlyphItem.qname; %SVG.altGlyphItem.content; >
395
<!-- end of SVG.altGlyphItem.element -->]]>
396

    
397
<!ENTITY % SVG.altGlyphItem.attlist "INCLUDE" >
398
<![%SVG.altGlyphItem.attlist;[
399
<!ATTLIST %SVG.altGlyphItem.qname;
400
    %SVG.Core.attrib;
401
>
402
<!-- end of SVG.altGlyphItem.attlist -->]]>
403

    
404
<!-- glyphRef: Glyph Reference Element ................. -->
405

    
406
<!ENTITY % SVG.glyphRef.element "INCLUDE" >
407
<![%SVG.glyphRef.element;[
408
<!ENTITY % SVG.glyphRef.content "EMPTY" >
409
<!ELEMENT %SVG.glyphRef.qname; %SVG.glyphRef.content; >
410
<!-- end of SVG.glyphRef.element -->]]>
411

    
412
<!ENTITY % SVG.glyphRef.attlist "INCLUDE" >
413
<![%SVG.glyphRef.attlist;[
414
<!ATTLIST %SVG.glyphRef.qname;
415
    %SVG.Core.attrib;
416
    %SVG.Style.attrib;
417
    %SVG.Font.attrib;
418
    %SVG.XLink.attrib;
419
    x %Number.datatype; #IMPLIED
420
    y %Number.datatype; #IMPLIED
421
    dx %Number.datatype; #IMPLIED
422
    dy %Number.datatype; #IMPLIED
423
    glyphRef CDATA #IMPLIED
424
    format CDATA #IMPLIED
425
>
426
<!-- end of SVG.glyphRef.attlist -->]]>
427

    
428
<!-- end of svg-text.mod -->
(38-38/54)