]> git.lyx.org Git - lyx.git/blob - src/bufferview_funcs.h
Patch from John (figinset) and Dekel (RTL and spellchecker)
[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
24 #ifndef NEW_INSETS
25 ///
26 extern void Foot(BufferView *);
27 #endif
28 ///
29 extern void Emph(BufferView *);
30 ///
31 extern void Bold(BufferView *);
32 ///
33 extern void Noun(BufferView *);
34 #ifndef NEW_INSETS
35 ///
36 extern void Margin(BufferView *);
37 #endif
38 ///
39 extern void Figure();
40 ///
41 extern void Table();
42 ///
43 extern void Lang(BufferView *, string const &);
44 ///
45 extern void Number(BufferView *);
46 #ifndef NEW_INSETS
47 ///
48 extern void Melt(BufferView *);
49 #endif
50 ///
51 extern void Tex(BufferView *);
52 ///
53 extern void changeDepth(BufferView *, int);
54 ///
55 extern void Free(BufferView *);
56 ///
57 extern void ProhibitInput(BufferView *);
58 ///
59 extern void AllowInput(BufferView *);
60 ///
61 extern void Code(BufferView *);
62 ///
63 extern void Sans(BufferView *);
64 ///
65 extern void Roman(BufferView *);
66 ///
67 extern void StyleReset(BufferView *);
68 ///
69 extern void Underline(BufferView *);
70 ///
71 extern void FontSize(BufferView *, string const &);
72 /// Returns the current font and depth as a message. 
73 extern string const CurrentState(BufferView *);
74 ///
75 extern void ToggleAndShow(BufferView *, LyXFont const &);
76 #endif