2000-04-12 15:11:29 +00:00
|
|
|
// -*- C++ -*-
|
2000-07-24 13:53:19 +00:00
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright 1995 Matthias Ettrich
|
|
|
|
* Copyright 1995-2000 The LyX Team.
|
|
|
|
*
|
|
|
|
* ====================================================== */
|
|
|
|
|
2000-04-12 15:11:29 +00:00
|
|
|
#ifndef BUFFERVIEW_FUNCS_H
|
|
|
|
#define BUFFERVIEW_FUNCS_H
|
|
|
|
|
2000-07-24 13:53:19 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2000-04-12 15:11:29 +00:00
|
|
|
#include "LString.h"
|
|
|
|
|
|
|
|
class BufferView;
|
|
|
|
class LyXFont;
|
|
|
|
|
2000-07-19 17:16:27 +00:00
|
|
|
#ifndef NEW_INSETS
|
2000-04-12 15:11:29 +00:00
|
|
|
///
|
|
|
|
extern void Foot(BufferView *);
|
2000-07-19 17:16:27 +00:00
|
|
|
#endif
|
2000-04-12 15:11:29 +00:00
|
|
|
///
|
|
|
|
extern void Emph(BufferView *);
|
|
|
|
///
|
|
|
|
extern void Bold(BufferView *);
|
|
|
|
///
|
|
|
|
extern void Noun(BufferView *);
|
2000-07-19 17:16:27 +00:00
|
|
|
#ifndef NEW_INSETS
|
2000-04-12 15:11:29 +00:00
|
|
|
///
|
|
|
|
extern void Margin(BufferView *);
|
2000-07-19 17:16:27 +00:00
|
|
|
#endif
|
2000-04-12 15:11:29 +00:00
|
|
|
///
|
|
|
|
extern void Figure();
|
|
|
|
///
|
|
|
|
extern void Table();
|
|
|
|
///
|
|
|
|
extern void Lang(BufferView *, string const &);
|
2000-07-19 17:16:27 +00:00
|
|
|
#ifndef NEW_INSETS
|
2000-04-12 15:11:29 +00:00
|
|
|
///
|
|
|
|
extern void Melt(BufferView *);
|
2000-07-19 17:16:27 +00:00
|
|
|
#endif
|
2000-04-12 15:11:29 +00:00
|
|
|
///
|
|
|
|
extern void Tex(BufferView *);
|
|
|
|
///
|
|
|
|
extern void changeDepth(BufferView *, int);
|
|
|
|
///
|
|
|
|
extern void Free(BufferView *);
|
|
|
|
///
|
|
|
|
extern void ProhibitInput(BufferView *);
|
|
|
|
///
|
|
|
|
extern void AllowInput(BufferView *);
|
|
|
|
///
|
|
|
|
extern void Code(BufferView *);
|
|
|
|
///
|
|
|
|
extern void Sans(BufferView *);
|
|
|
|
///
|
|
|
|
extern void Roman(BufferView *);
|
|
|
|
///
|
|
|
|
extern void StyleReset(BufferView *);
|
|
|
|
///
|
|
|
|
extern void Underline(BufferView *);
|
|
|
|
///
|
|
|
|
extern void FontSize(BufferView *, string const &);
|
2000-07-20 13:07:12 +00:00
|
|
|
/// Returns the current font and depth as a message.
|
2000-04-12 15:11:29 +00:00
|
|
|
extern string CurrentState(BufferView *);
|
|
|
|
///
|
|
|
|
extern void ToggleAndShow(BufferView *, LyXFont const &);
|
|
|
|
#endif
|