diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-06-23 09:46:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-06-23 09:46:45 (GMT) |
commit | 54bcd31ff103383c6c75ed87b00f846ec29b8040 (patch) | |
tree | c485ad24b61429cd10455b2d438236483a47c189 /src/memberdef.cpp | |
parent | f7c4c021594300b449c3991de8c0918ad7f965af (diff) | |
download | Doxygen-54bcd31ff103383c6c75ed87b00f846ec29b8040.zip Doxygen-54bcd31ff103383c6c75ed87b00f846ec29b8040.tar.gz Doxygen-54bcd31ff103383c6c75ed87b00f846ec29b8040.tar.bz2 |
Release-1.2.16-20020623
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index b43436b..99f9b4b 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -1221,9 +1221,7 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, if (docArgList && docArgList->hasDocumentation()) { //printf("***** argumentList is documented\n"); - ol.startParamList(BaseOutputDocInterface::Param); - parseText(ol,theTranslator->trParameters()+": "); - ol.endDescTitle(); + ol.startParamList(BaseOutputDocInterface::Param,theTranslator->trParameters()+": "); ol.writeDescItem(); ol.startDescTable(); ArgumentListIterator ali(*docArgList); @@ -1241,7 +1239,7 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, } } ol.endDescTable(); - ol.endDescList(); + ol.endParamList(); } if (isEnumerate()) @@ -1258,12 +1256,8 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, if (first) { //ol.newParagraph(); - ol.startDescList(BaseOutputDocInterface::EnumValues); - parseText(ol,theTranslator->trEnumerationValues()); - ol.docify(":"); - ol.endDescTitle(); + ol.startSimpleSect(BaseOutputDocInterface::EnumValues,0,0,theTranslator->trEnumerationValues()+": "); ol.writeDescItem(); - //ol.startItemList(); ol.startDescTable(); } @@ -1312,7 +1306,7 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, { //ol.endItemList(); ol.endDescTable(); - ol.endDescList(); + ol.endSimpleSect(); ol.writeChar('\n'); } } @@ -1457,14 +1451,11 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, // write the list of examples that use this member if (hasExamples()) { - ol.startDescList(BaseOutputDocInterface::Examples); - parseText(ol,theTranslator->trExamples()+": "); - //ol.writeBoldString("Examples: "); - ol.endDescTitle(); + ol.startSimpleSect(BaseOutputDocInterface::Examples,0,0,theTranslator->trExamples()+": "); ol.writeDescItem(); writeExample(ol,getExamples()); //ol.endDescItem(); - ol.endDescList(); + ol.endSimpleSect(); } // write reference to the source writeSourceDef(ol,cname); @@ -1472,6 +1463,10 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, writeSourceReffedBy(ol,cname); writeInlineCode(ol,cname); + ol.disableAllBut(OutputGenerator::RTF); + ol.newParagraph(); + ol.enableAll(); + ol.endIndent(); // enable LaTeX again //if (Config_getBool("EXTRACT_ALL") && !hasDocs) ol.enable(OutputGenerator::Latex); |