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