191 msg("Generating dependency graph for directory %s\n",displayName().data()); |
191 msg("Generating dependency graph for directory %s\n",displayName().data()); |
192 ol.disable(OutputGenerator::Man); |
192 ol.disable(OutputGenerator::Man); |
193 ol.startParagraph(); |
193 ol.startParagraph(); |
194 ol.startDirDepGraph(); |
194 ol.startDirDepGraph(); |
195 //TODO: ol.parseText(theTranslator->trDirDepGraph()); |
195 //TODO: ol.parseText(theTranslator->trDirDepGraph()); |
|
196 ol.parseText((QCString)"Directory dependency graph for "+displayName()+":"); |
196 ol.endDirDepGraph(dirDep); |
197 ol.endDirDepGraph(dirDep); |
197 ol.endParagraph(); |
198 ol.endParagraph(); |
198 ol.enableAll(); |
199 ol.enableAll(); |
199 } |
200 } |
200 } |
201 } |
203 void DirDef::writeSubDirList(OutputList &ol) |
204 void DirDef::writeSubDirList(OutputList &ol) |
204 { |
205 { |
205 // write subdir list |
206 // write subdir list |
206 if (m_subdirs.count()>0) |
207 if (m_subdirs.count()>0) |
207 { |
208 { |
208 ol.startMemberHeader(); |
209 ol.startMemberHeader("subdirs"); |
209 ol.parseText(theTranslator->trDir(TRUE,FALSE)); |
210 ol.parseText(theTranslator->trDir(TRUE,FALSE)); |
210 ol.endMemberHeader(); |
211 ol.endMemberHeader(); |
211 ol.startMemberList(); |
212 ol.startMemberList(); |
212 DirDef *dd=m_subdirs.first(); |
213 DirDef *dd=m_subdirs.first(); |
213 while (dd) |
214 while (dd) |
245 void DirDef::writeFileList(OutputList &ol) |
246 void DirDef::writeFileList(OutputList &ol) |
246 { |
247 { |
247 // write file list |
248 // write file list |
248 if (m_fileList->count()>0) |
249 if (m_fileList->count()>0) |
249 { |
250 { |
250 ol.startMemberHeader(); |
251 ol.startMemberHeader("files"); |
251 ol.parseText(theTranslator->trFile(TRUE,FALSE)); |
252 ol.parseText(theTranslator->trFile(TRUE,FALSE)); |
252 ol.endMemberHeader(); |
253 ol.endMemberHeader(); |
253 ol.startMemberList(); |
254 ol.startMemberList(); |
254 FileDef *fd=m_fileList->first(); |
255 FileDef *fd=m_fileList->first(); |
255 while (fd) |
256 while (fd) |
324 |
325 |
325 // write navigation path |
326 // write navigation path |
326 writeNavigationPath(ol); |
327 writeNavigationPath(ol); |
327 |
328 |
328 ol.endQuickIndices(); |
329 ol.endQuickIndices(); |
329 ol.startContents(); |
|
330 |
330 |
331 startTitle(ol,getOutputFileBase()); |
331 startTitle(ol,getOutputFileBase()); |
332 ol.pushGeneratorState(); |
332 ol.pushGeneratorState(); |
333 ol.disableAllBut(OutputGenerator::Html); |
333 ol.disableAllBut(OutputGenerator::Html); |
334 ol.parseText(shortTitle); |
334 ol.parseText(shortTitle); |
335 ol.enableAll(); |
335 ol.enableAll(); |
336 ol.disable(OutputGenerator::Html); |
336 ol.disable(OutputGenerator::Html); |
337 ol.parseText(title); |
337 ol.parseText(title); |
338 ol.popGeneratorState(); |
338 ol.popGeneratorState(); |
339 endTitle(ol,getOutputFileBase(),title); |
339 endTitle(ol,getOutputFileBase(),title); |
|
340 ol.startContents(); |
340 |
341 |
341 if (!Config_getString("GENERATE_TAGFILE").isEmpty()) |
342 if (!Config_getString("GENERATE_TAGFILE").isEmpty()) |
342 { |
343 { |
343 Doxygen::tagFile << " <compound kind=\"dir\">" << endl; |
344 Doxygen::tagFile << " <compound kind=\"dir\">" << endl; |
344 Doxygen::tagFile << " <name>" << convertToXML(displayName()) << "</name>" << endl; |
345 Doxygen::tagFile << " <name>" << convertToXML(displayName()) << "</name>" << endl; |
710 m_dst->dir()->shortName()); |
711 m_dst->dir()->shortName()); |
711 startFile(ol,getOutputFileBase(),getOutputFileBase(),title); |
712 startFile(ol,getOutputFileBase(),getOutputFileBase(),title); |
712 |
713 |
713 // write navigation path |
714 // write navigation path |
714 m_src->writeNavigationPath(ol); |
715 m_src->writeNavigationPath(ol); |
|
716 ol.startContents(); |
715 |
717 |
716 //startTitle(ol,getOutputFileBase()); |
718 //startTitle(ol,getOutputFileBase()); |
717 // ol.parseText(shortTitle); |
719 // ol.parseText(shortTitle); |
718 //endTitle(ol,getOutputFileBase(),title); |
720 //endTitle(ol,getOutputFileBase(),title); |
719 ol.writeString("<h3>"+shortTitle+"</h3>"); |
721 ol.writeString("<h3>"+shortTitle+"</h3>"); |
720 |
722 |
721 ol.writeString("<table class=\"dirtab\">"); |
723 ol.writeString("<table class=\"dirtab\">"); |
722 ol.writeString("<tr class=\"dirtab\">"); |
724 ol.writeString("<tr class=\"dirtab\">"); |
723 // TODO: translate me! "File in %s" |
725 // TODO: translate me! "File in %s" |
724 ol.writeString("<th class=\"dirtab\">File in "); |
726 ol.writeString("<th class=\"dirtab\">"); |
725 m_src->writePathFragment(ol); |
727 ol.parseText(theTranslator->trFileIn(m_src->pathFragment())); |
|
728 //m_src->writePathFragment(ol); |
726 ol.writeString("</th>"); |
729 ol.writeString("</th>"); |
727 // TODO: translate me! "Includes file in %s" |
730 // TODO: translate me! "Includes file in %s" |
728 ol.writeString("<th class=\"dirtab\">Includes file in "); |
731 ol.writeString("<th class=\"dirtab\">"); |
729 m_dst->dir()->writePathFragment(ol); |
732 //ol.writeString("Includes file in "); |
|
733 //m_dst->dir()->writePathFragment(ol); |
|
734 ol.parseText(theTranslator->trIncludesFileIn(m_dst->dir()->pathFragment())); |
730 ol.writeString("</th>"); |
735 ol.writeString("</th>"); |
731 ol.writeString("</tr>"); |
736 ol.writeString("</tr>"); |
732 |
737 |
733 SDict<FilePair>::Iterator fpi(m_dst->filePairs()); |
738 SDict<FilePair>::Iterator fpi(m_dst->filePairs()); |
734 FilePair *fp; |
739 FilePair *fp; |