#include "lyxlayout_ptr_fwd.h"
+namespace lyx {
+
class InsetEnvironment : public InsetText {
public:
///
///
InsetBase::Code lyxCode() const { return InsetBase::ENVIRONMENT_CODE; }
///
- int latex(Buffer const &, std::ostream &,
+ int latex(Buffer const &, odocstream &,
OutputParams const &) const;
///
- std::string const editMessage() const;
+ virtual docstring const editMessage() const;
///
InsetBase::EDITABLE editable() const { return HIGHLY_EDITABLE; }
///
- bool isTextInset() const { return true; }
- ///
LyXLayout_ptr const & layout() const;
/** returns true if, when outputing LaTeX, font changes should
- be closed before generating this inset. This is needed for
- insets that may contain several paragraphs */
+ be closed before generating this inset. This is needed for
+ insets that may contain several paragraphs */
bool noFontChange() const { return true; }
protected:
InsetEnvironment(InsetEnvironment const &);
LyXLayout_ptr layout_;
};
+
+} // namespace lyx
+
#endif