2000-02-25 12:06:15 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
2000-02-25 13:35:38 +00:00
|
|
|
* Copyright 1998 The LyX Team.
|
2000-02-25 12:06:15 +00:00
|
|
|
*
|
|
|
|
*======================================================
|
|
|
|
*/
|
|
|
|
// The pristine updatable inset: Text
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef INSETERT_H
|
|
|
|
#define INSETERT_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2000-03-08 13:52:57 +00:00
|
|
|
#include "insetcollapsable.h"
|
2000-02-25 12:06:15 +00:00
|
|
|
|
|
|
|
/** A colapsable text inset
|
|
|
|
|
|
|
|
To write full ert (including styles and other insets) in a given
|
|
|
|
space.
|
|
|
|
*/
|
2000-03-08 13:52:57 +00:00
|
|
|
class InsetERT : public InsetCollapsable {
|
2000-02-25 12:06:15 +00:00
|
|
|
public:
|
2000-06-28 13:35:52 +00:00
|
|
|
///
|
|
|
|
InsetERT();
|
|
|
|
///
|
2000-06-28 14:55:57 +00:00
|
|
|
void Write(Buffer const * buf, std::ostream & os) const;
|
2000-06-28 13:35:52 +00:00
|
|
|
///
|
|
|
|
Inset * Clone() const;
|
|
|
|
///
|
2000-09-14 17:53:12 +00:00
|
|
|
string const EditMessage() const;
|
2000-06-28 13:35:52 +00:00
|
|
|
///
|
2000-07-04 19:16:35 +00:00
|
|
|
bool InsertInset(BufferView *, Inset *) { return false; }
|
2000-06-28 13:35:52 +00:00
|
|
|
///
|
|
|
|
void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
|
|
|
|
///
|
|
|
|
void Edit(BufferView *, int, int, unsigned int);
|
2000-02-25 12:06:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|