diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-02-15 20:03:34 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-02-15 20:03:34 (GMT) |
commit | 397fa609f53790f008f33d8ce4e6e26bce3c1279 (patch) | |
tree | 50b1099761af52d0ca94caec83c8ff3a08efb753 /src/membergroup.cpp | |
parent | 19119105076ca1b361b11b49df61050879c1e054 (diff) | |
download | Doxygen-397fa609f53790f008f33d8ce4e6e26bce3c1279.zip Doxygen-397fa609f53790f008f33d8ce4e6e26bce3c1279.tar.gz Doxygen-397fa609f53790f008f33d8ce4e6e26bce3c1279.tar.bz2 |
Upgrade to 1.1.0
Diffstat (limited to 'src/membergroup.cpp')
-rw-r--r-- | src/membergroup.cpp | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/membergroup.cpp b/src/membergroup.cpp index a20f7a2..8f0bb91 100644 --- a/src/membergroup.cpp +++ b/src/membergroup.cpp @@ -2,7 +2,7 @@ * * $Id$ * - * Copyright (C) 1997-1999 by Dimitri van Heesch. + * Copyright (C) 1997-2000 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -76,15 +76,18 @@ void MemberGroup::writeDocumentation(OutputList &ol) ol.writeString(" \n"); if (!documentation().isEmpty() || Config::repeatBriefFlag) { - bool htmlEnabled = ol.isEnabled(OutputGenerator::Html); - bool latexEnabled = ol.isEnabled(OutputGenerator::Latex); - if (htmlEnabled) ol.disable(OutputGenerator::Html); - if (latexEnabled) ol.disable(OutputGenerator::Latex); + //bool htmlEnabled = ol.isEnabled(OutputGenerator::Html); + //bool latexEnabled = ol.isEnabled(OutputGenerator::Latex); + //if (htmlEnabled) ol.disable(OutputGenerator::Html); + //if (latexEnabled) ol.disable(OutputGenerator::Latex); + ol.pushGeneratorState(); + ol.disableAllBut(OutputGenerator::Html); ol.startTextLink(0,"_details"); parseText(ol,theTranslator->trMore()); ol.endTextLink(); - if (htmlEnabled) ol.enable(OutputGenerator::Html); - if (latexEnabled) ol.enable(OutputGenerator::Latex); + ol.popGeneratorState(); + //if (htmlEnabled) ol.enable(OutputGenerator::Html); + //if (latexEnabled) ol.enable(OutputGenerator::Latex); } } // TODO: man page synopsis @@ -138,10 +141,13 @@ void MemberGroup::writeDocumentation(OutputList &ol) !documentation().isEmpty()) { ol.writeRuler(); - bool latexOn = ol.isEnabled(OutputGenerator::Latex); - if (latexOn) ol.disable(OutputGenerator::Latex); + //bool latexOn = ol.isEnabled(OutputGenerator::Latex); + //if (latexOn) ol.disable(OutputGenerator::Latex); + ol.pushGeneratorState(); + ol.disableAllBut(OutputGenerator::Html); ol.writeAnchor("_details"); - if (latexOn) ol.enable(OutputGenerator::Latex); + //if (latexOn) ol.enable(OutputGenerator::Latex); + ol.popGeneratorState(); ol.startGroupHeader(); parseText(ol,theTranslator->trDetailedDescription()); ol.endGroupHeader(); |