1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2000-2001 The LyX Team.
8 * ======================================================
11 * \author Angus Leeming <a.leeming@ic.ac.uk>
27 /** This class provides an XForms implementation of the FormToc Dialog.
29 class FormToc : public FormCB<ControlToc, FormDB<FD_form_toc> > {
32 FormToc(ControlToc &);
36 virtual void apply() {}
39 /// Update dialog before showing it
40 virtual void update();
41 /// Filter the inputs on callback from xforms
42 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
47 void updateContents();
49 /// Fdesign generated method
50 FD_form_toc * build_toc();
53 Buffer::SingleList toclist_;