]> git.lyx.org Git - lyx.git/blob - src/bufferview_funcs.h
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / bufferview_funcs.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  * 
5  *           LyX, The Document Processor
6  *        
7  *           Copyright 1995 Matthias Ettrich
8  *           Copyright 1995-2000 The LyX Team.
9  *
10  * ====================================================== */
11
12 #ifndef BUFFERVIEW_FUNCS_H
13 #define BUFFERVIEW_FUNCS_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "LString.h"
20
21 class BufferView;
22 class LyXFont;
23 class LyXText;
24
25 #ifndef NEW_INSETS
26 ///
27 extern void Foot(BufferView *);
28 #endif
29 ///
30 extern void Emph(BufferView *);
31 ///
32 extern void Bold(BufferView *);
33 ///
34 extern void Noun(BufferView *);
35 #ifndef NEW_INSETS
36 ///
37 extern void Margin(BufferView *);
38 #endif
39 ///
40 extern void Figure();
41 ///
42 extern void Table();
43 ///
44 extern void Lang(BufferView *, string const &);
45 ///
46 extern void Number(BufferView *);
47 #ifndef NEW_INSETS
48 ///
49 extern void Melt(BufferView *);
50 #endif
51 ///
52 extern void Tex(BufferView *);
53 ///
54 extern void changeDepth(BufferView *, LyXText *, int);
55 ///
56 extern void ProhibitInput(BufferView *);
57 ///
58 extern void AllowInput(BufferView *);
59 ///
60 extern void Code(BufferView *);
61 ///
62 extern void Sans(BufferView *);
63 ///
64 extern void Roman(BufferView *);
65 ///
66 extern void StyleReset(BufferView *);
67 ///
68 extern void Underline(BufferView *);
69 ///
70 extern void FontSize(BufferView *, string const &);
71 /// Returns the current font and depth as a message. 
72 extern string const CurrentState(BufferView *);
73 ///
74 extern void ToggleAndShow(BufferView *, LyXFont const &, bool toggleall=true);
75 #endif