]> git.lyx.org Git - lyx.git/blob - src/Section.h
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / src / Section.h
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.
6  *
7  * \author Lars Gullik Bjønnes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef SECTION_H
13 #define SECTION_H
14
15 #include "Font.h"
16
17 #include <map>
18
19
20 namespace lyx {
21
22
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_;
53 };
54
55
56 ///
57 class SectioningList {
58 private:
59         ///
60         typedef std::map<std::string, Section> List_;
61         ///
62         List_ list_;
63 };
64
65
66 } // namespace lyx
67
68 #endif