3 * \file ControlParagraph.h
4 * Copyright 2002 The LyX Team.
5 * See the file COPYING.
7 * \author Edwin Leuven <leuven@fee.uva.nl>
10 #ifndef CONTROLPARAGRAPH_H
11 #define CONTROLPARAGRAPH_H
13 #include <boost/scoped_ptr.hpp>
19 #include "ControlDialog_impl.h"
20 #include "ParagraphParameters.h"
22 /** A controller for Paragraph dialogs.
24 class ControlParagraph : public ControlDialogBD
28 ControlParagraph(LyXView &, Dialogs &);
31 ParagraphParameters & params();
35 LyXAlignment alignPossible() const;
38 /// Get changed parameters and Dispatch them to the kernel.
40 /// set the params before show or update.
41 virtual void setParams();
44 boost::scoped_ptr<ParagraphParameters> pp_;
48 LyXAlignment alignpos_;
51 #endif // CONTROLPARAGRAPH_H