185 |
def embed_implicit(oldpath, name, path): |
def embed_implicit(oldpath, name, path): |
186 |
"""Terrible kludge to embed named diagram into path document |
"""Terrible kludge to embed named diagram into path document |
187 |
with correct imagemap.""" |
with correct imagemap.""" |
|
#global settings |
|
188 |
#correcting relative paths |
#correcting relative paths |
189 |
path = path.replace(settings['to_javadoc'], |
path = path.replace(settings['to_javadoc'], |
190 |
settings['javadoc']) |
settings['javadoc']) |
194 |
if slash != -1: |
if slash != -1: |
195 |
path = (oldpath[0:slash+1] + path).replace("//", "/") |
path = (oldpath[0:slash+1] + path).replace("//", "/") |
196 |
|
|
197 |
#umltool_backup = settings.copy() |
settings2 = settings.resist() |
|
settings2 = settings.copy() |
|
198 |
|
|
199 |
umltool.set_transition_paths(path) |
umltool.set_transition_paths(path) |
200 |
slash = oldpath.rfind("/") |
slash = oldpath.rfind("/") |
258 |
html = html[insert+5:len(html)] |
html = html[insert+5:len(html)] |
259 |
out.write(html) |
out.write(html) |
260 |
out.close() |
out.close() |
|
|
|
|
#umltool.settings = umltool_backup |
|
|
#settings = mputils_backup |
|