]> git.lyx.org Git - lyx.git/blob - src/lyx_cb.h
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / lyx_cb.h
1 // -*- C++ -*-
2 #ifndef LYX_CB_H
3 #define LYX_CB_H
4
5 #include "LString.h"
6 #include "lyxfont.h"
7
8 class BufferParams;
9 class BufferView;
10 class Combox;
11
12 ///
13 extern bool quitting;
14 ///
15 extern bool toggleall;
16
17 // When still false after reading lyxrc, warn user
18 //about failing \bind_file command. RVDK_PATCH_5
19 ///
20 extern bool BindFileSet;
21 ///
22 extern LyXFont const UserFreeFont(BufferParams const & params);
23 ///
24 void ShowMessage(Buffer const * buf,
25                  string const & msg1,
26                  string const & msg2 = string(),
27                  string const & msg3 = string(), int delay = 6);
28 ///
29 bool MenuWrite(BufferView * bv, Buffer * buffer);
30 ///
31 bool MenuWriteAs(BufferView * bv, Buffer * buffer);
32 ///
33 int MenuRunChktex(Buffer * buffer);
34 ///
35 void QuitLyX();
36 ///
37 void AutoSave(BufferView * bv);
38 ///
39 Buffer * NewLyxFile(string const & filename);
40 ///
41 void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
42 ///
43 void MenuInsertLabel(BufferView * bv, string const & arg);
44 ///
45 void LayoutsCB(int sel, void *, Combox *);
46 ///
47 void MenuLayoutCharacter();
48 ///
49 bool UpdateLayoutPreamble(BufferView * bv);
50 ///
51 void MenuLayoutPreamble();
52 ///
53 void MenuLayoutSave(BufferView * bv);
54 ///
55 LyXFont const UserFreeFont(BufferParams const & params);
56 ///
57 void Figure();
58 ///
59 void Reconfigure(BufferView * bv);
60
61         
62 #endif
63