LyX 1.6.0 release candidate 4 (rc4)
[lyx.git] / src / Section.h
blob0ccfc1cac648d6dcec74383f11957b52ddcf0190
1 // -*- C++ -*-
2 /**
3 * \file Section.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
12 #ifndef SECTION_H
13 #define SECTION_H
15 #include "Font.h"
17 #include <map>
20 namespace lyx {
23 ///
24 class Section {
25 public:
26 ///
27 std::string const & name() const;
28 ///
29 int level() const;
30 ///
31 std::string const & indent() const;
32 ///
33 std::string const & beforeskip() const;
34 ///
35 std::string const & afterskip() const;
36 ///
37 Font const & style() const;
38 ///
39 bool display() const;
40 private:
41 ///
42 std::string name_;
43 ///
44 int level_;
45 ///
46 std::string indent_;
47 ///
48 std::string beforeskip_;
49 ///
50 std::string afterskip_;
51 ///
52 Font style_;
56 ///
57 class SectioningList {
58 private:
59 ///
60 typedef std::map<std::string, Section> List_;
61 ///
62 List_ list_;
66 } // namespace lyx
68 #endif