summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-07-12 12:15:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-07-12 12:15:33 (GMT)
commit5b735d5118581e3bca686f79de341b8b2e76691f (patch)
tree4448208ebb60ef4fdc3a41b83774565d532ab1c0 /src/definition.h
parentba30b13cfd4910a5913f080a039fc429ec8a7e3f (diff)
downloadDoxygen-5b735d5118581e3bca686f79de341b8b2e76691f.zip
Doxygen-5b735d5118581e3bca686f79de341b8b2e76691f.tar.gz
Doxygen-5b735d5118581e3bca686f79de341b8b2e76691f.tar.bz2
Enable in page table of contents for XML and add maximum level to in page table of contents
- add the in page table of contents for XML - add the possibility to have maximum levels in the in page table of contents (possible per output type and per in page table of contents. Default is show all)
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/definition.h b/src/definition.h
index a2b2983..c77474c 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -98,9 +98,11 @@ class Definition : public DefinitionIntf
};
enum outputLocalTocType {
- None = 0,
- Html = 0x01,
- Latex = 0x02
+ None = 0, // absolute value
+ Html = 0, // index / also to be used as (1 << Definition::Html)
+ Latex = 1, // ...
+ Xml = 2, // ...
+ numOutputLocalTocType = 3 // number of outputLocalTocType
};
/*! Create a new definition */
Definition(
@@ -280,6 +282,9 @@ class Definition : public DefinitionIntf
QCString id() const;
+ /** returns the section dictionary, only of importance for pagedef */
+ SectionDict * Definition::getSectionDict(void);
+
//-----------------------------------------------------------------------------------
// ---- setters -----
//-----------------------------------------------------------------------------------
@@ -351,7 +356,7 @@ class Definition : public DefinitionIntf
void setLocalName(const QCString name);
void addSectionsToIndex();
- void writeToc(OutputList &ol, int localToc);
+ void writeToc(OutputList &ol, int localToc, int *localTocLevel);
void setCookie(Cookie *cookie) { delete m_cookie; m_cookie = cookie; }
Cookie *cookie() const { return m_cookie; }