3 * \file ControlDocument.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 CONTROLDOCUMENT_H
13 #define CONTROLDOCUMENT_H
15 #include "ControlDialog_impl.h"
16 #include "bufferparams.h"
18 #include <boost/scoped_ptr.hpp>
23 /** A controller for Document dialogs.
25 class ControlDocument : public ControlDialogBD {
28 ControlDocument(LyXView &, Dialogs &);
34 LyXTextClass textClass();
36 BufferParams & params();
42 bool loadTextclass(lyx::textclass_type tc) const;
46 /// set the params before show or update
49 boost::scoped_ptr<BufferParams> bp_;
52 #endif // CONTROLDOCUMENT_H