// -*- C++ -*- /** * \file ControlParagraph.h * Copyright 2002 The LyX Team. * See the file COPYING. * * \author Edwin Leuven */ #ifndef CONTROLPARAGRAPH_H #define CONTROLPARAGRAPH_H #include #ifdef __GNUG__ #pragma interface #endif #include "ControlDialog_impl.h" #include "ParagraphParameters.h" /** A controller for Paragraph dialogs. */ class ControlParagraph : public ControlDialogBD { public: /// ControlParagraph(LyXView &, Dialogs &); /// ParagraphParameters & params(); /// bool inInset() const; /// LyXAlignment alignPossible() const; private: /// Get changed parameters and Dispatch them to the kernel. virtual void apply(); /// set the params before show or update. virtual void setParams(); /// boost::scoped_ptr pp_; /// bool ininset_; /// LyXAlignment alignpos_; }; #endif // CONTROLPARAGRAPH_H