sourcedoc-friendly files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3713 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-03-11 17:00:41 +00:00
parent 45ca3f0c3c
commit 7cbe56d12e
103 changed files with 501 additions and 644 deletions

View File

@ -3,20 +3,22 @@
* 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;

View File

@ -1,25 +1,21 @@
/* 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;

View File

@ -1,13 +1,16 @@
// -*- 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

View File

@ -1,12 +1,10 @@
/* 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>

View File

@ -3,11 +3,15 @@
* 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"

View File

@ -1,14 +1,19 @@
// -*- 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"

View File

@ -1,11 +1,12 @@
/*
/**
* \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.

View File

@ -5,8 +5,9 @@
* 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.

View File

@ -3,32 +3,28 @@
* 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;

View File

@ -4,15 +4,15 @@
* 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"

View File

@ -4,8 +4,8 @@
* 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

View File

@ -1,13 +1,9 @@
/* 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>

View File

@ -1,14 +1,13 @@
// -*- 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

View File

@ -1,17 +1,13 @@
/* 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

View File

@ -1,12 +1,16 @@
// -*- 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
@ -29,14 +33,6 @@ class Dialogs;
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:

View File

@ -5,7 +5,7 @@
* 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

View File

@ -3,9 +3,9 @@
* 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__

View File

@ -4,8 +4,8 @@
* 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

View File

@ -1,13 +1,17 @@
/* 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"

View File

@ -1,10 +1,11 @@
// -*- 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

View File

@ -5,7 +5,7 @@
* 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

View File

@ -1,14 +1,8 @@
// -*- 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
*/

View File

@ -1,15 +1,10 @@
// -*- 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

View File

@ -1,13 +1,10 @@
/* 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>

View File

@ -1,14 +1,11 @@
// -*- 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
@ -34,7 +31,6 @@ struct FD_form_doc_bullet;
/** 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:

View File

@ -1,13 +1,8 @@
/* 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
*/

View File

@ -1,15 +1,10 @@
// -*- 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

View File

@ -1,15 +1,9 @@
/*
* \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__

View File

@ -1,16 +1,10 @@
// -*- 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

View File

@ -1,15 +1,10 @@
/* 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
*/

View File

@ -1,16 +1,11 @@
// -*- 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
*/

View File

@ -4,7 +4,7 @@
* Read the file COPYING
*
* \author unknown
* \author John Levon
* \author John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>

View File

@ -5,7 +5,7 @@
* Read the file COPYING
*
* \author unknown
* \author John Levon
* \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef FORMFILEDIALOG_H

View File

@ -1,13 +1,9 @@
/* 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>

View File

@ -1,14 +1,10 @@
// -*- 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

View File

@ -3,7 +3,7 @@
* Copyright 2001 the LyX Team
* Read the file COPYING
*
* \author Angus Leeming
* \author Angus Leeming, a.leeming@ic.ac.uk
* \date 2001-10-22
*/

View File

@ -1,10 +1,10 @@
// -*- 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

View File

@ -1,13 +1,8 @@
/* 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
*/

View File

@ -1,14 +1,9 @@
// -*- 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
*/

View File

@ -5,7 +5,7 @@
*
* \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>

View File

@ -6,7 +6,7 @@
*
* \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

View File

@ -1,13 +1,8 @@
/* 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
*/

View File

@ -1,14 +1,9 @@
// -*- 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
*/

View File

@ -1,11 +1,9 @@
/* 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>

View File

@ -1,12 +1,14 @@
// -*- 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

View File

@ -1,13 +1,17 @@
/* 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"

View File

@ -1,9 +1,10 @@
// -*- 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

View File

@ -1,13 +1,8 @@
/* 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
*/

View File

@ -1,15 +1,10 @@
// -*- 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

View File

@ -1,13 +1,10 @@
/* 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>

View File

@ -1,14 +1,11 @@
// -*- 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
@ -25,7 +22,6 @@ class Paragraph;
struct FD_form_paragraph;
/** This class provides an XForms implementation of the FormParagraph dialog.
* @author Jürgen Vigna
*/
class FormParagraph : public FormBaseBD {
public:

View File

@ -1,14 +1,9 @@
/* 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>

View File

@ -1,17 +1,12 @@
// -*- 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

View File

@ -4,7 +4,7 @@
* 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>

View File

@ -1,19 +1,12 @@
// -*- 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

View File

@ -1,14 +1,9 @@
/* 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>

View File

@ -1,15 +1,10 @@
// -*- 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

View File

@ -3,7 +3,7 @@
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \author Edwin Leuven
* \author Edwin Leuven, leuven@fee.uva.nl
*/
#include <config.h>

View File

@ -4,7 +4,7 @@
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \author Edwin Leuven
* \author Edwin Leuven, leuven@fee.uva.nl
*/
#ifndef FORMSEARCH_H

View File

@ -3,7 +3,7 @@
* 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>

View File

@ -4,7 +4,7 @@
* 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

View File

@ -1,6 +1,9 @@
/* 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>

View File

@ -1,10 +1,10 @@
// -*- 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

View File

@ -3,7 +3,7 @@
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \author Edwin Leuven
* \author Edwin Leuven, leuven@fee.uva.nl
*/
#include <config.h>

View File

@ -4,7 +4,7 @@
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \author Edwin Leuven
* \author Edwin Leuven, leuven@fee.uva.nl
*/
#ifndef FORMSPELLCHECKER_H

View File

@ -1,14 +1,9 @@
/* 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>

View File

@ -1,15 +1,11 @@
// -*- 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

View File

@ -1,13 +1,9 @@
/* 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>

View File

@ -1,15 +1,11 @@
// -*- 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

View File

@ -3,7 +3,7 @@
* 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
*/

View File

@ -4,7 +4,7 @@
* Copyright 2001 the LyX Team
* Read the file COPYING
*
* \author Herbert Voss <voss@perce.de>
* \author Herbert Voss, voss@perce.de
*/
#ifndef FORMTEXINFO_H

View File

@ -3,7 +3,7 @@
* Copyright 2001 The LyX Team.
* See the file COPYING.
*
* \author Edwin Leuven
* \author Edwin Leuven, leuven@fee.uva.nl
*/
#include <config.h>

View File

@ -4,7 +4,7 @@
* Copyright 2001 the LyX Team
* Read the file COPYING
*
* \author John Levon
* \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef FORMTHESAURUS_H

View File

@ -1,13 +1,8 @@
/* 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
*/
@ -84,7 +79,6 @@ void FormToc::updateType()
// 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

View File

@ -1,15 +1,10 @@
// -*- 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

View File

@ -1,16 +1,12 @@
/* 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__

View File

@ -1,15 +1,10 @@
// -*- 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

View File

@ -1,6 +1,9 @@
/* 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>

View File

@ -1,9 +1,10 @@
// -*- 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

View File

@ -1,11 +1,10 @@
/* 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>

View File

@ -4,7 +4,7 @@
* Read the file COPYING
*
* \author Alejandro Aguilar Sierra
* \author John Levon
* \author John Levon, moz@compsoc.man.ac.uk
*/
#include <config.h>

View File

@ -5,7 +5,7 @@
* Read the file COPYING
*
* \author Alejandro Aguilar Sierra
* \author John Levon
* \author John Levon, moz@compsoc.man.ac.uk
*/
#ifndef MATHS_SYMBOLS_H

View File

@ -1,11 +1,10 @@
/* 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>

View File

@ -1,15 +1,13 @@
// -*- 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

View File

@ -1,12 +1,12 @@
/* 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>

View File

@ -1,13 +1,12 @@
// -*- 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
@ -27,7 +26,6 @@
* 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:

View File

@ -3,8 +3,8 @@
* 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>

View File

@ -4,8 +4,8 @@
* 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

View File

@ -1,15 +1,12 @@
/* 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

View File

@ -1,15 +1,12 @@
// -*- 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

View File

@ -4,6 +4,9 @@
* 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.
@ -210,7 +213,7 @@ void TooltipTimerCB(FL_OBJECT * timer, long data)
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;

View File

@ -1,12 +1,13 @@
// -*- 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.
@ -18,8 +19,8 @@
#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
@ -29,7 +30,7 @@ class Tooltips : boost::noncopyable, public SigC::Object {
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?
@ -37,7 +38,9 @@ public:
#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
@ -48,7 +51,7 @@ private:
static bool enabled_;
/** This method is connected to Dialogs::toggleTooltips and toggles
* the state of enabled_
* the state of enabled_.
*/
static void toggleEnabled();
@ -60,16 +63,19 @@ private:
/// 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

View File

@ -1,17 +1,15 @@
/*
* 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

View File

@ -1,12 +1,14 @@
/*
* 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.
*
*/

View File

@ -1,17 +1,17 @@
// -*- 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.
*
*/
/**
* \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
*/
/* Change log:
/* 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.

View File

@ -5,6 +5,11 @@
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include FORMS_H_LOCATION
#include "support/lstrings.h"
#include "input_validators.h"

View File

@ -1,17 +1,14 @@
// -*- 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.
@ -20,6 +17,10 @@
#ifndef INPUT_VALIDATORS_H
#define INPUT_VALIDATORS_H
#ifdef __GNUG_
#pragma interface
#endif
#if defined(__cplusplus)
extern "C"
{

View File

@ -1,13 +1,8 @@
/* 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

View File

@ -1,14 +1,9 @@
// -*- 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

View File

@ -3,7 +3,7 @@
* 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>

Some files were not shown because too many files have changed in this diff Show More