diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-11-06 21:06:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-11-06 21:06:38 (GMT) |
commit | 4fbc34523cbbb9f6532b4113338ef59df193973f (patch) | |
tree | d2b3049367f2df643a3f305ecfcd739b426c3edc /src/mandocvisitor.cpp | |
parent | afc47efd97b995277e5635107b00001fc025cdff (diff) | |
download | Doxygen-4fbc34523cbbb9f6532b4113338ef59df193973f.zip Doxygen-4fbc34523cbbb9f6532b4113338ef59df193973f.tar.gz Doxygen-4fbc34523cbbb9f6532b4113338ef59df193973f.tar.bz2 |
Release-1.2.18-20021106
Diffstat (limited to 'src/mandocvisitor.cpp')
-rw-r--r-- | src/mandocvisitor.cpp | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/src/mandocvisitor.cpp b/src/mandocvisitor.cpp index edc7ede..c5b1230 100644 --- a/src/mandocvisitor.cpp +++ b/src/mandocvisitor.cpp @@ -151,6 +151,22 @@ void ManDocVisitor::visit(DocStyleChange *s) case DocStyleChange::Small: /* not supported */ break; + case DocStyleChange::Preformatted: + if (s->enable()) + { + if (!m_firstCol) m_t << endl; + m_t << ".PP" << endl; + m_t << ".nf" << endl; + m_insidePre=TRUE; + } + else + { + m_insidePre=FALSE; + if (!m_firstCol) m_t << endl; + m_t << ".PP" << endl; + m_firstCol=TRUE; + } + break; } } @@ -468,21 +484,21 @@ void ManDocVisitor::visitPost(DocHtmlListItem *) m_firstCol=TRUE; } -void ManDocVisitor::visitPre(DocHtmlPre *) -{ - if (!m_firstCol) m_t << endl; - m_t << ".PP" << endl; - m_t << ".nf" << endl; - m_insidePre=TRUE; -} - -void ManDocVisitor::visitPost(DocHtmlPre *) -{ - m_insidePre=FALSE; - if (!m_firstCol) m_t << endl; - m_t << ".PP" << endl; - m_firstCol=TRUE; -} +//void ManDocVisitor::visitPre(DocHtmlPre *) +//{ +// if (!m_firstCol) m_t << endl; +// m_t << ".PP" << endl; +// m_t << ".nf" << endl; +// m_insidePre=TRUE; +//} +// +//void ManDocVisitor::visitPost(DocHtmlPre *) +//{ +// m_insidePre=FALSE; +// if (!m_firstCol) m_t << endl; +// m_t << ".PP" << endl; +// m_firstCol=TRUE; +//} void ManDocVisitor::visitPre(DocHtmlDescList *) { |