diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-06-06 19:49:53 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-06-06 19:49:53 (GMT) |
commit | de297f6d77f3861b649f3fcba443483d6be6afe9 (patch) | |
tree | b158d4e26359c261b119f485d1d4c69a6034663c /src/latexdocvisitor.cpp | |
parent | c604d141eb8b0708022a3e4b48b0b1871b692aa6 (diff) | |
download | Doxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.zip Doxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.tar.gz Doxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.tar.bz2 |
Release-1.7.4-20110606
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index 6d53f37..7885d82 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -393,11 +393,11 @@ void LatexDocVisitor::visit(DocVerbatim *s) void LatexDocVisitor::visit(DocAnchor *anc) { if (m_hide) return; - m_t << "\\label{" << anc->file() << "_" << anc->anchor() << "}" << endl; + m_t << "\\label{" << anc->file() << "_" << anc->anchor() << "}%" << endl; if (!anc->file().isEmpty() && Config_getBool("PDF_HYPERLINKS")) { m_t << "\\hypertarget{" << anc->file() << "_" << anc->anchor() - << "}{}" << endl; + << "}{}%" << endl; } } @@ -601,6 +601,10 @@ void LatexDocVisitor::visitPre(DocSimpleSect *s) m_t << "\\begin{DoxyPostcond}{"; filter(theTranslator->trPostcondition()); break; + case DocSimpleSect::Copyright: + m_t << "\\begin{DoxyCopyright}{"; + filter("Copyright" /*TODO: theTranslator->trCopyright()*/); + break; case DocSimpleSect::Invar: m_t << "\\begin{DoxyInvariant}{"; filter(theTranslator->trInvariant()); @@ -671,6 +675,9 @@ void LatexDocVisitor::visitPost(DocSimpleSect *s) case DocSimpleSect::Post: m_t << "\n\\end{DoxyPostcond}\n"; break; + case DocSimpleSect::Copyright: + m_t << "\n\\end{DoxyCopyright}\n"; + break; case DocSimpleSect::Invar: m_t << "\n\\end{DoxyInvariant}\n"; break; @@ -780,16 +787,32 @@ void LatexDocVisitor::visitPost(DocHtmlListItem *) // m_t << "\\end{alltt}\\normalsize " << endl; //} -void LatexDocVisitor::visitPre(DocHtmlDescList *) +void LatexDocVisitor::visitPre(DocHtmlDescList *dl) { if (m_hide) return; - m_t << "\n\\begin{DoxyDescription}"; + QCString val = dl->attribs().find("class"); + if (val=="reflist") + { + m_t << "\n\\begin{DoxyRefList}"; + } + else + { + m_t << "\n\\begin{DoxyDescription}"; + } } -void LatexDocVisitor::visitPost(DocHtmlDescList *) +void LatexDocVisitor::visitPost(DocHtmlDescList *dl) { if (m_hide) return; - m_t << "\n\\end{DoxyDescription}"; + QCString val = dl->attribs().find("class"); + if (val=="reflist") + { + m_t << "\n\\end{DoxyRefList}"; + } + else + { + m_t << "\n\\end{DoxyDescription}"; + } } void LatexDocVisitor::visitPre(DocHtmlDescTitle *) |