lyx_mirror/src/insets/insetert.h
Lars Gullik Bjønnes 85a5ea7bfc change a lot of methods to begin with small char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00

58 lines
1.3 KiB
C++

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1998 The LyX Team.
*
*======================================================
*/
// The pristine updatable inset: Text
#ifndef INSETERT_H
#define INSETERT_H
#ifdef __GNUG__
#pragma interface
#endif
#include "insetcollapsable.h"
/** A colapsable text inset
To write full ert (including styles and other insets) in a given
space.
*/
class InsetERT : public InsetCollapsable {
public:
///
InsetERT();
///
virtual void write(Buffer const * buf, std::ostream & os) const;
///
virtual Inset * clone(Buffer const &) const;
///
virtual string const editMessage() const;
///
virtual bool insertInset(BufferView *, Inset *);
///
virtual void setFont(BufferView *, LyXFont const &,
bool toggleall = false, bool selectall = false);
///
virtual void edit(BufferView *, int, int, unsigned int);
///
virtual int latex(Buffer const *, std::ostream &, bool fragile,
bool free_spc) const;
///
virtual int ascii(Buffer const *,
std::ostream &, int linelen = 0) const;
///
virtual int linuxdoc(Buffer const *, std::ostream &) const;
///
virtual int docBook(Buffer const *, std::ostream &) const;
};
#endif