diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-03-16 22:09:59 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-03-16 22:09:59 (GMT) |
commit | f630007a569f8342ada7b2ecf06692353ddbce3c (patch) | |
tree | 087be77a871260c8a278c994394567a146fb25b8 /src/rtfgen.cpp | |
parent | fb91b752942b81dac21be5ad18bcb09fbafa711b (diff) | |
download | Doxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.zip Doxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.tar.gz Doxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.tar.bz2 |
Release-1.5.5-20080316
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r-- | src/rtfgen.cpp | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 79e2fec..9634acc 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -39,8 +39,8 @@ #include "dirdef.h" #include "vhdldocgen.h" -//#define DBG_RTF(x) x; -#define DBG_RTF(x) +#define DBG_RTF(x) x; +//#define DBG_RTF(x) static QCString dateToRTFDateString() { @@ -515,6 +515,10 @@ void RTFGenerator::startIndexSection(IndexSections is) { //Page Documentation beginRTFChapter(); + } + break; + case isPageDocumentation2: + { t << "{\\tc \\v "; } break; @@ -833,7 +837,7 @@ void RTFGenerator::endIndexSection(IndexSections is) { //#error "fix me in the same way as the latex index..." //t << "{\\tc \\v " << theTranslator->trPageDocumentation() << "}"<< endl; - t << "}"<< endl; + //t << "}"<< endl; //PageSDict::Iterator pdi(*Doxygen::pageSDict); //PageDef *pd=pdi.toFirst(); //bool first=TRUE; @@ -850,6 +854,12 @@ void RTFGenerator::endIndexSection(IndexSections is) //} } break; + case isPageDocumentation2: + { + t << "}"; + t << "\\par " << rtf_Style_Reset << endl; + } + break; case isEndIndex: beginRTFChapter(); t << rtf_Style["Heading1"]->reference; @@ -1607,8 +1617,9 @@ void RTFGenerator::startSection(const char *,const char *title,SectionInfo::Sect void RTFGenerator::endSection(const char *lab,SectionInfo::SectionType) { DBG_RTF(t << "{\\comment (endSection)}" << endl) - newParagraph(); // make bookmark + m_omitParagraph=FALSE; + newParagraph(); writeAnchor(0,lab); t << "}"; } @@ -1813,7 +1824,7 @@ void RTFGenerator::writeAnchor(const char *fileName,const char *name) anchor+=name; } - DBG_RTF(t <<"{\\comment writeAncheor (" << anchor << ")}" << endl) + DBG_RTF(t <<"{\\comment writeAnchor (" << anchor << ")}" << endl) t << "{\\bkmkstart " << rtfFormatBmkStr(anchor) << "}" << endl; t << "{\\bkmkend " << rtfFormatBmkStr(anchor) << "}" << endl; } |