+ enum ERTStatus {
+ Open,
+ Collapsed,
+ Inlined
+ };
+ ///
+ InsetERT(bool collapsed=false);
+ ///
+ InsetERT(InsetERT const &, bool same_id = false);
+ ///
+ Inset * clone(Buffer const &, bool same_id = false) const;
+ ///
+ InsetERT(string const & contents, bool collapsed);
+ ///
+ ~InsetERT();
+ ///
+ Inset::Code lyxCode() const { return Inset::ERT_CODE; }
+ ///
+ void read(Buffer const * buf, LyXLex & lex);
+ ///
+ void write(Buffer const * buf, std::ostream & os) const;
+ ///
+ string const editMessage() const;
+ ///
+ bool insertInset(BufferView *, Inset *);
+ ///
+ bool insetAllowed(Inset::Code) const { return false; }
+ ///
+ void setFont(BufferView *, LyXFont const &,
+ bool toggleall = false, bool selectall = false);
+ ///
+ void edit(BufferView *, int, int, unsigned int);
+ ///
+ void edit(BufferView * bv, bool front = true);
+ ///
+ EDITABLE editable() const;
+ ///
+ SigC::Signal0<void> hideDialog;
+ ///
+ void insetButtonPress(BufferView *, int x, int y, int button);
+ ///
+ bool insetButtonRelease(BufferView * bv, int x, int y, int button);
+ ///
+ void insetMotionNotify(BufferView *, int x, int y, int state);
+ ///
+ int latex(Buffer const *, std::ostream &, bool fragile,
+ bool free_spc) const;