lyx_mirror/src/Sectioning.h

69 lines
948 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file Sectioning.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bj<EFBFBD>nnes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef SECTIONING_H
#define SECTIONING_H
#include "lyxfont.h"
#include <map>
namespace lyx {
///
class Section {
public:
///
std::string const & name() const;
///
int level() const;
///
std::string const & indent() const;
///
std::string const & beforeskip() const;
///
std::string const & afterskip() const;
///
LyXFont const & style() const;
///
bool display() const;
private:
///
std::string name_;
///
int level_;
///
std::string indent_;
///
std::string beforeskip_;
///
std::string afterskip_;
///
LyXFont style_;
};
///
class SectioningList {
private:
///
typedef std::map<std::string, Section> List_;
///
List_ list_;
};
} // namespace lyx
#endif