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 {
28 FormToc(LyXView *, Dialogs *);
34 /// Not used but must be instantiated
35 virtual void input( long ) {}
36 /// Update dialog before showing it
37 virtual void update();
38 /// Apply from dialog (modify or create inset)
40 /// delete derived class variables from hide()
41 virtual void clearStore();
42 /// Pointer to the actual instantiation of the xform's form
43 virtual FL_FORM * const form() const;
47 FD_form_toc * build_toc();
49 /// Real GUI implementation.
50 FD_form_toc * dialog_;
52 std::vector<Buffer::TocItem> toclist;