diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-04-13 19:01:22 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-04-13 19:01:22 (GMT) |
commit | f08c77a2ead21877f1cbd49a5b325ab7be0fc599 (patch) | |
tree | 17a9c5d727d7c9aee93cdd92b7f832a4a09c1b2a /src/latexdocvisitor.cpp | |
parent | cba24284923c7319c08926c3ba9cd20f3eee3fdf (diff) | |
download | Doxygen-f08c77a2ead21877f1cbd49a5b325ab7be0fc599.zip Doxygen-f08c77a2ead21877f1cbd49a5b325ab7be0fc599.tar.gz Doxygen-f08c77a2ead21877f1cbd49a5b325ab7be0fc599.tar.bz2 |
Release-1.3.6-20040413
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index 0cb1bae..0da3849 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -15,7 +15,7 @@ * input used in their production; they are not affected by this license. * */ - +#include <qfileinfo.h> #include "latexdocvisitor.h" #include "docparser.h" #include "language.h" @@ -308,6 +308,15 @@ void LatexDocVisitor::visit(DocInclude *inc) if (m_hide) return; switch(inc->type()) { + case DocInclude::IncWithLines: + { + m_t << "\n\n\\footnotesize\\begin{verbatim}"; + QFileInfo cfi( inc->file() ); + FileDef fd( cfi.dirPath(), cfi.fileName() ); + parseCode(m_ci,inc->context(),inc->text().latin1(),inc->isExample(),inc->exampleFile(), &fd); + m_t << "\\end{verbatim}\n\\normalsize" << endl; + } + break; case DocInclude::Include: m_t << "\n\n\\footnotesize\\begin{verbatim}"; parseCode(m_ci,inc->context(),inc->text().latin1(),inc->isExample(),inc->exampleFile()); |