3 * \file ControlTexinfo.h
4 * See the file COPYING.
8 * Full author contact details are available in file CREDITS
11 #ifndef CONTROLTEXINFO_H
12 #define CONTROLTEXINFO_H
18 #include "ControlDialog_impl.h"
21 /** A controller for Texinfo dialogs. */
23 class ControlTexinfo : public ControlDialogBI {
25 /// the file extensions
26 enum texFileSuffix {cls, sty, bst};
28 ControlTexinfo(LyXView &, Dialogs &);
29 /// show contents af a file
30 void viewFile(string const filename) const;
31 /// show all classoptions
32 string const getClassOptions(string const & filename) const;
33 /// build new cls bst sty - lists
34 void rescanStyles() const;
35 /// build new bst sty cls lists
36 void runTexhash() const;
38 string const getContents(texFileSuffix type, bool withPath) const;
43 virtual void apply() {}
46 #endif // CONTROLTEXINFO_H