mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
797d87b451
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@956 a592a061-630c-0410-9148-cb99ea01b6c8
58 lines
691 B
C++
58 lines
691 B
C++
// -*- C++ -*-
|
|
|
|
#ifndef SECTIONING_H
|
|
#define SECTIONING_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include <map>
|
|
|
|
#include "LString.h"
|
|
#include "lyxfont.h"
|
|
|
|
///
|
|
class Section {
|
|
public:
|
|
///
|
|
string const & name() const;
|
|
///
|
|
int level() const;
|
|
///
|
|
string const & indent() const;
|
|
///
|
|
string const & beforeskip() const;
|
|
///
|
|
string const & afterskip() const;
|
|
///
|
|
LyXFont const & style() const;
|
|
///
|
|
bool display() const;
|
|
private:
|
|
///
|
|
string name_;
|
|
///
|
|
int level_;
|
|
///
|
|
string indent_;
|
|
///
|
|
string beforeskip_;
|
|
///
|
|
string afterskip_;
|
|
///
|
|
LyXFont style_;
|
|
};
|
|
|
|
|
|
///
|
|
class SectioningList {
|
|
private:
|
|
///
|
|
typedef std::map<string, Section> List_;
|
|
///
|
|
List_ list_;
|
|
};
|
|
|
|
#endif
|