diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-03-28 14:10:48 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-03-28 14:10:48 (GMT) |
commit | 145b564516f82be1bb4cc5a82277e7c9d10ca5ca (patch) | |
tree | 586c86db1de8495083071cb415bddb31c7e9cacb /src/rtfdocvisitor.cpp | |
parent | 62d4d65ad07413ca2f6d04939e2273dc3e0db957 (diff) | |
download | Doxygen-145b564516f82be1bb4cc5a82277e7c9d10ca5ca.zip Doxygen-145b564516f82be1bb4cc5a82277e7c9d10ca5ca.tar.gz Doxygen-145b564516f82be1bb4cc5a82277e7c9d10ca5ca.tar.bz2 |
Release-1.7.4
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r-- | src/rtfdocvisitor.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 3cb0b58..cee9828 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -750,6 +750,8 @@ void RTFDocVisitor::visitPre(DocSection *s) if (m_hide) return; DBG_RTF("{\\comment RTFDocVisitor::visitPre(DocSection)}\n"); if (!m_lastIsPara) m_t << "\\par" << endl; + m_t << "{\\bkmkstart " << rtfFormatBmkStr(s->file()+"_"+s->anchor()) << "}" << endl; + m_t << "{\\bkmkend " << rtfFormatBmkStr(s->file()+"_"+s->anchor()) << "}" << endl; m_t << "{{" // start section << rtf_Style_Reset; QCString heading; @@ -1084,7 +1086,7 @@ void RTFDocVisitor::visitPost(DocDotFile *) } void RTFDocVisitor::visitPre(DocMscFile *df) { - DBG_RTF("{\\comment RTFDocVisitor::visitPre(MscDotFile)}\n"); + DBG_RTF("{\\comment RTFDocVisitor::visitPre(DocMscFile)}\n"); writeMscFile(df->file()); // hide caption since it is not supported at the moment @@ -1094,7 +1096,7 @@ void RTFDocVisitor::visitPre(DocMscFile *df) void RTFDocVisitor::visitPost(DocMscFile *) { - DBG_RTF("{\\comment RTFDocVisitor::visitPost(MscDotFile)}\n"); + DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocMscFile)}\n"); popEnabled(); } @@ -1125,7 +1127,7 @@ void RTFDocVisitor::visitPost(DocRef *ref) if (m_hide) return; DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocRef)}\n"); if (!ref->file().isEmpty()) endLink(ref->ref()); - m_t << " "; + //m_t << " "; } |