summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.h
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:37:58 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:37:58 (GMT)
commit5576fbf6d0a8baa16fa65a37a172543397ee950a (patch)
treeb859924ab8503fed25bbfbc7ea96b72b9dee34b0 /src/htmlgen.h
parentd4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b (diff)
downloadDoxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.zip
Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.tar.gz
Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.tar.bz2
mods for doxygen-0.49-991106
Diffstat (limited to 'src/htmlgen.h')
-rw-r--r--src/htmlgen.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/htmlgen.h b/src/htmlgen.h
index 01d8903..a639156 100644
--- a/src/htmlgen.h
+++ b/src/htmlgen.h
@@ -77,7 +77,7 @@ class HtmlGenerator : public OutputGenerator
const char *anchor,const char *name);
void writeCodeLink(const char *ref,const char *f,
const char *anchor,const char *name)
- { writeObjectLink(ref,f,anchor,name); }
+ { writeObjectLink(ref,f,anchor,name); col+=strlen(name); }
void startTextLink(const char *file,const char *anchor);
void endTextLink();
void writeHtmlLink(const char *url,const char *text);
@@ -107,7 +107,9 @@ class HtmlGenerator : public OutputGenerator
void writeAnchor(const char *name)
{ t << "<a name=\"" << name <<"\"></a>"; }
void startCodeFragment() { t << "<div class=\"fragment\"><pre>"; }
- void endCodeFragment() { t << "</pre></div>"; }
+ void endCodeFragment() { t << "</div></pre>"; }
+ void startCodeLine() { col=0; }
+ void endCodeLine() { codify("\n"); }
void writeBoldString(const char *text)
{ t << "<b>"; docify(text); t << "</b>"; }
void startEmphasis() { t << "<em>"; }
@@ -127,6 +129,8 @@ class HtmlGenerator : public OutputGenerator
void startDoxyAnchor(const char *fName,const char *clName,
const char *anchor,const char *name);
void endDoxyAnchor();
+ void startCodeAnchor(const char *label) { t << "<a name=\"" << label << "\">"; }
+ void endCodeAnchor() { t << "</a>"; }
void writeLatexSpacing() {}
//void writeLatexLabel(const char *,const char *) {}
void writeStartAnnoItem(const char *type,const char *file,
@@ -181,6 +185,18 @@ class HtmlGenerator : public OutputGenerator
void writeNonBreakableSpace() { t << "&nbsp;&nbsp;&nbsp;"; }
void writeImage(const char *,const char *,const char *);
+ void startDescTable()
+ { t << "<table border=0 cellspacing=2 cellpadding=0>" << endl; }
+ void endDescTable()
+ { t << "</table>" << endl; }
+ void startDescTableTitle()
+ { t << "<tr><td valign=top>"; }
+ void endDescTableTitle()
+ { t << endl << "&nbsp;</td>"; }
+ void startDescTableData()
+ { t << "<td>" << endl; }
+ void endDescTableData()
+ { t << "</td></tr>" << endl; }
//static void docifyStatic(QTextStream &t,const char *str);
private:
@@ -193,6 +209,7 @@ class HtmlGenerator : public OutputGenerator
HtmlGenerator(const HtmlGenerator &g);
static HtmlHelp *htmlHelp;
+ int col;
};
#endif