From bfa67ad183425f467bc71a268c339b02faf5b0f3 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 7 Jul 2003 15:31:34 +0000 Subject: [PATCH] dtd/boostbook.dtd: - Parameters can now have elements - Add function specifiers xsl/function.xsl: - When needed, place function return type on a separate line - Format element for parameters - Use "spacing=boost" for variablelists used for function requirements xsl/doxygen/doxygen2boostbook.xsl: - Emit elements for parameters when available - Properly translate file descriptions [SVN r18963] --- dtd/boostbook.dtd | 5 +- xsl/doxygen/doxygen2boostbook.xsl | 70 +++++++++++++++- xsl/function.xsl | 128 +++++++++++++++++++----------- 3 files changed, 152 insertions(+), 51 deletions(-) diff --git a/dtd/boostbook.dtd b/dtd/boostbook.dtd index 240d996..1ed733f 100644 --- a/dtd/boostbook.dtd +++ b/dtd/boostbook.dtd @@ -211,7 +211,8 @@ @@ -370,7 +371,7 @@ - + diff --git a/xsl/doxygen/doxygen2boostbook.xsl b/xsl/doxygen/doxygen2boostbook.xsl index 123bb56..2214d93 100644 --- a/xsl/doxygen/doxygen2boostbook.xsl +++ b/xsl/doxygen/doxygen2boostbook.xsl @@ -267,8 +267,10 @@ Cannot handle compounddef with kind= string(compoundname))"/> - - + + + + + + + @@ -466,9 +471,15 @@ Cannot handle compounddef with kind= + + + + + + Cannot handle sectiondef with kind= @@ -532,6 +543,9 @@ Cannot handle sectiondef with kind= + + + Cannot handle memberdef element with kind= @@ -572,16 +586,42 @@ Cannot handle memberdef element with kind= - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -683,6 +723,30 @@ Cannot handle memberdef element with kind= + + + + + + + + + + static + + + mutable + + + + + + + + + + + diff --git a/xsl/function.xsl b/xsl/function.xsl index d331d4a..dd7bdcb 100644 --- a/xsl/function.xsl +++ b/xsl/function.xsl @@ -14,6 +14,13 @@ "standardese", for now --> compact + + 6 + @@ -56,6 +63,9 @@ + + + @@ -109,7 +119,8 @@ + (local-name(.)='signature' and (position() > 1)) + or $suppress-template"> @@ -120,7 +131,14 @@ - + + + 0 + + + + + @@ -156,40 +174,21 @@ - - - - - - - - - - - - - - - - - - - - - ( - + + + + - - - - ) - - - + + + + + + + + @@ -198,11 +197,13 @@ - - - - - + + + + + + + ( @@ -218,17 +219,35 @@ - + + ; - - - + + + + + + + + + + + + 0 + + + + + + + @@ -239,7 +258,7 @@ @@ -247,9 +266,9 @@ + ; - ; @@ -660,6 +679,23 @@ + + + + Parameters + + + + + + + + + + + + + @@ -715,7 +751,7 @@ - +