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"
17 #include "support/types.h"
19 #include <boost/scoped_ptr.hpp>
26 /** A controller for Document dialogs.
28 class ControlDocument : public ControlDialogBD {
31 ControlDocument(LyXView &, Dialogs &);
37 void setBranchColor(std::string const & branch, std::string const & hex);
39 LyXTextClass textClass();
41 BufferParams & params();
47 bool loadTextclass(lyx::textclass_type tc) const;
51 /// set the params before show or update
54 boost::scoped_ptr<BufferParams> bp_;
57 #endif // CONTROLDOCUMENT_H