///
-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_;