diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-05-17 20:19:03 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-05-17 20:19:03 (GMT) |
commit | 6e92a0d3db80c3d93a35efbe52d45c73b8303e45 (patch) | |
tree | 5c4df5008d6c8033ded1f60fbb87461e666c8f1c /src/filedef.cpp | |
parent | 53da67394cd52ea7301f306ad766107b38ffd2ae (diff) | |
download | Doxygen-6e92a0d3db80c3d93a35efbe52d45c73b8303e45.zip Doxygen-6e92a0d3db80c3d93a35efbe52d45c73b8303e45.tar.gz Doxygen-6e92a0d3db80c3d93a35efbe52d45c73b8303e45.tar.bz2 |
Release-1.3.7-20040517
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 0c00968..33c418c 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -235,28 +235,31 @@ void FileDef::writeDocumentation(OutputList &ol) << "</filename>" << endl; } - ol.startTextBlock(); if (Config_getBool("DETAILS_AT_TOP")) { + ol.startTextBlock(); writeDetailedDocumentation(ol); - ol.newParagraph(); + ol.endTextBlock(); } - else if (briefDescription()) + else if (!briefDescription().isEmpty()) { ol.parseDoc(briefFile(),briefLine(),this,0,briefDescription(),TRUE,FALSE); - ol.writeString(" \n"); + //ol.writeString(" \n"); ol.disableAllBut(OutputGenerator::Html); ol.startTextLink(0,"_details"); ol.parseText(theTranslator->trMore()); ol.endTextLink(); ol.enableAll(); + + ol.pushGeneratorState(); ol.disable(OutputGenerator::Man); + ol.disable(OutputGenerator::RTF); ol.newParagraph(); - ol.enable(OutputGenerator::Man); + ol.popGeneratorState(); } ol.writeSynopsis(); - if (Config_getBool("SHOW_INCLUDE_FILES")) + if (Config_getBool("SHOW_INCLUDE_FILES") && includeList->count()>0) { ol.startTextBlock(TRUE); QListIterator<IncludeInfo> ili(*includeList); @@ -323,12 +326,7 @@ void FileDef::writeDocumentation(OutputList &ol) if (isIDLorJava) ol.docify(";"); ol.endTypewriter(); - ol.disable(OutputGenerator::RTF); ol.lineBreak(); - ol.enableAll(); - ol.disableAllBut(OutputGenerator::RTF); - ol.newParagraph(); - ol.enableAll(); } ol.endTextBlock(); } @@ -339,12 +337,14 @@ void FileDef::writeDocumentation(OutputList &ol) DotInclDepGraph incDepGraph(this,Config_getInt("MAX_DOT_GRAPH_DEPTH"),FALSE); if (!incDepGraph.isTrivial()) { + ol.startTextBlock(); ol.disable(OutputGenerator::Man); ol.newParagraph(); ol.startInclDepGraph(); ol.parseText(theTranslator->trInclDepGraph(name())); ol.endInclDepGraph(incDepGraph); ol.enableAll(); + ol.endTextBlock(TRUE); } //incDepGraph.writeGraph(Config_getString("HTML_OUTPUT"),fd->getOutputFileBase()); } @@ -355,12 +355,14 @@ void FileDef::writeDocumentation(OutputList &ol) DotInclDepGraph incDepGraph(this,Config_getInt("MAX_DOT_GRAPH_DEPTH"),TRUE); if (!incDepGraph.isTrivial()) { + ol.startTextBlock(); ol.disable(OutputGenerator::Man); ol.newParagraph(); ol.startInclDepGraph(); ol.parseText(theTranslator->trInclByDepGraph()); ol.endInclDepGraph(incDepGraph); ol.enableAll(); + ol.endTextBlock(TRUE); } //incDepGraph.writeGraph(Config_getString("HTML_OUTPUT"),fd->getOutputFileBase()); } @@ -376,8 +378,6 @@ void FileDef::writeDocumentation(OutputList &ol) ol.enableAll(); } - ol.endTextBlock(); - ol.startMemberSections(); if (namespaceSDict->count()>0) |