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
19 #include <boost/scoped_ptr.hpp>
20 #include "ControlDialog_impl.h"
22 #include "bufferparams.h"
29 /** A controller for Document dialogs.
31 class ControlDocument : public ControlDialogBD {
34 ControlDocument(LyXView &, Dialogs &);
40 LyXTextClass textClass();
42 BufferParams & params();
48 bool loadTextclass(lyx::textclass_type tc) const;
52 /// set the params before show or update
55 boost::scoped_ptr<BufferParams> bp_;
58 #endif // CONTROLDOCUMENT_H