mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Move InsetLayout definition to insets/InsetLayout.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21502 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dec166d5e3
commit
b7cc721833
@ -517,6 +517,7 @@ liblyxinsets_la_SOURCES = \
|
||||
insets/InsetInfo.h \
|
||||
insets/InsetLabel.cpp \
|
||||
insets/InsetLabel.h \
|
||||
insets/InsetLayout.h \
|
||||
insets/InsetLine.cpp \
|
||||
insets/InsetLine.h \
|
||||
insets/InsetListings.h \
|
||||
|
@ -15,6 +15,8 @@
|
||||
#include "LayoutEnums.h"
|
||||
#include "LayoutPtr.h"
|
||||
|
||||
#include "insets/InsetLayout.h"
|
||||
|
||||
#include "support/docstring.h"
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
@ -32,30 +34,6 @@ class Lexer;
|
||||
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;
|
||||
|
||||
|
@ -15,8 +15,8 @@
|
||||
#define INSETCOLLAPSABLE_H
|
||||
|
||||
#include "Inset.h"
|
||||
#include "InsetLayout.h"
|
||||
#include "InsetText.h"
|
||||
#include "TextClass.h"
|
||||
|
||||
#include "Box.h"
|
||||
|
||||
|
44
src/insets/InsetLayout.h
Normal file
44
src/insets/InsetLayout.h
Normal file
@ -0,0 +1,44 @@
|
||||
// -*- 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
|
Loading…
Reference in New Issue
Block a user