summaryrefslogtreecommitdiffstats
path: root/src/htmldocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-27 09:33:01 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2018-12-27 09:33:01 (GMT)
commit26821747c837df5c015c03382a3ca08a9e113977 (patch)
treeea39b19a255be0dbe7976409cfd9c2b989019721 /src/htmldocvisitor.cpp
parentcdf3cdb1ccf408fde0256cbbb10f09cf9436b5bb (diff)
parent756d8b203b67f3ab38f7d148794bb94175a064a7 (diff)
downloadDoxygen-26821747c837df5c015c03382a3ca08a9e113977.zip
Doxygen-26821747c837df5c015c03382a3ca08a9e113977.tar.gz
Doxygen-26821747c837df5c015c03382a3ca08a9e113977.tar.bz2
Merge branch 'run_java_once_3rd_trial' of https://github.com/cheoljoo/doxygen into cheoljoo-run_java_once_3rd_trial
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r--src/htmldocvisitor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp
index 6386cb8..996b5c4 100644
--- a/src/htmldocvisitor.cpp
+++ b/src/htmldocvisitor.cpp
@@ -590,7 +590,10 @@ void HtmlDocVisitor::visit(DocVerbatim *s)
forceEndParagraph(s);
static QCString htmlOutput = Config_getString(HTML_OUTPUT);
- QCString baseName = writePlantUMLSource(htmlOutput,s->exampleFile(),s->text());
+ QCString imgExt = getDotImageExtension();
+ PlantUMLOutputFormat format = PUML_BITMAP; // default : PUML_BITMAP
+ if (imgExt=="svg"){ format = PUML_SVG; }
+ QCString baseName = writePlantUMLSource(htmlOutput,s->exampleFile(),s->text(),format);
m_t << "<div class=\"plantumlgraph\">" << endl;
writePlantUMLFile(baseName,s->relPath(),s->context());
visitPreCaption(m_t, s);