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 "layout.h" // for LyXAlignment
22 class ParagraphParameters;
24 /** A controller for Paragraph dialogs.
26 class ControlParagraph : public ControlDialogBD
30 ControlParagraph(LyXView &, Dialogs &);
31 /** Declaring this out of line allows us to forward declare
32 ParagraphParameters without upsetting boost::scoped_ptr. */
36 ParagraphParameters & params();
40 LyXAlignment alignPossible() const;
43 /// Get changed parameters and Dispatch them to the kernel.
45 /// set the params before show or update.
46 virtual void setParams();
49 boost::scoped_ptr<ParagraphParameters> pp_;
53 LyXAlignment alignpos_;
56 #endif // CONTROLPARAGRAPH_H