summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-08-04 20:55:47 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-08-04 20:55:47 (GMT)
commit2e2f09d60ce079a1fe283e47bcf023de01f051c5 (patch)
tree8e54169bc0b7214246ec4c1dfe3f58228ef12928 /src/xmlgen.cpp
parentadac91e9a353095c3bae4b580d27b7cfd8617493 (diff)
downloadDoxygen-2e2f09d60ce079a1fe283e47bcf023de01f051c5.zip
Doxygen-2e2f09d60ce079a1fe283e47bcf023de01f051c5.tar.gz
Doxygen-2e2f09d60ce079a1fe283e47bcf023de01f051c5.tar.bz2
Release-1.2.17-20020804
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp28
1 files changed, 24 insertions, 4 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 8d8f78f..0eb94d2 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -544,21 +544,33 @@ class XMLGenerator : public OutputDocInterface
docify(url);
m_t << "</email>";
}
- void startSection(const char *id,const char *,bool subsection)
+ void startSection(const char *id,const char *,SectionInfo::SectionType type)
{
XML_DB(("(startSection)\n"));
endParMode();
m_t << "<sect";
- if (subsection) m_t << "2"; else m_t << "1";
+ switch(type)
+ {
+ case SectionInfo::Page: m_t << "1"; break;
+ case SectionInfo::Section: m_t << "2"; break;
+ case SectionInfo::Subsection: m_t << "3"; break;
+ default: ASSERT(0); break;
+ }
m_t << " id=\"" << id << "\">";
startNestedPar();
m_inParStack.top() = TRUE;
}
- void endSection(const char *,bool subsection)
+ void endSection(const char *,SectionInfo::SectionType type)
{
XML_DB(("(endSection)\n"));
m_t << "</sect";
- if (subsection) m_t << "2"; else m_t << "1";
+ switch(type)
+ {
+ case SectionInfo::Page: m_t << "1"; break;
+ case SectionInfo::Section: m_t << "2"; break;
+ case SectionInfo::Subsection: m_t << "3"; break;
+ default: ASSERT(0); break;
+ }
m_t << ">";
m_inParStack.top() = FALSE;
endNestedPar();
@@ -875,6 +887,14 @@ class XMLGenerator : public OutputDocInterface
XML_DB(("(endLatexOnly)\n"));
m_t << "</latexonly>" << endl;
}
+ void startSectionRefList()
+ {
+ XML_DB(("(startSectionRefList)\n"));
+ }
+ void endSectionRefList()
+ {
+ XML_DB(("(endSectionRefList)\n"));
+ }
// Generator specific functions