3 * John Levon, moz@compsoc.man.ac.uk
6 /***************************************************************************
8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. *
13 ***************************************************************************/
15 #ifndef FORMDOCUMENT_H
16 #define FORMDOCUMENT_H
20 #include "DialogBase.h"
22 #include "boost/utility.hpp"
30 * \brief the LyXian side of the complex Document dialog
32 class FormDocument : public DialogBase, public noncopyable {
34 /**@name Constructors and Destructors */
37 FormDocument(LyXView *, Dialogs *);
44 /// Update the dialog.
45 void update(bool switched = false);
46 /// close the connections
48 /// change the doc class
49 bool changeClass(BufferParams & params, int new_class);
52 /// Create the dialog if necessary, update it and display it.
57 /// Real GUI implementation.
60 /// the LyXView we belong to
63 /// Used so we can get at the signals we have to connect to.
69 /// is the buffer readonly ?