3 * \file ControlParagraph.h
4 * See the file COPYING.
8 * Full author contact details are available in file CREDITS
11 #ifndef CONTROLPARAGRAPH_H
12 #define CONTROLPARAGRAPH_H
14 #include <boost/scoped_ptr.hpp>
20 #include "ControlDialog_impl.h"
21 #include "layout.h" // for LyXAlignment
23 class ParagraphParameters;
25 /** A controller for Paragraph dialogs.
27 class ControlParagraph : public ControlDialogBD
31 ControlParagraph(LyXView &, Dialogs &);
32 /** Declaring this out of line allows us to forward declare
33 ParagraphParameters without upsetting boost::scoped_ptr. */
37 ParagraphParameters & params();
41 LyXAlignment alignPossible() const;
43 void changedParagraph();
46 /// Get changed parameters and Dispatch them to the kernel.
48 /// set the params before show or update.
49 virtual void setParams();
52 boost::scoped_ptr<ParagraphParameters> pp_;
56 LyXAlignment alignpos_;
59 #endif // CONTROLPARAGRAPH_H