]> git.lyx.org Git - lyx.git/blob - src/Sectioning.h
rename Inset to InsetOld
[lyx.git] / src / Sectioning.h
1 // -*- C++ -*-
2
3 #ifndef SECTIONING_H
4 #define SECTIONING_H
5
6 #include <map>
7
8 #include "LString.h"
9 #include "lyxfont.h"
10
11 ///
12 class Section {
13 public:
14         ///
15         string const & name() const;
16         ///
17         int level() const;
18         ///
19         string const & indent() const;
20         ///
21         string const & beforeskip() const;
22         ///
23         string const & afterskip() const;
24         ///
25         LyXFont const & style() const;
26         ///
27         bool display() const;
28 private:
29         ///
30         string name_;
31         ///
32         int level_;
33         ///
34         string indent_;
35         ///
36         string beforeskip_;
37         ///
38         string afterskip_;
39         ///
40         LyXFont style_;
41 };
42
43
44 ///
45 class SectioningList {
46 private:
47         ///
48         typedef std::map<string, Section> List_;
49         ///
50         List_ list_;
51 };
52
53 #endif