69 |
69 |
70 void PageDef::writeDocumentation(OutputList &ol) |
70 void PageDef::writeDocumentation(OutputList &ol) |
71 { |
71 { |
72 //outputList->disable(OutputGenerator::Man); |
72 //outputList->disable(OutputGenerator::Man); |
73 QCString pageName; |
73 QCString pageName; |
74 pageName=escapeCharsInString(name(),FALSE); |
74 pageName=escapeCharsInString(name(),FALSE,TRUE); |
75 |
75 |
76 startFile(ol,pageName,pageName,title(),HLI_Pages,TRUE); |
76 startFile(ol,getOutputFileBase(),pageName,title(),HLI_Pages,TRUE); |
77 |
77 |
78 ol.pushGeneratorState(); |
78 ol.pushGeneratorState(); |
79 //1.{ |
79 //1.{ |
80 |
80 |
81 if (m_nestingLevel>0 |
81 if (m_nestingLevel>0 |
112 //2.{ |
111 //2.{ |
113 ol.disable(OutputGenerator::Latex); |
112 ol.disable(OutputGenerator::Latex); |
114 ol.disable(OutputGenerator::RTF); |
113 ol.disable(OutputGenerator::RTF); |
115 SectionInfo *si=0; |
114 SectionInfo *si=0; |
116 if (!title().isEmpty() && !name().isEmpty() && |
115 if (!title().isEmpty() && !name().isEmpty() && |
117 (si=Doxygen::sectionDict.find(pageName))!=0) |
116 (si=Doxygen::sectionDict.find(name()))!=0) |
118 { |
117 { |
119 ol.startSection(si->label,si->title,si->type); |
118 //ol.startSection(si->label,si->title,si->type); |
|
119 startTitle(ol,getOutputFileBase(),this); |
120 ol.parseDoc(docFile(),docLine(),this,0,si->title,TRUE,FALSE,0,TRUE,FALSE); |
120 ol.parseDoc(docFile(),docLine(),this,0,si->title,TRUE,FALSE,0,TRUE,FALSE); |
121 //stringToSearchIndex(getOutputFileBase(), |
121 //stringToSearchIndex(getOutputFileBase(), |
122 // theTranslator->trPage(TRUE,TRUE)+" "+si->title, |
122 // theTranslator->trPage(TRUE,TRUE)+" "+si->title, |
123 // si->title); |
123 // si->title); |
124 ol.endSection(si->label,si->type); |
124 //ol.endSection(si->label,si->type); |
125 } |
125 endTitle(ol,getOutputFileBase(),name()); |
|
126 } |
|
127 ol.startContents(); |
126 ol.popGeneratorState(); |
128 ol.popGeneratorState(); |
127 //2.} |
129 //2.} |
128 |
130 |
129 writePageDocumentation(ol); |
131 writePageDocumentation(ol); |
130 |
132 |