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