]> git.lyx.org Git - lyx.git/blob - src/Sectioning.C
update no.po
[lyx.git] / src / Sectioning.C
1 #include <config.h>
2
3 #ifdef __GNUG__
4 #pragma implementation
5 #endif
6
7 #include "Sectioning.h"
8
9 string const & Section::name() const
10 {
11         return name_;
12 }
13
14
15 int Section::level() const
16 {
17         return level_;
18 }
19
20
21 string const & Section::indent() const
22 {
23         return indent_;
24 }
25
26
27 string const & Section::beforeskip() const
28 {
29         return beforeskip_;
30 }
31
32
33 string const & Section::afterskip() const
34 {
35         return afterskip_;
36 }
37
38
39 LyXFont const & Section::style() const
40 {
41         return style_;
42 }
43
44
45 bool Section::display() const
46 {
47         // If afterskip is negative it is a display section.
48         if (!afterskip_.empty() && afterskip_[0] == '-')
49                 return false;
50         return true;
51 }