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 *);
34 extern void lang(BufferView *, string const &);
36 extern void number(BufferView *);
38 extern void tex(BufferView *);
40 extern void changeDepth(BufferView *, LyXText *, int);
42 extern void code(BufferView *);
44 extern void sans(BufferView *);
46 extern void roman(BufferView *);
48 extern void styleReset(BufferView *);
50 extern void underline(BufferView *);
52 extern void fontSize(BufferView *, string const &);
53 /// Returns the current font and depth as a message.
54 extern string const currentState(BufferView *);
56 extern void toggleAndShow(BufferView *, LyXFont const &,
57 bool toggleall = true);