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;
41 bool const haveMulitParSelection();
45 bool canIndent() const;
47 LyXAlignment alignPossible() const;
49 LyXAlignment alignDefault() const;
53 boost::scoped_ptr<ParagraphParameters> params_;
57 LyXAlignment alignpossible_;
59 LyXAlignment aligndefault_;
62 } // namespace frontend
65 #endif // CONTROLPARAGRAPH_H