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 /// Update dialog before showing it
35 virtual void update();
36 /// Apply from dialog (modify or create inset)
38 /// delete derived class variables from hide()
39 virtual void clearStore();
40 /// Pointer to the actual instantiation of the xform's form
41 virtual FL_FORM * const form() const;
45 FD_form_toc * build_toc();
47 /// Real GUI implementation.
48 FD_form_toc * dialog_;
50 std::vector<Buffer::TocItem> toclist;