Permalink
Browse files

New classes for generated HTML div elements.

Dot, Msc and Plantuml have their own classes for the generated div element.
  • Loading branch information...
Dennis Allerkamp
Dennis Allerkamp committed Sep 24, 2016
1 parent e12ec76 commit 84017cac3bc9d08aa95a90cf0e44b913c492c939
Showing with 8 additions and 3 deletions.
  1. +3 −3 src/htmldocvisitor.cpp
  2. +5 −0 templates/html/doxygen.css
View
@@ -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());
@@ -1211,6 +1211,11 @@ dl.section dd {
text-align: center;
}
.plantumlgraph
{
text-align: center;
}
.diagraph
{
text-align: center;

0 comments on commit 84017ca

Please sign in to comment.