diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-01-07 17:28:47 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-01-07 17:28:47 (GMT) |
commit | eab6039875f05c8776119469fff0df8761b9b3a2 (patch) | |
tree | e0730802a8bb7eac348a5e39cffb88118aa42020 /src/rtfgen.cpp | |
parent | e4cebf12a245705a0ecb714cd3794750af9d0844 (diff) | |
download | Doxygen-eab6039875f05c8776119469fff0df8761b9b3a2.zip Doxygen-eab6039875f05c8776119469fff0df8761b9b3a2.tar.gz Doxygen-eab6039875f05c8776119469fff0df8761b9b3a2.tar.bz2 |
Release-1.2.4-20010107
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r-- | src/rtfgen.cpp | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 8a1dae2..b8d48ad 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2000 by Parker Waechter & Dimitri van Heesch. + * Copyright (C) 1997-2001 by Parker Waechter & Dimitri van Heesch. * * Style sheet additions by Alexander Bartolich * @@ -778,6 +778,10 @@ void RTFGenerator::startIndexSection(IndexSections is) //Introduction beginRTFChapter(); break; + case isPackageIndex: + //Package Index + beginRTFChapter(); + break; case isModuleIndex: //Module Index beginRTFChapter(); @@ -803,6 +807,21 @@ void RTFGenerator::startIndexSection(IndexSections is) //Related Page Index beginRTFChapter(); break; + case isPackageDocumentation: + { + //Package Documentation + PackageSDict::Iterator pdi(packageDict); + PackageDef *pd=pdi.toFirst(); + bool found=FALSE; + while (pd && !found) + { + beginRTFChapter(); + found=TRUE; + ++pdi; + pd=pdi.current(); + } + } + break; case isModuleDocumentation: { //Module Documentation @@ -932,6 +951,11 @@ void RTFGenerator::endIndexSection(IndexSections is) t << "{\\tc \\v " << theTranslator->trMainPage() << "}"<< endl; t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"index.rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; break; + case isPackageIndex: + t << "\\par " << Rtf_Style_Reset << endl; + t << "{\\tc \\v " << theTranslator->trPackageList() << "}"<< endl; + t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"packages.rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; + break; case isModuleIndex: t << "\\par " << Rtf_Style_Reset << endl; t << "{\\tc \\v " << theTranslator->trModuleIndex() << "}"<< endl; @@ -962,6 +986,22 @@ void RTFGenerator::endIndexSection(IndexSections is) t << "{\\tc \\v " << theTranslator->trPageIndex() << "}"<< endl; t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \"pages.rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; break; + case isPackageDocumentation: + { + PackageSDict::Iterator pdi(packageDict); + PackageDef *pd=pdi.toFirst(); + t << "{\\tc \\v " << theTranslator->trPackageDocumentation() << "}"<< endl; + while (pd) + { + t << "\\par " << Rtf_Style_Reset << endl; + t << "{\\field\\fldedit{\\*\\fldinst INCLUDETEXT \""; + t << pd->getOutputFileBase(); + t << ".rtf\" \\\\*MERGEFORMAT}{\\fldrslt includedstuff}}\n"; + ++pdi; + pd=pdi.current(); + } + } + break; case isModuleDocumentation: { GroupDef *gd=groupList.first(); |