2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998 The LyX Team.
9 *======================================================
11 // The pristine updatable inset: Text
21 #include "insetcollapsable.h"
23 /** A colapsable text inset
25 To write full ert (including styles and other insets) in a given
28 class InsetERT : public InsetCollapsable {
33 virtual void write(Buffer const * buf, std::ostream & os) const;
35 virtual Inset * clone(Buffer const &, bool same_id = false) const;
37 virtual string const editMessage() const;
39 virtual bool insertInset(BufferView *, Inset *);
41 virtual void setFont(BufferView *, LyXFont const &,
42 bool toggleall = false, bool selectall = false);
44 virtual void edit(BufferView *, int, int, unsigned int);
46 virtual int latex(Buffer const *, std::ostream &, bool fragile,
49 virtual int ascii(Buffer const *,
50 std::ostream &, int linelen = 0) const;
52 virtual int linuxdoc(Buffer const *, std::ostream &) const;
54 virtual int docBook(Buffer const *, std::ostream &) const;