2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000-2001 The LyX Team.
9 * ======================================================
12 * \author Angus Leeming <a.leeming@ic.ac.uk>
28 /** This class provides an XForms implementation of the FormToc Dialog.
30 class FormToc : public FormCB<ControlToc, FormDB<FD_form_toc> > {
33 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_;