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
20 class ParagraphParameters;
24 class ControlParagraph : public Dialog::Controller {
27 ControlParagraph(Dialog &);
29 virtual bool initialiseParams(std::string const & data);
31 virtual void clearParams();
33 virtual void dispatchParams();
35 virtual bool isBufferDependent() const { return true; }
37 ParagraphParameters & params();
39 ParagraphParameters const & params() const;
43 LyXAlignment alignPossible() const;
45 LyXAlignment alignDefault() const;
49 boost::scoped_ptr<ParagraphParameters> params_;
53 LyXAlignment alignpossible_;
55 LyXAlignment aligndefault_;
58 } // namespace frontend
61 #endif // CONTROLPARAGRAPH_H