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
17 #include "ParagraphParameters.h"
22 class ControlParagraph : public Controller
26 ControlParagraph(Dialog &);
28 virtual bool initialiseParams(std::string const & /*data*/) { return true; }
30 virtual void clearParams() {}
32 virtual void dispatchParams();
34 virtual bool isBufferDependent() const { return true; }
36 ParagraphParameters & params();
38 ParagraphParameters const & params() const;
40 bool haveMulitParSelection();
42 bool canIndent() const;
44 LyXAlignment alignPossible() const;
46 LyXAlignment alignDefault() const;
49 ParagraphParameters multiparsel_;
52 } // namespace frontend
55 #endif // CONTROLPARAGRAPH_H