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
19 #include "ControlDialog_impl.h"
22 /** A controller for Texinfo dialogs. */
24 class ControlTexinfo : public ControlDialogBI {
26 /// the file extensions
27 enum texFileSuffix {cls, sty, bst};
29 ControlTexinfo(LyXView &, Dialogs &);
30 /// show contents af a file
31 void viewFile(string const filename) const;
32 /// show all classoptions
33 string const getClassOptions(string const & filename) const;
34 /// build new cls bst sty - lists
35 void rescanStyles() const;
36 /// build new bst sty cls lists
37 void runTexhash() const;
39 string const getContents(texFileSuffix type, bool withPath) const;
42 virtual void apply() {}
45 #endif // CONTROLTEXINFO_H