diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-02-17 19:40:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-02-17 19:40:38 (GMT) |
commit | 712ab49d04f9fe525b8552f74945945347e3b553 (patch) | |
tree | c2ee5bb85f9acfb3caa8479c32b49a1bf03de752 /src/pagedef.cpp | |
parent | eba15fd2fe9a0b186fbf7b63d7eab729057c7f6b (diff) | |
download | Doxygen-712ab49d04f9fe525b8552f74945945347e3b553.zip Doxygen-712ab49d04f9fe525b8552f74945945347e3b553.tar.gz Doxygen-712ab49d04f9fe525b8552f74945945347e3b553.tar.bz2 |
Release-1.7.3-20110217
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r-- | src/pagedef.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp index 8563ec0..dc78179 100644 --- a/src/pagedef.cpp +++ b/src/pagedef.cpp @@ -102,6 +102,7 @@ void PageDef::writeDocumentation(OutputList &ol) } ol.endQuickIndices(); } + SectionInfo *si=Doxygen::sectionDict.find(name()); // save old generator state and write title only to Man generator ol.pushGeneratorState(); @@ -109,6 +110,11 @@ void PageDef::writeDocumentation(OutputList &ol) ol.disableAllBut(OutputGenerator::Man); ol.startTitleHead(pageName); ol.endTitleHead(pageName, pageName); + if (si) + { + ol.parseDoc(docFile(),docLine(),this,0,si->title,TRUE,FALSE,0,TRUE,FALSE); + ol.endSection(si->label,si->type); + } ol.popGeneratorState(); //2.} @@ -117,9 +123,8 @@ void PageDef::writeDocumentation(OutputList &ol) //2.{ ol.disable(OutputGenerator::Latex); ol.disable(OutputGenerator::RTF); - SectionInfo *si=0; - if (!title().isEmpty() && !name().isEmpty() && - (si=Doxygen::sectionDict.find(name()))!=0) + ol.disable(OutputGenerator::Man); + if (!title().isEmpty() && !name().isEmpty() && si!=0) { //ol.startSection(si->label,si->title,si->type); startTitle(ol,getOutputFileBase(),this); |