diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-06-06 19:49:53 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-06-06 19:49:53 (GMT) |
commit | 0bb78ec1f61b95b550b65361081c01a104728341 (patch) | |
tree | b158d4e26359c261b119f485d1d4c69a6034663c /src/latexdocvisitor.cpp | |
parent | 3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68 (diff) | |
download | Doxygen-0bb78ec1f61b95b550b65361081c01a104728341.zip Doxygen-0bb78ec1f61b95b550b65361081c01a104728341.tar.gz Doxygen-0bb78ec1f61b95b550b65361081c01a104728341.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 *) |