lyx_mirror/src/insets/insetert.h

47 lines
934 B
C
Raw Normal View History

// -*- 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();
///
void Write(Buffer const * buf, std::ostream & os) const;
///
Inset * Clone(Buffer const &) const;
///
string const EditMessage() const;
///
bool InsertInset(BufferView *, Inset *) { return false; }
///
void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
///
void Edit(BufferView *, int, int, unsigned int);
};
#endif