2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000 The LyX Team.
9 * ======================================================
19 #include "FormInset.h"
23 /** This class provides an XForms implementation of the FormToc Dialog.
25 class FormToc : public FormCommand {
28 FormToc(LyXView *, Dialogs *);
32 /// Disconnect signals. Also perform any necessary housekeeping.
33 virtual void disconnect();
37 /// Update dialog before showing it
38 virtual void update(bool switched = false);
39 /// Apply from dialog (modify or create inset)
41 /// Pointer to the actual instantiation of the xform's form
42 virtual FL_FORM * form() const;
46 FD_form_toc * build_toc();
48 /// Real GUI implementation.
49 FD_form_toc * dialog_;
51 std::vector<Buffer::TocItem> toclist;