summaryrefslogtreecommitdiffstats
path: root/src/mandocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-04-13 19:01:22 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-04-13 19:01:22 (GMT)
commitf08c77a2ead21877f1cbd49a5b325ab7be0fc599 (patch)
tree17a9c5d727d7c9aee93cdd92b7f832a4a09c1b2a /src/mandocvisitor.cpp
parentcba24284923c7319c08926c3ba9cd20f3eee3fdf (diff)
downloadDoxygen-f08c77a2ead21877f1cbd49a5b325ab7be0fc599.zip
Doxygen-f08c77a2ead21877f1cbd49a5b325ab7be0fc599.tar.gz
Doxygen-f08c77a2ead21877f1cbd49a5b325ab7be0fc599.tar.bz2
Release-1.3.6-20040413
Diffstat (limited to 'src/mandocvisitor.cpp')
-rw-r--r--src/mandocvisitor.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mandocvisitor.cpp b/src/mandocvisitor.cpp
index 2345670..b560a27 100644
--- a/src/mandocvisitor.cpp
+++ b/src/mandocvisitor.cpp
@@ -25,6 +25,7 @@
#include "dot.h"
#include "util.h"
#include "message.h"
+#include <qfileinfo.h>
ManDocVisitor::ManDocVisitor(QTextStream &t,BaseCodeDocInterface &ci)
: DocVisitor(DocVisitor_Man), m_t(t), m_ci(ci), m_insidePre(FALSE), m_hide(FALSE), m_firstCol(TRUE),
@@ -220,6 +221,19 @@ void ManDocVisitor::visit(DocInclude *inc)
if (m_hide) return;
switch(inc->type())
{
+ case DocInclude::IncWithLines:
+ {
+ if (!m_firstCol) m_t << endl;
+ m_t << ".PP" << endl;
+ m_t << ".nf" << endl;
+ QFileInfo cfi( inc->file() );
+ FileDef fd( cfi.dirPath(), cfi.fileName() );
+ parseCode(m_ci,inc->context(),inc->text().latin1(),inc->isExample(),inc->exampleFile(), &fd);
+ if (!m_firstCol) m_t << endl;
+ m_t << ".PP" << endl;
+ m_firstCol=TRUE;
+ }
+ break;
case DocInclude::Include:
if (!m_firstCol) m_t << endl;
m_t << ".PP" << endl;