2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000 The LyX Team.
9 * ======================================================
19 #include "FormCommand.h"
22 /** This class provides an XForms implementation of the FormToc Dialog.
24 class FormToc : public FormCommand {
26 /**@name Constructors and Destructors */
29 FormToc(LyXView *, Dialogs *);
36 /// Not used but must be instantiated
37 virtual void input( long ) {}
38 /// Update dialog before showing it
39 virtual void update();
40 /// Apply from dialog (modify or create inset)
42 /// delete derived class variables from hide()
43 virtual void clearStore();
44 /// Pointer to the actual instantiation of the xform's form
45 virtual FL_FORM * const form() const;
49 FD_form_toc * build_toc();
51 /// Real GUI implementation.
52 FD_form_toc * dialog_;