insets/InsetInfo.h \
insets/InsetLabel.cpp \
insets/InsetLabel.h \
+ insets/InsetLayout.h \
insets/InsetLine.cpp \
insets/InsetLine.h \
insets/InsetListings.h \
#include "LayoutEnums.h"
#include "LayoutPtr.h"
+#include "insets/InsetLayout.h"
+
#include "support/docstring.h"
#include <boost/shared_ptr.hpp>
class Counters;
class FloatList;
-
-///
-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;
- bool multipar;
- bool passthru;
- bool needprotect;
- bool freespacing;
- bool keepempty;
- bool forceltr;
-};
-
-
/// List of inset layouts
typedef std::map<docstring, InsetLayout> InsetLayouts;
#define INSETCOLLAPSABLE_H
#include "Inset.h"
+#include "InsetLayout.h"
#include "InsetText.h"
-#include "TextClass.h"
#include "Box.h"
--- /dev/null
+// -*- 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"
+
+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;
+ bool multipar;
+ bool passthru;
+ bool needprotect;
+ bool freespacing;
+ bool keepempty;
+ bool forceltr;
+};
+
+} // namespace lyx
+
+#endif