///
lyx::docstring const & endlabelstring() const { return endlabelstring_; }
///
- std::string const & preamble() const { return preamble_; }
+ docstring const & preamble() const { return preamble_; }
///
std::string const & latexparam() const { return latexparam_; }
///
bool free_spacing;
///
bool pass_thru;
- ///
+ /**
+ * Whether this layout was declared with "Environment xxx" as opposed
+ * to "Style xxx". This is part of some unfinished generic environment
+ * handling (see also InsetEnvironment) started by Andre. No layout
+ * that is shipped with LyX has this flag set.
+ * Don't confuse this with isEnvironment()!
+ */
bool is_environment;
/// show this in toc
int toclevel;
/// Internal tag to surround the item text in a list)
std::string itemtag_;
/// Macro definitions needed for this layout
- std::string preamble_;
+ docstring preamble_;
};