3 * \file ControlParagraph.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 CONTROLPARAGRAPH_H
13 #define CONTROLPARAGRAPH_H
16 #include "layout.h" // for LyXAlignment
18 class ParagraphParameters;
23 class ControlParagraph : public Dialog::Controller {
26 ControlParagraph(Dialog &);
28 virtual bool initialiseParams(std::string const & data);
30 virtual void clearParams();
32 virtual void dispatchParams();
34 virtual bool isBufferDependent() const { return true; }
36 ParagraphParameters & params();
38 ParagraphParameters const & params() const;
42 LyXAlignment alignPossible() const;
44 LyXAlignment alignDefault() const;
48 boost::scoped_ptr<ParagraphParameters> params_;
52 LyXAlignment alignpossible_;
54 LyXAlignment aligndefault_;
57 } // namespace frontend
60 #endif // CONTROLPARAGRAPH_H