]> git.lyx.org Git - lyx.git/blob - src/Sectioning.h
Change the color of the background widget to red.
[lyx.git] / src / Sectioning.h
1 // -*- C++ -*-
2 /**
3  * \file Sectioning.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 SECTIONING_H
13 #define SECTIONING_H
14
15 #include "lyxfont.h"
16
17 #include <map>
18
19
20 ///
21 class Section {
22 public:
23         ///
24         std::string const & name() const;
25         ///
26         int level() const;
27         ///
28         std::string const & indent() const;
29         ///
30         std::string const & beforeskip() const;
31         ///
32         std::string const & afterskip() const;
33         ///
34         LyXFont const & style() const;
35         ///
36         bool display() const;
37 private:
38         ///
39         std::string name_;
40         ///
41         int level_;
42         ///
43         std::string indent_;
44         ///
45         std::string beforeskip_;
46         ///
47         std::string afterskip_;
48         ///
49         LyXFont style_;
50 };
51
52
53 ///
54 class SectioningList {
55 private:
56         ///
57         typedef std::map<std::string, Section> List_;
58         ///
59         List_ list_;
60 };
61
62 #endif