diff options
author | albert-github <albert.tests@gmail.com> | 2018-05-21 09:37:42 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-05-21 09:37:42 (GMT) |
commit | ba30b13cfd4910a5913f080a039fc429ec8a7e3f (patch) | |
tree | 21a3f69741314fdb29dc076c11b83d9e1e27788d /src/pagedef.h | |
parent | df0d9c3df44dbce633c38e99d33be4de06706f7b (diff) | |
download | Doxygen-ba30b13cfd4910a5913f080a039fc429ec8a7e3f.zip Doxygen-ba30b13cfd4910a5913f080a039fc429ec8a7e3f.tar.gz Doxygen-ba30b13cfd4910a5913f080a039fc429ec8a7e3f.tar.bz2 |
Enable in page table of contents for LaTeX
currently the \tableofcontents command is only supported for HTML.
In this patch:
- enable in page table of contents for LaTeX: \tableofcontents['{'[option][,option]*'}']
where option can be 'HTML, and 'LaTeX'
(side effect: possibility to have options with, nearly, all commands.)
Diffstat (limited to 'src/pagedef.h')
-rw-r--r-- | src/pagedef.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pagedef.h b/src/pagedef.h index 41b84cb..2f34c5f 100644 --- a/src/pagedef.h +++ b/src/pagedef.h @@ -34,7 +34,7 @@ class PageDef : public Definition // setters void setFileName(const char *name); - void setShowToc(bool b); + void setShowToc(int b); // getters DefType definitionType() const { return TypePage; } @@ -59,7 +59,7 @@ class PageDef : public Definition bool documentedPage() const; bool hasSubPages() const; bool hasParentPage() const; - bool showToc() const { return m_showToc; } + int showToc() const { return m_showToc; } void setPageScope(Definition *d){ m_pageScope = d; } Definition *getPageScope() const { return m_pageScope; } QCString displayName(bool=TRUE) const { return !m_title.isEmpty() ? m_title : Definition::name(); } @@ -75,7 +75,7 @@ class PageDef : public Definition PageSDict *m_subPageDict; // list of pages in the group Definition *m_pageScope; int m_nestingLevel; - bool m_showToc; + int m_showToc; }; class PageSDict : public SDict<PageDef> |