3 * \file ControlCharacter.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
12 #ifndef CONTROLCHARACTER_H
13 #define CONTROLCHARACTER_H
17 #include "character.h"
20 class ControlCharacter : public Dialog::Controller {
23 ControlCharacter(Dialog &);
25 virtual void initialiseParams(string const &);
27 virtual void clearParams();
29 virtual void dispatchParams();
31 virtual bool isBufferDependent() const { return true; }
34 void setFamily(LyXFont::FONT_FAMILY);
36 void setSeries(LyXFont::FONT_SERIES);
38 void setShape(LyXFont::FONT_SHAPE);
40 void setSize(LyXFont::FONT_SIZE);
42 void setBar(frnt::FONT_STATE);
44 void setColor(LColor::color);
46 void setLanguage(string const &);
48 void setToggleAll(bool);
51 LyXFont::FONT_FAMILY getFamily() const;
53 LyXFont::FONT_SERIES getSeries() const;
55 LyXFont::FONT_SHAPE getShape() const;
57 LyXFont::FONT_SIZE getSize() const;
59 frnt::FONT_STATE getBar() const;
61 LColor::color getColor() const;
63 string getLanguage() const;
65 bool getToggleAll() const;
68 boost::scoped_ptr<LyXFont> font_;
73 #endif // CONTROLCHARACTER_H