]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormCitation.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormCitation.h
index d35c256a15b75e4bdae3bf99e9147a41f808b306..cef3dc4edb3642dd05b5ea7b8bca26e7569d4305 100644 (file)
@@ -4,10 +4,11 @@
  *
  *           LyX, The Document Processor
  *
- *           Copyright 2000 The LyX Team.
+ *           Copyright 2000-2001 The LyX Team.
  *
  * ======================================================
  *
+ * \file FormCitation.h
  * \author Angus Leeming <a.leeming@ic.ac.uk>
  */
 
@@ -19,6 +20,7 @@
 #endif
 
 #include "FormBase.h"
+#include "biblio.h"
 
 /** This class provides an XForms implementation of the Citation Dialog.
  */
@@ -30,17 +32,6 @@ public:
        ///
        FormCitation(ControlCitation &);
 
-       // Functions accessible to the Controller.
-
-       /// Set the Params variable for the Controller.
-       virtual void apply();
-       /// Build the dialog.
-       virtual void build();
-       /// Hide the dialog.
-       virtual void hide();
-       /// Update dialog before/whilst showing it.
-       virtual void update();
-
 private:
        ///
        enum State {
@@ -50,20 +41,29 @@ private:
                OFF
        };
 
+       /// Set the Params variable for the Controller.
+       virtual void apply();
+       /// Build the dialog.
+       virtual void build();
+       /// Hide the dialog.
+       virtual void hide();
+       /// Update dialog before/whilst showing it.
+       virtual void update();
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
-       /// Type definition from the fdesign produced header file.
+       /// Fdesign generated method
        FD_form_citation * build_citation();
 
+       /// search for a citation
+       void findBiblio(biblio::Direction const dir);
+
        ///
        void updateBrowser(FL_OBJECT *, std::vector<string> const &) const;
        ///
        void setBibButtons(State) const;
        ///
        void setCiteButtons(State) const;
-       ///
-       void setSize(int, bool) const;
 
        ///
        std::vector<string> citekeys;