replace most &dquot;...&dquot; by <...>
[lyx.git] / src / Sectioning.C
blob42784cc1767d2f7c76ebf131292d4d2b5f3e6ae5
1 /**
2  * \file Sectioning.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Lars Gullik Bjønnes
7  *
8  * Full author contact details are available in file CREDITS.
9  */
11 #include <config.h>
13 #include "Sectioning.h"
15 string const & Section::name() const
17         return name_;
21 int Section::level() const
23         return level_;
27 string const & Section::indent() const
29         return indent_;
33 string const & Section::beforeskip() const
35         return beforeskip_;
39 string const & Section::afterskip() const
41         return afterskip_;
45 LyXFont const & Section::style() const
47         return style_;
51 bool Section::display() const
53         // If afterskip is negative it is a display section.
54         if (!afterskip_.empty() && afterskip_[0] == '-')
55                 return false;
56         return true;