2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2001 The LyX Team.
10 * ====================================================== */
12 #ifndef BUFFERVIEW_FUNCS_H
13 #define BUFFERVIEW_FUNCS_H
26 extern void Emph(BufferView *);
28 extern void Bold(BufferView *);
30 extern void Noun(BufferView *);
36 extern void Lang(BufferView *, string const &);
38 extern void Number(BufferView *);
40 extern void Tex(BufferView *);
42 extern void changeDepth(BufferView *, LyXText *, int);
44 extern void ProhibitInput(BufferView *);
46 extern void AllowInput(BufferView *);
48 extern void Code(BufferView *);
50 extern void Sans(BufferView *);
52 extern void Roman(BufferView *);
54 extern void StyleReset(BufferView *);
56 extern void Underline(BufferView *);
58 extern void FontSize(BufferView *, string const &);
59 /// Returns the current font and depth as a message.
60 extern string const CurrentState(BufferView *);
62 extern void ToggleAndShow(BufferView *, LyXFont const &, bool toggleall=true);