diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-23 09:46:45 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-23 09:46:45 (GMT) |
commit | c454a5400393a54586d81517c42f7419b43b3f23 (patch) | |
tree | c485ad24b61429cd10455b2d438236483a47c189 /src/memberdef.cpp | |
parent | 784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca (diff) | |
download | Doxygen-c454a5400393a54586d81517c42f7419b43b3f23.zip Doxygen-c454a5400393a54586d81517c42f7419b43b3f23.tar.gz Doxygen-c454a5400393a54586d81517c42f7419b43b3f23.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); |