summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/definition.h2
-rw-r--r--testing/043/mypage.xml29
-rw-r--r--testing/043_page.dox2
3 files changed, 30 insertions, 3 deletions
diff --git a/src/definition.h b/src/definition.h
index c77474c..ac9cc56 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -283,7 +283,7 @@ class Definition : public DefinitionIntf
QCString id() const;
/** returns the section dictionary, only of importance for pagedef */
- SectionDict * Definition::getSectionDict(void);
+ SectionDict * getSectionDict(void);
//-----------------------------------------------------------------------------------
// ---- setters -----
diff --git a/testing/043/mypage.xml b/testing/043/mypage.xml
index 79fb7ae..c9bd6d0 100644
--- a/testing/043/mypage.xml
+++ b/testing/043/mypage.xml
@@ -4,7 +4,34 @@
<compoundname>mypage</compoundname>
<title>Page Title</title>
<innerpage refid="another">Another Page</innerpage>
- <tableofcontents/>
+ <tableofcontents>
+ <tocsect>
+ <name>Section Title.</name>
+ <reference>mypage_1mysect</reference>
+ <tableofcontents>
+ <tocsect>
+ <name>Subsection Title.</name>
+ <reference>mypage_1mysubsect</reference>
+ <tableofcontents>
+ <tocsect>
+ <name>Subsubsection Title.</name>
+ <reference>mypage_1mysubsubsect</reference>
+ <tableofcontents>
+ <tocsect>
+ <name>Paragraph Title.</name>
+ <reference>mypage_1mypara</reference>
+ </tocsect>
+ </tableofcontents>
+ </tocsect>
+ </tableofcontents>
+ </tocsect>
+ </tableofcontents>
+ </tocsect>
+ <tocsect>
+ <name>Another Section Title.</name>
+ <reference>mypage_1mysect2</reference>
+ </tocsect>
+ </tableofcontents>
<briefdescription>
<para>Page brief description. </para>
</briefdescription>
diff --git a/testing/043_page.dox b/testing/043_page.dox
index 38c1894..d554da2 100644
--- a/testing/043_page.dox
+++ b/testing/043_page.dox
@@ -4,7 +4,7 @@
/** \page mypage Page Title
* \brief Page brief description.
*
- * @tableofcontents
+ * @tableofcontents{xml,html,latex}
*
* Text at page level. See \ref mysect for more.
* \section mysect Section Title.