* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>
-#include FORMS_H_LOCATION
-
-#include <algorithm>
-
-#include <gettext.h>
-#include "xforms_helpers.h"
-
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include "Alert.h"
#include "Alert_pimpl.h"
+#include "xforms_helpers.h"
+#include "gettext.h"
+
+#include <algorithm>
+#include FORMS_H_LOCATION
using std::pair;
using std::make_pair;
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file Color.C
+ * Copyright 2002 the LyX Team
+ * Read the file COPYING
*
- *======================================================*/
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ */
#include <config.h>
-#include <algorithm> // max
-#include <cmath> // floor
-
-#include FORMS_H_LOCATION
-
#ifdef __GNUG_
#pragma implementation
#endif
#include "Color.h"
+#include <algorithm> // max
+#include <cmath> // floor
+#include FORMS_H_LOCATION
using std::max;
using std::min;
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file Color.h
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2002 The LyX Team.
+ * Read the file COPYING
*
- *======================================================*/
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ */
+
+/* structs RGBColor and HSVColor to enable simple conversion between
+ * color spaces.
+ */
#ifndef COLOR_H
#define COLOR_H
-/* This file is part of
- * ======================================================
+/**
+ * \file Dialogs.C
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2001 The LyX Team.
+ * See the file COPYING.
*
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * ======================================================
+ * \author Allan Rae, rae@lyx.org
*/
#include <config.h>
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include "DropDown.h"
#include "xforms_helpers.h"
+// -*- C++ -*-
/**
* \file DropDown.h
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef DROPDOWN_H
#define DROPDOWN_H
+#ifdef __GNUG_
+#pragma interface
+#endif
+
#include "LyXView.h"
#include <sigc++/signal_system.h>
#include "LString.h"
-/*
+/**
* \file FeedbackController.C
* Copyright 2002 the LyX Team
* Read the file COPYING
*
* \author Angus Leeming, a.leeming@ic.ac.uk
- *
- * A common interface for posting feedback messages to a message widget in
+ */
+
+/* A common interface for posting feedback messages to a message widget in
* xforms.
* Derive FormBase and FormBaseDeprecated from it, so daughter classes of
* either can interface tooltips in the same way.
* Read the file COPYING
*
* \author Angus Leeming, a.leeming@ic.ac.uk
- *
- * A common interface for posting feedback messages to a message widget in
+ **/
+
+/* A common interface for posting feedback messages to a message widget in
* xforms.
* Derive FormBase and FormBaseDeprecated from it, so daughter classes of
* either can interface tooltips in the same way.
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author John Levon
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
+#include <config.h>
+
#ifdef __GNUG__
#pragma implementation
#endif
-#include <config.h>
-#include <gettext.h>
-#include <utility>
-
-#include "commandtags.h"
-
-#include "support/lstrings.h"
-
+#include "FormFiledialog.h"
+#include "frontends/FileDialog.h"
// temp. hack until Allow/prohibitInput is not
// needed any more in src/ - for now it's simplest
// to leave it there
#include "LyXView.h"
#include "bufferview_funcs.h"
-
-#include "frontends/FileDialog.h"
-
-#include "FormFiledialog.h"
-
+#include "gettext.h"
+#include "commandtags.h"
#include "debug.h"
+#include "support/lstrings.h"
+#include <utility>
+
using std::make_pair;
using std::pair;
* See the file COPYING.
*
* \author Edwin Leuven, leuven@fee.uva.nl
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
+#include <config.h>
+
#ifdef __GNUG__
#pragma implementation
#endif
-#include <config.h>
-
#include "xformsBC.h"
#include "ControlAboutlyx.h"
#include "FormAboutlyx.h"
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
- * \author Edwin Leuven <leuven@fee.uva.nl>
- * \author Angus Leeming <a.leeming@.ac.uk>
+ * \author Edwin Leuven, leuven@fee.uva.nl
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMABOUTLYX_H
-/* This file is part of
- * ======================================================
+/**
+ * \file FormBase.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file FormBase.h
+ * Copyright 2000-2002 the LyX Team
+ * Read the file COPYING
*
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ */
+
+/* A base class for the MCV-ed xforms dialogs.
*/
#ifndef FORMBASE_H
-/* This file is part of
- * ======================================================
+/**
+ * \file FormBaseDeprecated.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
-#include FORMS_H_LOCATION
-
#ifdef __GNUG__
#pragma implementation
#endif
// -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file FormBase.h
+ * Copyright 2000-2002 the LyX Team
+ * Read the file COPYING
*
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ */
+
+/* A base class for those remaining xforms dialogs that haven't yet undergone
+ * the controller-view split.
+ * It is meant to be used solely as the parent class to FormBaseBI
+ * and FormBaseBD.
*/
#ifndef FORMBASEDEPRECATED_H
class LyXView;
class Tooltips;
-/** This class is an XForms GUI base class.
- It is meant to be used solely as the parent class to FormBaseBI
- and FormBaseBD.
- It has now been superceeded by the Controller/View split.
- See FormBase.[Ch] for the way to go!
- @author Angus Leeming
- */
-
class FormBaseDeprecated : public DialogBase, public FeedbackController
{
public:
* Read the file COPYING
*
* \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMBIBITEM_H
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author Angus Leeming
- * \author John Levon
- * \author Herbert Voss <voss@lyx.org>
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author John Levon, moz@compsoc.man.ac.uk
+ * \author Herbert Voss, voss@lyx.org
*/
#ifdef __GNUG__
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author Angus Leeming
- * \author John Levon
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef FORMBIBTEX_H
-/* FormBrowser.C
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
+/**
+ * \file FormBrowser.C
+ * Copyright 2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
+#include <config.h>
+
#ifdef __GNUG__
#pragma implementation
#endif
-#include <config.h>
#include "FormBrowser.h"
#include "form_browser.h"
#include "xformsBC.h"
// -*- C++ -*-
/*
* \file FormBrowser.h
+ * Copyright 2001 the LyX Team
+ * Read the file COPYING
*
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author John Levon, moz@compsoc.man.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMBROWSER_H
* See the file COPYING.
*
* \author Edwin Leuven, leuven@fee.uva.nl
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORM_CHARACTER_H
-// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormCitation.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
* \author Angus Leeming, a.leeming@ic.ac.uk
*/
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormCitation.h
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * Copyright 2000-2002 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMCITATION_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
+/**
+ * \file FormDocument.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- * @author Jürgen Vigna
- *
- *======================================================*/
+ * \author Jürgen Vigna, jug@sad.it
+ */
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
+/**
+ * \file FormDocument.h
+ * Copyright 2000-2002 the LyX Team
+ * Read the file COPYING
*
- * @author Jürgen Vigna
- *
- *======================================================*/
+ * \author Jürgen Vigna, jug@sad.it
+ */
#ifndef FORM_DOCUMENT_H
#define FORM_DOCUMENT_H
/** This class provides an XForms implementation of the FormDocument dialog.
The table-layout-form here changes values for latex-tabulars
- @author Jürgen Vigna
*/
class FormDocument : public FormBaseBD {
public:
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormERT.C
+ * Copyright 2001 The LyX Team.
+ * See the file COPYING.
+ *
* \author Jürgen Vigna, jug@sad.it
*/
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
- *
- *======================================================
- *
+/**
* \file FormERT.h
- * \author Juergen Vigna, jug@sad.it
+ * Copyright 2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Jürgen Vigna, jug@sad.it
*/
#ifndef FORMERT_H
/*
* \file FormError.C
- * This file is part of
- * ======================================================
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifdef __GNUG__
// -*- C++ -*-
-/*
+/**
* \file FormError.h
- * This file is part of
- * ======================================================
+ * Copyright 2000-2002 the LyX Team
+ * Read the file COPYING
*
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMERROR_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormExternal.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
* \author Asger Alstrup
- * \author John Levon
+ * \author John Levon, moz@compsoc.man.ac.uk
* \author Angus Leeming, a.leeming@ic.ac.uk
*/
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormExternal.h
- * \author Asger Alstrup
- * \author John Levon
+ * Copyright 2000-2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Asger Alstrup Nielsen
+ * \author John Levon, moz@compsoc.man.ac.uk
* \author Angus Leeming, a.leeming@ic.ac.uk
*/
* Read the file COPYING
*
* \author unknown
- * \author John Levon
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>
* Read the file COPYING
*
* \author unknown
- * \author John Levon
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef FORMFILEDIALOG_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormFloat.C
+ * Copyright 2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes, larsbj@lyx.org
*/
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
- *
- *======================================================
- *
+/**
* \file FormFloat.h
+ * Copyright 2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Lars Gullik Bjønnes, larsbj@lyx.org
*/
#ifndef FORMFLOAT_H
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author Angus Leeming
+ * \author Angus Leeming, a.leeming@ic.ac.uk
* \date 2001-10-22
*/
// -*- C++ -*-
/**
* \file FormForks.h
- * Copyright 2001 the LyX Team
+ * Copyright 2002 the LyX Team
* Read the file COPYING
*
- * \author Angus Leeming
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMFORKS_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormGraphics.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
* \author Baruch Even, baruch.even@writeme.com
* \author Herbert Voss, voss@perce.de
*/
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormGraphics.h
+ * Copyright 2000-2001 the LyX Team
+ * Read the file COPYING
+ *
* \author Baruch Even, baruch.even@writeme.com
* \author Herbert Voss, voss@lyx.org
*/
*
* \author Alejandro Aguilar Sierra
* \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
*
* \author Alejandro Aguilar Sierra
* \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMINCLUDE_H
#define FORMINCLUDE_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormIndex.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
* \author Angus Leeming, a.leeming@ic.ac.uk
*/
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormIndex.h
+ * Copyright 2000-2001 the LyX Team
+ * Read the file COPYING
+ *
* \author Angus Leeming, a.leeming@ic.ac.uk
*/
-/* This file is part of
- * ======================================================
+/**
+ * \file FormInset.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file FormInset.h
+ * Copyright 2000-2001 the LyX Team
+ * Read the file COPYING
*
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ */
+
+/* A base class for dialogs connected to insets. This class is temporary in that
+ * it has been superceeded by the controller-view split.
*/
#ifndef FORMCOMMAND_H
-/* FormLog.C
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
+/**
+ * \file FormLog.C
+ * Copyright 2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
+#include <config.h>
+
#ifdef __GNUG__
#pragma implementation
#endif
-#include <config.h>
#include "xformsBC.h"
#include "ControlLog.h"
#include "FormLog.h"
// -*- C++ -*-
/*
* FormLog.h
+ * Copyright 2001 the LyX Team
+ * Read the file COPYING
*
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef FORMLOG_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormMinipage.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
* \author Jürgen Vigna, jug@sad.it
*/
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
- *
- *======================================================
- *
+/**
* \file FormMinipage.h
- * \author Juergen Vigna, jug@sad.it
+ * Copyright 2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Jürgen Vigna, jug@sad.it
*/
#ifndef FORMMINIPAGE_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
+/**
+ * \file FormParagraph.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- * @author Jürgen Vigna
- *
- *======================================================*/
+ * \author Jürgen Vigna, jug@sad.it
+ */
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
+/**
+ * \file Tooltips.h
+ * Copyright 2000-2001 the LyX Team
+ * Read the file COPYING
*
- * @author Jürgen Vigna
- *
- *======================================================*/
+ * \author Jürgen Vigna, jug@sad.it
+ */
#ifndef FORM_PARAGRAPH_H
#define FORM_PARAGRAPH_H
struct FD_form_paragraph;
/** This class provides an XForms implementation of the FormParagraph dialog.
- * @author Jürgen Vigna
*/
class FormParagraph : public FormBaseBD {
public:
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file FormPreferences.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- *======================================================*/
-/* FormPreferences.C
- * FormPreferences Interface Class Implementation
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file FormPreferences.h
+ * Copyright 1995-2002 the LyX Team
+ * Copyright 1999-2001 Allan Rae
+ * Read the file COPYING
*
- * This file copyright 1999-2001
- * Allan Rae
- *======================================================*/
-/* FormPreferences.h
- * FormPreferences Interface Class
+ * \author Allan Rae, rae@lyx.org
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMPREFERENCES_H
* See the file COPYING.
*
* \author Allan Rae, rae@lyx.org
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * This file copyright 1999-2001
- * Allan Rae
- *======================================================
- *
+/**
* \file FormPrint.h
+ * Copyright 2002 the LyX Team
+ * Copyright 1999-2001 Allan Rae
+ * Read the file COPYING
+ *
* \author Allan Rae, rae@lyx.org
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMPRINT_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormRef.C
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormRef.h
- * \author Angus Leeming, a.leeming@.ac.uk
+ * Copyright 2000-2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMREF_H
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
- * \author Edwin Leuven
+ * \author Edwin Leuven, leuven@fee.uva.nl
*/
#include <config.h>
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
- * \author Edwin Leuven
+ * \author Edwin Leuven, leuven@fee.uva.nl
*/
#ifndef FORMSEARCH_H
* Copyright 2002 the LyX Team
* Read the file COPYING
*
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
* Copyright 2002 the LyX Team
* Read the file COPYING
*
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMSENDTO_H
-/* FormHelp.C
- * (C) 2001 LyX Team
- * \author Herbert Voss <voss@perce.de>
+/**
+ * \file FormShowFile.C
+ * Copyright 2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author Herbert Voss, voss@perce.de
*/
#include <config.h>
// -*- C++ -*-
-
-/*
- * FormShowFile.h
+/**
+ * \file FormShowFile.h
+ * Copyright 2001 the LyX Team
+ * Read the file COPYING
*
- * (C) 2001 LyX Team
- * \author Herbert Voss <voss@perce.de>
+ * \author Herbert Voss, voss@perce.de
*/
#ifndef FORMSHOWFILE_H
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
- * \author Edwin Leuven
+ * \author Edwin Leuven, leuven@fee.uva.nl
*/
#include <config.h>
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
- * \author Edwin Leuven
+ * \author Edwin Leuven, leuven@fee.uva.nl
*/
#ifndef FORMSPELLCHECKER_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file FormTabular.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- *======================================================*/
-/* FormTabular.C
- * FormTabular Interface Class Implementation
+ * \author Jürgen Vigna, jug@sad.it
*/
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file FormTabular.h
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2001 the LyX Team
+ * Read the file COPYING
*
- *======================================================*/
-/* FormTabular.h
- * FormTabular Interface Class
+ * \author Jürgen Vigna, jug@sad.it
*/
#ifndef FORMTABULAR_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormTabularCreate.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author \author Jürgen Vigna, jug@sad.it
*/
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- *======================================================
- *
+/**
* \file FormTabularCreate.h
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author unknown.
*/
#ifndef FORMTABULARCREATE_H
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author Herbert Voss <voss@lyx.org>
+ * \author Herbert Voss, voss@lyx.org
* \date 2001-10-01
*/
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author Herbert Voss <voss@perce.de>
+ * \author Herbert Voss, voss@perce.de
*/
#ifndef FORMTEXINFO_H
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
- * \author Edwin Leuven
+ * \author Edwin Leuven, leuven@fee.uva.nl
*/
#include <config.h>
* Copyright 2001 the LyX Team
* Read the file COPYING
*
- * \author John Levon
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef FORMTHESAURUS_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormToc.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
* \author Angus Leeming, a.leeming@ic.ac.uk
*/
// Update the choice list from scratch
fl_clear_choice(dialog_->choice_toc_type);
string const choice = getStringFromVector(controller().getTypes(), "|");
- lyxerr << "choice " << choice << endl;
fl_addto_choice(dialog_->choice_toc_type, choice.c_str());
// And select the correct one
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormToc.h
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * Copyright 2000-2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMTOC_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormUrl.C
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
+
#include <config.h>
#ifdef __GNUG__
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file FormUrl.h
- * \author Angus Leeming, a.leeming@.ac.uk
+ * Copyright 2000-2001 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#ifndef FORMURL_H
-/* FormVCLog.C
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
+/**
+ * \file FormVCLog.C
+ * Copyright 2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>
// -*- C++ -*-
-/*
- * FormVCLog.h
+/**
+ * \file FormVCLog.h
+ * Copyright 2001 the LyX Team
+ * Read the file COPYING
*
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef FORMVCLOG_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
+/**
+ * \file GUIRunTime.C
+ * Copyright 2000-2001 The LyX Team.
+ * See the file COPYING.
*
- *======================================================*/
+ * \author unknown
+ */
#include <config.h>
* Read the file COPYING
*
* \author Alejandro Aguilar Sierra
- * \author John Levon
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>
* Read the file COPYING
*
* \author Alejandro Aguilar Sierra
- * \author John Levon
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef MATHS_SYMBOLS_H
-/* This file is part of
-* ======================================================
-*
-* LyX, The Document Processor
-*
-* Copyright 1999-2001 The LyX Team.
-*
-* ======================================================*/
+/**
+ * \file Menubar_pimpl.C
+ * Copyright 1999-2001 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ */
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file Menubar_pimpl.h
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2002 the LyX Team
+ * Copyright 1996-2001 Lars Gullik Bjønnes
+ * Read the file COPYING
*
- * This file is Copyright 1996-2001
- * Lars Gullik Bjønnes
- *
- * ====================================================== */
+ * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ */
#ifndef MENUBAR_PIMPL_H
#define MENUBAR_PIMPL_H
-/* This file is part of
- * =================================================
- *
- * LyX, The Document Processor
- * Copyright 1995 Matthias Ettrich.
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file RadioButtonGroup.C
+ * Copyright 1995 Matthias Ettrich.
+ * Copyright 1995-2001 The LyX Team.
+ * Copyright 2000 Baruch Even
+ * See the file COPYING.
*
- * This file Copyright 2000 Baruch Even
- * ================================================= */
+ * \author Baruch Even, baruch.even@writeme.com
+ */
#include <config.h>
// -*- C++ -*-
-/* This file is part of
- * =================================================
- *
- * LyX, The Document Processor
- * Copyright 1995 Matthias Ettrich.
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file RadioButtonGroup.h
+ * Copyright 2002 the LyX Team
+ * Copyright 2000 Baruch Even
+ * Read the file COPYING
*
- * This file Copyright 2000 Baruch Even
- * ================================================= */
+ * \author Baruch Even, baruch.even@writeme.com
+ */
#ifndef RADIOBUTTONGROUP_H
* the idea is that you register a bunch of radio buttons with the accompanying
* value for each radio button and then you get to query or set the active
* button in a single function call.
- * @author Baruch Even
*/
class RadioButtonGroup {
public:
* Copyright 2001 LyX Team
* Read COPYING
*
- * \author Lars Gullik Bjønnes
- * \author John Levon
+ * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>
* Copyright 2001 LyX Team
* Read COPYING
*
- * \author Lars Gullik Bjønnes
- * \author John Levon
+ * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ * \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef TIMEOUTPIMPL_H
#define TIMEOUTPIMPL_H
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
+/**
+ * \file FormBase.C
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2001 The LyX Team.
+ * Copyright 1996-1998 Lars Gullik Bjønnes
+ * See the file COPYING.
*
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * This file is Copyright 1996-1998
- * Lars Gullik Bjønnes
- *
- * ====================================================== */
+ * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ */
// Added pseudo-action handling, asierra 180296
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
+/**
+ * \file Toolbar_pimpl.h
+ * Copyright 2002 the LyX Team
+ * Copyright 1996-2001 Lars Gullik Bjønnes
+ * Read the file COPYING
*
- * This file is Copyright 1996-2001
- * Lars Gullik Bjønnes
- *
- * ====================================================== */
+ * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ */
#ifndef TOOLBAR_PIMPL_H
#define TOOLBAR_PIMPL_H
* Read the file COPYING
*
* \author Angus Leeming, a.leeming@ic.ac.uk
+ */
+
+/*
*
* Tooltips for xforms. xforms 0.89 supports them directly, but 0.88 needs
* a bit of jiggery pokery. This class wraps it all up in a neat interface.
lyx::Assert(ob && ob->form && timer && timer->u_vdata);
FL_FORM * form = ob->form;
Tooltips * tooltip = static_cast<Tooltips *>(timer->u_vdata);
-
+
string const help = tooltip->getTooltip(ob);
if (help.empty())
return;
// -*- C++ -*-
-/*
+/**
* \file Tooltips.h
* Copyright 2002 the LyX Team
* Read the file COPYING
*
* \author Angus Leeming, a.leeming@ic.ac.uk
- *
- * Tooltips for xforms. xforms 0.89 supports them directly, but 0.88 needs
+ */
+
+/* Tooltips for xforms. xforms 0.89 supports them directly, but 0.88 needs
* a bit of jiggery pokery. This class wraps it all up in a neat interface.
* Based on code originally in Toolbar_pimpl.C that appears to have been
* written by Matthias Ettrich and Jean-Marc Lasgouttes.
#include "LString.h"
#include <boost/utility.hpp>
#include <sigc++/signal_system.h>
-#include FORMS_H_LOCATION // Can't forward-declare FL_OBJECT
#include <map>
+#include FORMS_H_LOCATION // Can't forward-declare FL_OBJECT
#ifdef __GNUG__
#pragma interface
public:
Tooltips();
- /// Initialise a tooltip for this ob
+ /// Initialise a tooltip for this ob.
void initTooltip(FL_OBJECT * ob, string const & tip);
/// Are the tooltips on or off?
#if FL_REVISION < 89
- /// Return the tooltip associated with this object
+ /** Return the tooltip associated with this object.
+ * Required by an xforms callback routine.
+ */
string const getTooltip(FL_OBJECT *) const;
#endif
static bool enabled_;
/** This method is connected to Dialogs::toggleTooltips and toggles
- * the state of enabled_
+ * the state of enabled_.
*/
static void toggleEnabled();
/// This method is connected to the tooltipsToggled signal.
void toggleTooltips();
- /// The tooltips are stored so that they can be turned on and off
+ /// The tooltips are stored so that they can be turned on and off.
typedef std::map<FL_OBJECT *, string> TooltipsMap;
TooltipsMap tooltipsMap;
#if FL_REVISION < 89
+ /** A timer is started once the mouse enters an object, so that the
+ * tip appears a short delay afterwards.
+ */
FL_OBJECT * tooltip_timer_;
-#endif // FL_REVISION >= 89
+#endif
};
#endif // TOOLTIPS_H
-/*
- * File: bmtable.h
- * Purpose: Declaration of the XForms object bmtable.
- * Author: Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
- * Created: November 1995
- * Description: A bitmap table uses a single bitmap to simulate a 2d array
- * of bitmap buttons. It can be used to build bitmap menus.
- *
- * Copyright 1995, 1996 Alejandro Aguilar Sierra
+/**
+ * \file bmtable.h
+ * Copyright 2002 the LyX Team
+ * Copyright 1995-1996 Alejandro Aguilar Sierra
+ * Read the file COPYING
*
- * You are free to use and modify this code under the terms of
- * the GNU General Public Licence version 2 or later.
- *
- */
+ * \author Alejandro Aguilar Sierra
+ */
+
+/* A bitmap table uses a single bitmap to simulate a 2d array
+ * of bitmap buttons. It can be used to build bitmap menus.
+ */
#ifndef BMTABLE_H
#define BMTABLE_H
-/*
- * Combox: A combination of two objects (a button and a browser) is
- * encapsulated to get a combobox-like object. All XForms
- * functions are hidden.
- *
- * GNU Copyleft 1996 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
- * and the LyX Team.
- *
- * Dependencies: Only XForms, but created to be used with LyX.
+/**
+ * \file combox.C
+ * Copyright 1996-2002 The LyX Team.
+ * Copyright 1996Alejandro Aguilar Sierra
+ * See the file COPYING.
+ *
+ * \author Alejandro Aguilar Sierra
+ */
+
+/* A combination of two objects (a button and a browser) is encapsulated to
+ * get a combobox-like object. All XForms functions are hidden.
*
*/
// -*- C++ -*-
-/*
- * Combox: A combination of two objects (a button and a browser) is
- * encapsulated to get a combobox-like object. All XForms
- * functions are hidden.
- *
- * GNU Copyleft 1996 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
- * and the LyX Team.
- *
- * Dependencies: Only XForms, but created to be used with LyX.
- *
- */
-
-/* Change log:
+/**
+ * \file combox.h
+ * Copyright 2002 the LyX Team
+ * Copyright 1996 Alejandro Aguilar Sierra
+ * Read the file COPYING
+ *
+ * \author Alejandro Aguilar Sierra, asierra@servidor.unam.mx
+ */
+
+/* A combination of two objects (a button and a browser) is encapsulated to
+ * get a combobox-like object. All XForms functions are hidden.
+ *
+ * Change log:
*
* 2/06/1996, Alejandro Aguilar Sierra
* Created and tested.
*/
#include <config.h>
+
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include FORMS_H_LOCATION
#include "support/lstrings.h"
#include "input_validators.h"
// -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file input_validators.h
+ * Copyright 2002 the LyX Team
+ * Copyright 1999-2001 Allan Rae
+ * Read the file COPYING
*
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * This file Copyright 1999-2001
- * Allan Rae
- * ====================================================== */
+ * \author Allan Rae, rae@lyx.org
+ */
-/** Input validators and filters for xforms.
+/* Input validators and filters for xforms.
* A collection of input filtering and validating functions for use in
* XForms dialogs. Mainly meant for filtering input boxes although may
* be extended to include other generally useful xforms-specific tools.
#ifndef INPUT_VALIDATORS_H
#define INPUT_VALIDATORS_H
+#ifdef __GNUG_
+#pragma interface
+#endif
+
#if defined(__cplusplus)
extern "C"
{
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file xformsBC.C
+ * Copyright 2001 The LyX Team.
+ * See the file COPYING.
+ *
* \author Allan Rae, rae@lyx.org
* \author Angus Leeming, a.leeming@ic.ac.uk
* \author Baruch Even, baruch.even@writeme.com
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
- *
- * ======================================================
- *
+/**
* \file xformsBC.h
+ * Copyright 2002 the LyX Team
+ * Read the file COPYING
+ *
* \author Allan Rae, rae@lyx.org
* \author Angus Leeming, a.leeming@ic.ac.uk
* \author Baruch Even, baruch.even@writeme.com
* Copyright 2002 the LyX Team
* Read the file COPYING
*
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
* Copyright 2002 the LyX Team
* Read the file COPYING
*
- * \author Angus Leeming <a.leeming@ic.ac.uk>
- *
- * An instantiation of GImage that makes use of the xforms lirary routines
- * to load and store the image in memory.
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ */
+
+/* An instantiation of GImage that makes use of the xforms lirary routines
+ * to load and store the image in memory.
*/
#ifndef XFORMS_GRAPHICSIMAGE_H
-/** Collection of some useful xform helper functions
+/**
+ * \file xforms_helpers.C
+ * Copyright 2000-2002 The LyX Team.
+ * See the file COPYING.
+ *
+ * \author Angus Leeming, a.leeming@ic.ac.uk
*/
#include <config.h>
// -*- C++ -*-
+/**
+ * \file xforms_helpers.h
+ * Copyright 2002 the LyX Team
+ * Read the file COPYING
+ *
+ * \author Angus Leeming, a.leeming@ic.ac.uk
+ */
#ifndef XFORMSHELPERS_H
#define XFORMSHELPERS_H