diff options
author | Dennis Allerkamp <git@dennis-allerkamp.de> | 2016-09-24 13:11:27 (GMT) |
---|---|---|
committer | Dennis Allerkamp <git@dennis-allerkamp.de> | 2016-09-24 13:45:15 (GMT) |
commit | 84017cac3bc9d08aa95a90cf0e44b913c492c939 (patch) | |
tree | c766c7e356d9faaf6d0406727b73eb5080ef2a9c | |
parent | e12ec76f044b07d4e4fe167c93103be2879abaca (diff) | |
download | Doxygen-84017cac3bc9d08aa95a90cf0e44b913c492c939.zip Doxygen-84017cac3bc9d08aa95a90cf0e44b913c492c939.tar.gz Doxygen-84017cac3bc9d08aa95a90cf0e44b913c492c939.tar.bz2 |
New classes for generated HTML div elements.
Dot, Msc and Plantuml have their own classes for the generated div element.
-rw-r--r-- | src/htmldocvisitor.cpp | 6 | ||||
-rw-r--r-- | templates/html/doxygen.css | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index a42a8ec..d1fb06c 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -423,7 +423,7 @@ void HtmlDocVisitor::visit(DocVerbatim *s) file.writeBlock( s->text(), s->text().length() ); file.close(); - m_t << "<div align=\"center\">" << endl; + m_t << "<div class=\"dotgraph\">" << endl; writeDotFile(fileName,s->relPath(),s->context()); visitPreCaption(m_t, s); visitCaption(this, s->children()); @@ -460,7 +460,7 @@ void HtmlDocVisitor::visit(DocVerbatim *s) file.writeBlock( text, text.length() ); file.close(); - m_t << "<div align=\"center\">" << endl; + m_t << "<div class=\"mscgraph\">" << endl; writeMscFile(baseName+".msc",s->relPath(),s->context()); visitPreCaption(m_t, s); visitCaption(this, s->children()); @@ -478,7 +478,7 @@ void HtmlDocVisitor::visit(DocVerbatim *s) static QCString htmlOutput = Config_getString(HTML_OUTPUT); QCString baseName = writePlantUMLSource(htmlOutput,s->exampleFile(),s->text()); - m_t << "<div align=\"center\">" << endl; + m_t << "<div class=\"plantumlgraph\">" << endl; writePlantUMLFile(baseName,s->relPath(),s->context()); visitPreCaption(m_t, s); visitCaption(this, s->children()); diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css index 256c56b..6a6f1c8 100644 --- a/templates/html/doxygen.css +++ b/templates/html/doxygen.css @@ -1211,6 +1211,11 @@ dl.section dd { text-align: center; } +.plantumlgraph +{ + text-align: center; +} + .diagraph { text-align: center; |