diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-10-04 19:49:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-04 19:49:01 (GMT) |
commit | 8074d26746e58056b8aa1444439368b038f1dcd7 (patch) | |
tree | 2cf2529883bb10360b7570532a13b6bb274bd43b | |
parent | 5f6ab79b8388054c26facc7fbea1d089451c87fd (diff) | |
parent | 84017cac3bc9d08aa95a90cf0e44b913c492c939 (diff) | |
download | Doxygen-8074d26746e58056b8aa1444439368b038f1dcd7.zip Doxygen-8074d26746e58056b8aa1444439368b038f1dcd7.tar.gz Doxygen-8074d26746e58056b8aa1444439368b038f1dcd7.tar.bz2 |
Merge pull request #529 from dallerk/plantuml_css
New classes for generated HTML div elements.
-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; |