3 * \file ControlTexinfo.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
12 #ifndef CONTROLTEXINFO_H
13 #define CONTROLTEXINFO_H
16 #include "ControlDialog_impl.h"
19 /** A controller for Texinfo dialogs. */
21 class ControlTexinfo : public ControlDialogBI {
23 /// the file extensions
24 enum texFileSuffix {cls, sty, bst};
26 ControlTexinfo(LyXView &, Dialogs &);
27 /// show contents af a file
28 void viewFile(string const filename) const;
29 /// show all classoptions
30 string const getClassOptions(string const & filename) const;
31 /// build new cls bst sty - lists
32 void rescanStyles() const;
33 /// build new bst sty cls lists
34 void runTexhash() const;
36 string const getContents(texFileSuffix type, bool withPath) const;
39 virtual void apply() {}
42 #endif // CONTROLTEXINFO_H