lyx_mirror/src/insets/InsetLayout.h
Jean-Marc Lasgouttes 11bea5a763 Use a set<string> instead of a vecctor<string> for list of features. This
allows to simplify the code to some extent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22734 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-01 15:12:04 +00:00

49 lines
836 B
C++

// -*- C++ -*-
/**
* \file InsetLayout.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* Full author contact details are available in file CREDITS.
*/
#ifndef INSET_LAYOUT_H
#define INSET_LAYOUT_H
#include "ColorCode.h"
#include "FontInfo.h"
#include "support/docstring.h"
#include <set>
#include <string>
namespace lyx {
///
class InsetLayout {
public:
std::string name;
std::string lyxtype;
docstring labelstring;
std::string decoration;
std::string latextype;
std::string latexname;
std::string latexparam;
FontInfo font;
FontInfo labelfont;
ColorCode bgcolor;
std::string preamble;
std::set<std::string> requires;
bool multipar;
bool passthru;
bool needprotect;
bool freespacing;
bool keepempty;
bool forceltr;
};
} // namespace lyx
#endif