///
-class CharStyle {
-public:
- std::string name;
- std::string latextype;
- std::string latexname;
- std::string latexparam;
- Font font;
- Font labelfont;
- docstring preamble;
-};
-
-
class InsetLayout {
public:
+ std::string name;
+ std::string lyxtype;
docstring labelstring;
std::string latextype;
std::string latexname;
/// List of semantically defined character style insets
-typedef std::vector<CharStyle> CharStyles;
+typedef std::vector<InsetLayout> CharStyles;
/// List of inset layouts
typedef std::map<docstring, InsetLayout> InsetLayouts;
Font const & defaultfont() const;
/// Text that dictates how wide the left margin is on the screen
- std::string const & leftmargin() const;
+ docstring const & leftmargin() const;
/// Text that dictates how wide the right margin is on the screen
- std::string const & rightmargin() const;
+ docstring const & rightmargin() const;
/// The type of command used to produce a title
LYX_TITLE_LATEX_TYPES titletype() const;
*/
Font defaultfont_;
/// Text that dictates how wide the left margin is on the screen
- std::string leftmargin_;
+ docstring leftmargin_;
/// Text that dictates how wide the right margin is on the screen
- std::string rightmargin_;
+ docstring rightmargin_;
/// The type of command used to produce a title
LYX_TITLE_LATEX_TYPES titletype_;
boost::shared_ptr<FloatList> floatlist_;
/// Types of counters, eg. sections, eqns, figures, avail. in document class.
- boost::shared_ptr<Counters> ctrs_;
+ boost::shared_ptr<Counters> counters_;
/// Has this layout file been loaded yet?
mutable bool loaded_;