summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-11-04 19:03:17 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-11-04 19:03:17 (GMT)
commit7f95c8f5a256da0fafba27d5188d700e3c118dd1 (patch)
tree8d5db673565aca95db666b5c91bda3e5d7f51efa /src/index.cpp
parent94dae6d432b60f047679ade65a31f55dfc1fb271 (diff)
downloadDoxygen-7f95c8f5a256da0fafba27d5188d700e3c118dd1.zip
Doxygen-7f95c8f5a256da0fafba27d5188d700e3c118dd1.tar.gz
Doxygen-7f95c8f5a256da0fafba27d5188d700e3c118dd1.tar.bz2
Release-1.2.11-20011104
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp32
1 files changed, 25 insertions, 7 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 3a9fa12..afcd154 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -2134,9 +2134,19 @@ void writePageIndex(OutputList &ol)
ftvHelp->incContentsDepth();
}
parseText(ol,theTranslator->trRelatedPagesDescription());
- //ol.newParagraph();
ol.endTextBlock();
- ol.startItemList();
+ {
+ // UGLY HACK!
+ ol.pushGeneratorState();
+ ol.disable(OutputGenerator::Man);
+ ol.disable(OutputGenerator::Html);
+ ol.startIndexList();
+ ol.enableAll();
+ ol.disable(OutputGenerator::Latex);
+ ol.disable(OutputGenerator::RTF);
+ ol.startItemList();
+ ol.popGeneratorState();
+ }
PageSDict::Iterator pdi(*Doxygen::pageSDict);
PageInfo *pi=0;
for (pdi.toFirst();(pi=pdi.current());++pdi)
@@ -2162,15 +2172,23 @@ void writePageIndex(OutputList &ol)
ol.docify(" [external]");
ol.endTypewriter();
}
- //ol.writeStartAnnoItem("pages",pageName,0,pageTitle);
- ////ol.writeObjectLink(0,pageName,0,pageTitle);
- //ol.writeEndAnnoItem(pageName);
ol.writeString("\n");
if (hasHtmlHelp) htmlHelp->addContentsItem(FALSE,pageTitle,pageName);
if (hasFtvHelp) ftvHelp->addContentsItem(FALSE,0,pageName,0,pageTitle);
}
}
- ol.endItemList();
+ {
+ // UGLY HACK!
+ ol.pushGeneratorState();
+ ol.disable(OutputGenerator::Man);
+ ol.disable(OutputGenerator::Html);
+ ol.endIndexList();
+ ol.enableAll();
+ ol.disable(OutputGenerator::Latex);
+ ol.disable(OutputGenerator::RTF);
+ ol.endItemList();
+ ol.popGeneratorState();
+ }
if (hasHtmlHelp)
{
htmlHelp->decContentsDepth();
@@ -2273,7 +2291,7 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd,bool subLevel)
htmlHelp->addContentsItem(isDir,gd->groupTitle(),gd->getOutputFileBase());
htmlHelp->incContentsDepth();
}
- if(ftvHelp)
+ if (ftvHelp)
{
ftvHelp->addContentsItem(isDir,gd->getReference(),gd->getOutputFileBase(),
0,gd->groupTitle());