28 |
uml_directive.arguments = (1, 0, 0) |
uml_directive.arguments = (1, 0, 0) |
29 |
uml_directive.options = {'caption': docutils.parsers.rst.directives.unchanged, |
uml_directive.options = {'caption': docutils.parsers.rst.directives.unchanged, |
30 |
'width': docutils.parsers.rst.directives.unchanged, |
'width': docutils.parsers.rst.directives.unchanged, |
31 |
|
'alt': docutils.parsers.rst.directives.unchanged, |
32 |
|
'label': docutils.parsers.rst.directives.unchanged, |
33 |
} |
} |
34 |
uml_directive.content = 1 |
uml_directive.content = 1 |
35 |
|
|
66 |
#print trans |
#print trans |
67 |
src = trans+attributes['name']+"_gen.eps" |
src = trans+attributes['name']+"_gen.eps" |
68 |
options['uri'] = src |
options['uri'] = src |
69 |
options['alt'] = "UML: "+attributes['name'] |
if options.has_key('label'): options['alt'] = options['label'] |
70 |
|
if not options.has_key('alt'): options['alt'] = "UML: "+attributes['name'] |
71 |
options['_uml'] = attributes['name'] |
options['_uml'] = attributes['name'] |
72 |
uml_node = docutils.nodes.image(src, **options) |
uml_node = docutils.nodes.image(src, **options) |
73 |
|
|