diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-11-06 21:06:38 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-11-06 21:06:38 (GMT) |
commit | c400bd439b3df09704e33df382ed7b08f80dd8ed (patch) | |
tree | d2b3049367f2df643a3f305ecfcd739b426c3edc /src/printdocvisitor.h | |
parent | c6d6555a949e86be5c859311eb4db5dcc092c258 (diff) | |
download | Doxygen-c400bd439b3df09704e33df382ed7b08f80dd8ed.zip Doxygen-c400bd439b3df09704e33df382ed7b08f80dd8ed.tar.gz Doxygen-c400bd439b3df09704e33df382ed7b08f80dd8ed.tar.bz2 |
Release-1.2.18-20021106
Diffstat (limited to 'src/printdocvisitor.h')
-rw-r--r-- | src/printdocvisitor.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/src/printdocvisitor.h b/src/printdocvisitor.h index 7d7c102..de53e8a 100644 --- a/src/printdocvisitor.h +++ b/src/printdocvisitor.h @@ -121,6 +121,9 @@ class PrintDocVisitor : public DocVisitor case DocStyleChange::Small: if (s->enable()) printf("<small>"); else printf("</small>"); break; + case DocStyleChange::Preformatted: + if (s->enable()) printf("<pre>"); else printf("</pre>"); + break; } } void visit(DocVerbatim *s) @@ -330,18 +333,18 @@ class PrintDocVisitor : public DocVisitor indent_post(); printf("</li>\n"); } - void visitPre(DocHtmlPre *) - { - indent_pre(); - printf("<pre>\n"); - m_insidePre=TRUE; - } - void visitPost(DocHtmlPre *) - { - m_insidePre=FALSE; - indent_post(); - printf("</pre>\n"); - } + //void visitPre(DocHtmlPre *) + //{ + // indent_pre(); + // printf("<pre>\n"); + // m_insidePre=TRUE; + //} + //void visitPost(DocHtmlPre *) + //{ + // m_insidePre=FALSE; + // indent_post(); + // printf("</pre>\n"); + //} void visitPre(DocHtmlDescList *) { indent_pre(); |