mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 07:57:22 +00:00
e5d7d21ed7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@625 a592a061-630c-0410-9148-cb99ea01b6c8
52 lines
1008 B
C++
52 lines
1008 B
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"
|
|
|
|
class Painter;
|
|
|
|
/** A colapsable text inset
|
|
|
|
To write full ert (including styles and other insets) in a given
|
|
space.
|
|
*/
|
|
class InsetERT : public InsetCollapsable {
|
|
public:
|
|
///
|
|
InsetERT(Buffer *);
|
|
///
|
|
~InsetERT() {}
|
|
///
|
|
Inset * Clone() const;
|
|
///
|
|
void Write(ostream &) const;
|
|
///
|
|
const char * EditMessage() const { return _("Opened ERT Inset");}
|
|
///
|
|
bool InsertInset(BufferView *, Inset *);
|
|
///
|
|
void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
|
|
///
|
|
void Edit(BufferView *, int, int, unsigned int);
|
|
///
|
|
};
|
|
|
|
#endif
|