lyx_mirror/src/Sectioning.C
Lars Gullik Bjønnes 8283e978f8 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00

52 lines
629 B
C

#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Sectioning.h"
string const & Section::name() const
{
return name_;
}
int Section::level() const
{
return level_;
}
string const & Section::indent() const
{
return indent_;
}
string const & Section::beforeskip() const
{
return beforeskip_;
}
string const & Section::afterskip() const
{
return afterskip_;
}
LyXFont const & Section::style() const
{
return style_;
}
bool Section::display() const
{
// If afterskip is negative it is a display section.
if (!afterskip_.empty() && afterskip_[0] == '-')
return false;
return true;
}