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/definition.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/definition.h')
-rw-r--r-- | src/definition.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/definition.h b/src/definition.h index d16c6b9..a2b2983 100644 --- a/src/definition.h +++ b/src/definition.h @@ -97,6 +97,11 @@ class Definition : public DefinitionIntf virtual ~Cookie() {} }; + enum outputLocalTocType { + None = 0, + Html = 0x01, + Latex = 0x02 + }; /*! Create a new definition */ Definition( const char *defFileName,int defLine,int defColumn, @@ -346,7 +351,7 @@ class Definition : public DefinitionIntf void setLocalName(const QCString name); void addSectionsToIndex(); - void writeToc(OutputList &ol); + void writeToc(OutputList &ol, int localToc); void setCookie(Cookie *cookie) { delete m_cookie; m_cookie = cookie; } Cookie *cookie() const { return m_cookie; } |