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
22 extern void emph(BufferView *);
24 extern void bold(BufferView *);
26 extern void noun(BufferView *);
28 extern void lang(BufferView *, string const &);
30 extern void number(BufferView *);
32 extern void tex(BufferView *);
34 extern void changeDepth(BufferView *, LyXText *, int);
36 extern void code(BufferView *);
38 extern void sans(BufferView *);
40 extern void roman(BufferView *);
42 extern void styleReset(BufferView *);
44 extern void underline(BufferView *);
46 extern void fontSize(BufferView *, string const &);
47 /// Returns the current font and depth as a message.
48 extern string const currentState(BufferView *);
50 extern void toggleAndShow(BufferView *, LyXFont const &,
51 bool toggleall = true);