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
16 #include <boost/scoped_ptr.hpp>
17 #include "ControlDialog_impl.h"
18 #include "support/std_string.h"
19 #include "bufferparams.h"
26 /** A controller for Document dialogs.
28 class ControlDocument : public ControlDialogBD {
31 ControlDocument(LyXView &, Dialogs &);
37 LyXTextClass textClass();
39 BufferParams & params();
45 bool loadTextclass(lyx::textclass_type tc) const;
49 /// set the params before show or update
52 boost::scoped_ptr<BufferParams> bp_;
55 #endif // CONTROLDOCUMENT_H