/[gzz]/gzz/metacode/umlrst.py
ViewVC logotype

Diff of /gzz/metacode/umlrst.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by humppake, Tue Feb 11 13:26:47 2003 UTC revision 1.36 by humppake, Tue Feb 11 16:06:11 2003 UTC
# Line 28  def __rst_init__(): Line 28  def __rst_init__():
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    
# Line 64  def uml_directive(name, arguments, optio Line 66  def uml_directive(name, arguments, optio
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    

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26