summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-01-05 10:26:10 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-01-05 10:26:10 (GMT)
commita66e1ada3c7467e267ff39262178fa4577f0b6ab (patch)
treeee15d10d932fa1d21de3ebfcb445e2bd81b9f00b /src/htmlgen.h
parentff11b7d98ad7d24770afd151aa6b439adc7506d2 (diff)
downloadDoxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.zip
Doxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.tar.gz
Doxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.tar.bz2
Release-1.2.13.1
Diffstat (limited to 'src/htmlgen.h')
-rw-r--r--src/htmlgen.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/htmlgen.h b/src/htmlgen.h
index 387065e..33ff992 100644
--- a/src/htmlgen.h
+++ b/src/htmlgen.h
@@ -165,8 +165,14 @@ class HtmlGenerator : public OutputGenerator
void endSubscript() { t << "</sub>"; }
void startSuperscript() { t << "<sup>"; }
void endSuperscript() { t << "</sup>"; }
- void startTable(int) { t << "<table border=1 cellspacing=3 cellpadding=3>"; }
- void endTable() { t << "</table>" << endl; }
+ void startTable(bool,int)
+ { t << "<table border=1 cellspacing=3 cellpadding=3>"; }
+ void endTable(bool hasCaption)
+ { if (!hasCaption) t << "</tr>";
+ t << "</table>" << endl;
+ }
+ void startCaption() { t << "</tr><caption align=\"bottom\">"; }
+ void endCaption() { t << "</caption>" << endl; }
void nextTableRow() { t << "<tr><td>"; }
void endTableRow() { t << "</tr>" << endl; }
void nextTableColumn() { t << "<td>"; }