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;
20 class ControlParagraph : public Dialog::Controller {
23 ControlParagraph(Dialog &);
25 virtual bool initialiseParams(string const & data);
27 virtual void clearParams();
29 virtual void dispatchParams();
31 virtual bool isBufferDependent() const { return true; }
33 ParagraphParameters & params();
35 ParagraphParameters const & params() const;
39 LyXAlignment alignPossible() const;
41 LyXAlignment alignDefault() const;
45 boost::scoped_ptr<ParagraphParameters> params_;
49 LyXAlignment alignpossible_;
51 LyXAlignment aligndefault_;
54 #endif // CONTROLPARAGRAPH_H