From 1f9e9cf5173fa1fbafdff5f21080e5194b05818b Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Tue, 19 Aug 2003 13:00:56 +0000 Subject: [PATCH] Standardise the header blurb in mathed. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7574 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 4 ++++ src/mathed/command_inset.C | 12 ++++++++++++ src/mathed/command_inset.h | 12 +++++------- src/mathed/formula.C | 24 ++++++++++-------------- src/mathed/formula.h | 14 ++++++-------- src/mathed/formulabase.C | 23 ++++++++++------------- src/mathed/formulabase.h | 15 ++++++++------- src/mathed/formulamacro.C | 16 +++++++--------- src/mathed/formulamacro.h | 18 ++++++++---------- src/mathed/math_amsarrayinset.C | 10 ++++++++++ src/mathed/math_amsarrayinset.h | 19 +++++++++++-------- src/mathed/math_arrayinset.C | 11 ++++++++++- src/mathed/math_arrayinset.h | 19 +++++++++++-------- src/mathed/math_atom.C | 16 ++++++---------- src/mathed/math_atom.h | 19 ++++++++++++------- src/mathed/math_autocorrect.C | 10 ++++++++++ src/mathed/math_autocorrect.h | 11 +++++++++++ src/mathed/math_biginset.C | 10 ++++++++++ src/mathed/math_biginset.h | 12 +++++------- src/mathed/math_binaryopinset.C | 12 +++++++++++- src/mathed/math_binaryopinset.h | 16 +++++++++++----- src/mathed/math_binominset.C | 10 ++++++++++ src/mathed/math_binominset.h | 14 +++++++++++--- src/mathed/math_boxinset.C | 10 ++++++++++ src/mathed/math_boxinset.h | 10 ++++++++++ src/mathed/math_braceinset.C | 10 ++++++++++ src/mathed/math_braceinset.h | 17 +++++++++++------ src/mathed/math_casesinset.C | 11 ++++++++++- src/mathed/math_casesinset.h | 10 ++++++++++ src/mathed/math_charinset.C | 11 +++++++++++ src/mathed/math_charinset.h | 17 +++++++++++------ src/mathed/math_commentinset.C | 10 ++++++++++ src/mathed/math_commentinset.h | 17 +++++++++++------ src/mathed/math_cursor.C | 21 ++++++++------------- src/mathed/math_cursor.h | 16 ++++++---------- src/mathed/math_data.C | 10 ++++++++++ src/mathed/math_data.h | 21 +++++++++------------ src/mathed/math_decorationinset.C | 12 +++++++++++- src/mathed/math_decorationinset.h | 18 ++++++++++++------ src/mathed/math_deliminset.C | 11 +++++++++++ src/mathed/math_deliminset.h | 18 ++++++++++++------ src/mathed/math_diffinset.C | 10 ++++++++++ src/mathed/math_diffinset.h | 10 ++++++++++ src/mathed/math_diminset.C | 11 +++++++++++ src/mathed/math_diminset.h | 11 ++++++++++- src/mathed/math_dotsinset.C | 11 +++++++++++ src/mathed/math_dotsinset.h | 10 ++++++++++ src/mathed/math_envinset.C | 10 ++++++++++ src/mathed/math_envinset.h | 17 +++++++++++------ src/mathed/math_ertinset.C | 10 ++++++++++ src/mathed/math_ertinset.h | 10 ++++++++++ src/mathed/math_exfuncinset.C | 10 ++++++++++ src/mathed/math_exfuncinset.h | 10 ++++++++++ src/mathed/math_exintinset.C | 10 ++++++++++ src/mathed/math_exintinset.h | 10 ++++++++++ src/mathed/math_extern.C | 10 ++++++++++ src/mathed/math_extern.h | 11 +++++++++++ src/mathed/math_factory.C | 10 ++++++++++ src/mathed/math_factory.h | 11 +++++++++++ src/mathed/math_fboxinset.C | 10 ++++++++++ src/mathed/math_fboxinset.h | 17 +++++++++++------ src/mathed/math_fontinset.C | 10 ++++++++++ src/mathed/math_fontinset.h | 17 +++++++++++------ src/mathed/math_fontoldinset.C | 11 ++++++++++- src/mathed/math_fontoldinset.h | 17 +++++++++++------ src/mathed/math_fracbase.C | 11 +++++++++++ src/mathed/math_fracbase.h | 10 ++++++++++ src/mathed/math_fracinset.C | 13 +++++++++++++ src/mathed/math_fracinset.h | 17 ++++++++++++----- src/mathed/math_frameboxinset.C | 10 ++++++++++ src/mathed/math_frameboxinset.h | 17 +++++++++++------ src/mathed/math_gridinfo.h | 11 +++++++++++ src/mathed/math_gridinset.C | 10 ++++++++++ src/mathed/math_gridinset.h | 19 ++++++++++++------- src/mathed/math_hullinset.C | 10 ++++++++++ src/mathed/math_hullinset.h | 17 +++++++++++------ src/mathed/math_inset.C | 20 +++++++------------- src/mathed/math_inset.h | 18 ++++++------------ src/mathed/math_iterator.C | 10 ++++++++++ src/mathed/math_iterator.h | 10 ++++++++++ src/mathed/math_kerninset.C | 11 ++++++++++- src/mathed/math_kerninset.h | 10 ++++++++++ src/mathed/math_lefteqninset.C | 12 ++++++++++++ src/mathed/math_lefteqninset.h | 10 ++++++++++ src/mathed/math_liminset.C | 10 ++++++++++ src/mathed/math_liminset.h | 10 ++++++++++ src/mathed/math_macro.C | 19 +++++++------------ src/mathed/math_macro.h | 25 ++++++++----------------- src/mathed/math_macroarg.C | 13 +++++++++++++ src/mathed/math_macroarg.h | 17 ++++++++++++----- src/mathed/math_macrotable.C | 10 ++++++++++ src/mathed/math_macrotable.h | 12 ++++++++++-- src/mathed/math_macrotemplate.C | 10 ++++++++++ src/mathed/math_macrotemplate.h | 17 ++++++++++++----- src/mathed/math_makeboxinset.C | 14 ++++++++++---- src/mathed/math_makeboxinset.h | 21 +++++++++++---------- src/mathed/math_mathmlstream.C | 9 +++++++++ src/mathed/math_mathmlstream.h | 11 +++++++++++ src/mathed/math_matrixinset.C | 12 ++++++++++++ src/mathed/math_matrixinset.h | 10 ++++++++++ src/mathed/math_nestinset.C | 11 +++++++++++ src/mathed/math_nestinset.h | 11 +++++++++++ src/mathed/math_numberinset.C | 11 ++++++++++- src/mathed/math_numberinset.h | 16 +++++++++++----- src/mathed/math_parboxinset.C | 10 ++++++++++ src/mathed/math_parboxinset.h | 10 ++++++++++ src/mathed/math_parinset.C | 9 +++++++++ src/mathed/math_parinset.h | 11 +++++++++++ src/mathed/math_parser.C | 10 ++++++++-- src/mathed/math_parser.h | 18 ++++++------------ src/mathed/math_pos.C | 10 ++++++++++ src/mathed/math_pos.h | 11 +++++++++++ src/mathed/math_replace.h | 11 +++++++++++ src/mathed/math_rootinset.C | 17 ++++++++--------- src/mathed/math_rootinset.h | 21 +++++++-------------- src/mathed/math_scriptinset.C | 10 ++++++++++ src/mathed/math_scriptinset.h | 17 +++++++++++------ src/mathed/math_sizeinset.C | 10 ++++++++++ src/mathed/math_sizeinset.h | 17 +++++++++++------ src/mathed/math_spaceinset.C | 12 ++++++++++++ src/mathed/math_spaceinset.h | 10 ++++++++++ src/mathed/math_splitinset.C | 12 ++++++++++++ src/mathed/math_splitinset.h | 11 ++++++++++- src/mathed/math_sqrtinset.C | 12 ++++++++++++ src/mathed/math_sqrtinset.h | 17 ++++++++++++----- src/mathed/math_stackrelinset.C | 12 ++++++++++++ src/mathed/math_stackrelinset.h | 12 +++++++++++- src/mathed/math_streamstr.C | 9 +++++++++ src/mathed/math_streamstr.h | 9 +++++++++ src/mathed/math_stringinset.C | 11 ++++++++++- src/mathed/math_stringinset.h | 15 +++++++++++---- src/mathed/math_substackinset.C | 10 ++++++++++ src/mathed/math_substackinset.h | 10 ++++++++++ src/mathed/math_support.C | 11 +++++++++++ src/mathed/math_support.h | 10 ++++++++++ src/mathed/math_symbolinset.C | 10 ++++++++++ src/mathed/math_symbolinset.h | 16 +++++++++++++--- src/mathed/math_tabularinset.C | 11 ++++++++++- src/mathed/math_tabularinset.h | 19 +++++++++++-------- src/mathed/math_textinset.C | 10 ++++++++++ src/mathed/math_textinset.h | 10 ++++++++++ src/mathed/math_undersetinset.C | 12 ++++++++++++ src/mathed/math_undersetinset.h | 11 +++++++---- src/mathed/math_unknowninset.C | 10 ++++++++++ src/mathed/math_unknowninset.h | 14 +++++++++++--- src/mathed/math_xarrowinset.C | 10 ++++++++++ src/mathed/math_xarrowinset.h | 17 +++++++++++------ src/mathed/math_xyarrowinset.C | 11 ++++++++++- src/mathed/math_xyarrowinset.h | 10 ++++++++++ src/mathed/ref_inset.C | 10 ++++++++++ src/mathed/ref_inset.h | 11 +++++++++++ src/mathed/textpainter.C | 11 +++++++++++ src/mathed/textpainter.h | 11 +++++++++++ 153 files changed, 1546 insertions(+), 409 deletions(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 2f3efa8bda..3feae06bb5 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2003-08-19 Angus Leeming + + * most files: 'standardise' the header blurb. + 2003-08-12 Michael Schmitt * math_gridinset.C: rename valign-center to valign-middle diff --git a/src/mathed/command_inset.C b/src/mathed/command_inset.C index f818b56a80..f2fa8e6406 100644 --- a/src/mathed/command_inset.C +++ b/src/mathed/command_inset.C @@ -1,3 +1,15 @@ +/** + * \file command_inset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "command_inset.h" #include "math_mathmlstream.h" #include "funcrequest.h" diff --git a/src/mathed/command_inset.h b/src/mathed/command_inset.h index 0e7ed2bf88..d111d58acb 100644 --- a/src/mathed/command_inset.h +++ b/src/mathed/command_inset.h @@ -1,14 +1,12 @@ // -*- C++ -*- - /** - * \file command_inset.h - * - * This file is part of LyX, the document processor. - * Licence details can be found in the file COPYING. + * \file command_inset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * - * Full author contact details are available in file CREDITS. + * Full author contact details are available in file CREDITS. */ diff --git a/src/mathed/formula.C b/src/mathed/formula.C index 8d0d88accb..b7f3f9be18 100644 --- a/src/mathed/formula.C +++ b/src/mathed/formula.C @@ -1,17 +1,13 @@ -/* -* File: formula.C -* Purpose: Implementation of formula inset -* Author: Alejandro Aguilar Sierra -* Created: January 1996 -* Description: Allows the edition of math paragraphs inside Lyx. -* -* Copyright: 1996-1998 Alejandro Aguilar Sierra -* -* Version: 0.4, Lyx project. -* -* You are free to use and modify this code under the terms of -* the GNU General Public Licence version 2 or later. -*/ +/** + * \file formula.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ #include diff --git a/src/mathed/formula.h b/src/mathed/formula.h index 63b85275fe..a0d7abc44f 100644 --- a/src/mathed/formula.h +++ b/src/mathed/formula.h @@ -1,15 +1,13 @@ // -*- C++ -*- - /** - * \file formula.h - * - * This file is part of LyX, the document processor. - * Licence details can be found in the file COPYING. + * \file formula.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author Alejandro Aguilar Sierra - * \author André Pönitz + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Full author contact details are available in file CREDITS. + * Full author contact details are available in file CREDITS. */ #ifndef INSET_FORMULA_H diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 26214af1e5..bd5fdcc8a7 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -1,16 +1,13 @@ -/* -* File: formulabase.C -* Purpose: Implementation of common parts of the LyX math insets -* Author: Alejandro Aguilar Sierra -* Created: January 1996 -* -* Copyright: 1996-1998 Alejandro Aguilar Sierra -* -* Version: 0.4, Lyx project. -* -* You are free to use and modify this code under the terms of -* the GNU General Public Licence version 2 or later. -*/ +/** + * \file formulabase.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ #include diff --git a/src/mathed/formulabase.h b/src/mathed/formulabase.h index 2699af0ffa..8ab46960a2 100644 --- a/src/mathed/formulabase.h +++ b/src/mathed/formulabase.h @@ -1,13 +1,14 @@ // -*- C++ -*- - -/* - * Common parts of the math LyX insets - * \author André Pönitz +/** + * \file formulabase.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Common parts of the math LyX insets. */ #ifndef INSET_FORMULABASE_H diff --git a/src/mathed/formulamacro.C b/src/mathed/formulamacro.C index c11bd1f8b6..39ab932540 100644 --- a/src/mathed/formulamacro.C +++ b/src/mathed/formulamacro.C @@ -1,14 +1,12 @@ -/* - * File: formulamacro.C - * Purpose: Implementation of the formula macro LyX inset - * Author: André Pönitz, based on ideas of Alejandro Aguilar Sierra - * Created: March 2001 - * Description: Allows the edition of math macros inside Lyx. +/** + * \file formulamacro.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Copyright: 2001 The LyX Project + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #include diff --git a/src/mathed/formulamacro.h b/src/mathed/formulamacro.h index 2d7c086981..0db2759a0c 100644 --- a/src/mathed/formulamacro.h +++ b/src/mathed/formulamacro.h @@ -1,15 +1,13 @@ // -*- C++ -*- - -/* - * Main LyX Inset for defining math macros - * - * \author Alejandro Aguilar Sierra - * \author André Pönitz +/** + * \file formulamacro.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Full author contact details are available in file CREDITS + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #ifndef INSET_FORMULA_MACRO_H @@ -23,7 +21,7 @@ class MathMacroTemplate; // An InsetFormulaMacro only knows its name and asks the global // MathMacroTable if it needs to know more. -/// +/// Main LyX Inset for defining math macros class InsetFormulaMacro : public InsetFormulaBase { public: /// diff --git a/src/mathed/math_amsarrayinset.C b/src/mathed/math_amsarrayinset.C index cc8804f0ed..bc89a191dc 100644 --- a/src/mathed/math_amsarrayinset.C +++ b/src/mathed/math_amsarrayinset.C @@ -1,3 +1,13 @@ +/** + * \file math_amsarrayinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_amsarrayinset.h" diff --git a/src/mathed/math_amsarrayinset.h b/src/mathed/math_amsarrayinset.h index 922dcc89b2..4792e974a3 100644 --- a/src/mathed/math_amsarrayinset.h +++ b/src/mathed/math_amsarrayinset.h @@ -1,18 +1,21 @@ // -*- C++ -*- -#ifndef MATH_AMSARRAYINSET_H -#define MATH_AMSARRAYINSET_H - -#include "math_gridinset.h" - - /** - * Inset for things like [pbvV]matrix, psmatrix etc + * \file math_amsarrayinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * * \author André Pönitz * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ +#ifndef MATH_AMSARRAYINSET_H +#define MATH_AMSARRAYINSET_H + +#include "math_gridinset.h" + + +/// Inset for things like [pbvV]matrix, psmatrix etc class MathAMSArrayInset : public MathGridInset { public: /// diff --git a/src/mathed/math_arrayinset.C b/src/mathed/math_arrayinset.C index 8c3629ccad..9465aa03ee 100644 --- a/src/mathed/math_arrayinset.C +++ b/src/mathed/math_arrayinset.C @@ -1,5 +1,14 @@ -#include +/** + * \file math_arrayinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_arrayinset.h" #include "math_parser.h" diff --git a/src/mathed/math_arrayinset.h b/src/mathed/math_arrayinset.h index 642e8bc102..818ac49b4d 100644 --- a/src/mathed/math_arrayinset.h +++ b/src/mathed/math_arrayinset.h @@ -1,18 +1,21 @@ // -*- C++ -*- -#ifndef MATH_ARRAYINSET_H -#define MATH_ARRAYINSET_H - -#include "math_gridinset.h" - - /** - * Inset for things like \begin{array}...\end{array} + * \file math_arrayinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * * \author André Pönitz * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ +#ifndef MATH_ARRAYINSET_H +#define MATH_ARRAYINSET_H + +#include "math_gridinset.h" + + +/// Inset for things like \begin{array}...\end{array} class MathArrayInset : public MathGridInset { public: /// diff --git a/src/mathed/math_atom.C b/src/mathed/math_atom.C index 4ae004f521..6706b33cbc 100644 --- a/src/mathed/math_atom.C +++ b/src/mathed/math_atom.C @@ -1,15 +1,11 @@ -/* - * File: math_atom.C - * Purpose: Wrapper for MathInset * - * Author: André Pönitz - * Created: July 2001 +/** + * \file math_atom.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Copyright: 2001 The LyX team + * \author André Pönitz * - * Version: 1.2.0 - * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #include diff --git a/src/mathed/math_atom.h b/src/mathed/math_atom.h index 286b41ea76..9e02b7a8d3 100644 --- a/src/mathed/math_atom.h +++ b/src/mathed/math_atom.h @@ -1,18 +1,23 @@ // -*- C++ -*- - -#ifndef MATH_ATOM_H -#define MATH_ATOM_H - - /** - * Wrapper for MathInset * with copy-semantics + * \file math_atom.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * * \author André Pönitz * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ +#ifndef MATH_ATOM_H +#define MATH_ATOM_H + + /** +Wrapper for MathInset * with copy-semantics + +-- + The 'atom' is the major blob in math typesetting. And 'atom' consists of a nucleus, an optional superscript, and an optional subscript. diff --git a/src/mathed/math_autocorrect.C b/src/mathed/math_autocorrect.C index 6d6b1f3b14..27fbf604ea 100644 --- a/src/mathed/math_autocorrect.C +++ b/src/mathed/math_autocorrect.C @@ -1,3 +1,13 @@ +/** + * \file math_autocorrect.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "LString.h" diff --git a/src/mathed/math_autocorrect.h b/src/mathed/math_autocorrect.h index e5e4b05e9d..8812722ce0 100644 --- a/src/mathed/math_autocorrect.h +++ b/src/mathed/math_autocorrect.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_autocorrect.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATHAUTOCORRECT_H #define MATHAUTOCORRECT_H diff --git a/src/mathed/math_biginset.C b/src/mathed/math_biginset.C index 95df7ff00e..1bd849d427 100644 --- a/src/mathed/math_biginset.C +++ b/src/mathed/math_biginset.C @@ -1,3 +1,13 @@ +/** + * \file math_biginset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_biginset.h" diff --git a/src/mathed/math_biginset.h b/src/mathed/math_biginset.h index a42a40d929..f5de3d1aa3 100644 --- a/src/mathed/math_biginset.h +++ b/src/mathed/math_biginset.h @@ -1,14 +1,12 @@ // -*- C++ -*- - /** - * \file math_biginset.h - * - * This file is part of LyX, the document processor. - * Licence details can be found in the file COPYING. + * \file math_biginset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * - * Full author contact details are available in file CREDITS. + * Full author contact details are available in file CREDITS. */ #ifndef MATH_BIGINSET_H diff --git a/src/mathed/math_binaryopinset.C b/src/mathed/math_binaryopinset.C index 71ff00f4af..7d7586d048 100644 --- a/src/mathed/math_binaryopinset.C +++ b/src/mathed/math_binaryopinset.C @@ -1,5 +1,15 @@ -#include +/** + * \file math_binaryopinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_binaryopinset.h" #include "PainterInfo.h" diff --git a/src/mathed/math_binaryopinset.h b/src/mathed/math_binaryopinset.h index 319336f4f4..538696e0ff 100644 --- a/src/mathed/math_binaryopinset.h +++ b/src/mathed/math_binaryopinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_binaryopinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_BINARYOPINSET_H #define MATH_BINARYOPINSET_H @@ -6,11 +16,7 @@ #include "math_nestinset.h" -/** An inset for multiplication - * \author André Pönitz - * - * Full author contact details are available in file CREDITS - */ +/// An inset for multiplication class MathBinaryOpInset : public MathNestInset { public: /// diff --git a/src/mathed/math_binominset.C b/src/mathed/math_binominset.C index cce26181ba..20675a8ca4 100644 --- a/src/mathed/math_binominset.C +++ b/src/mathed/math_binominset.C @@ -1,3 +1,13 @@ +/** + * \file math_binominset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_binominset.h" diff --git a/src/mathed/math_binominset.h b/src/mathed/math_binominset.h index fb2fcaae8c..fdda25d0ca 100644 --- a/src/mathed/math_binominset.h +++ b/src/mathed/math_binominset.h @@ -1,13 +1,21 @@ // -*- C++ -*- +/** + * \file math_binominset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_BINOMINSET_H #define MATH_DINOMINSET_H #include "math_fracbase.h" -/** Binom like objects - * \author André Pönitz - */ +/// Binom like objects class MathBinomInset : public MathFracbaseInset { public: /// diff --git a/src/mathed/math_boxinset.C b/src/mathed/math_boxinset.C index 28b3da4f45..dd28994efa 100644 --- a/src/mathed/math_boxinset.C +++ b/src/mathed/math_boxinset.C @@ -1,3 +1,13 @@ +/** + * \file math_boxinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_boxinset.h" diff --git a/src/mathed/math_boxinset.h b/src/mathed/math_boxinset.h index 0f956c2ff5..3b4831c44d 100644 --- a/src/mathed/math_boxinset.h +++ b/src/mathed/math_boxinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_boxinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_BOXINSET_H #define MATH_BOXINSET_H diff --git a/src/mathed/math_braceinset.C b/src/mathed/math_braceinset.C index dd3386121e..fd9258791e 100644 --- a/src/mathed/math_braceinset.C +++ b/src/mathed/math_braceinset.C @@ -1,3 +1,13 @@ +/** + * \file math_braceinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_braceinset.h" diff --git a/src/mathed/math_braceinset.h b/src/mathed/math_braceinset.h index 526983050d..49960a4898 100644 --- a/src/mathed/math_braceinset.h +++ b/src/mathed/math_braceinset.h @@ -1,16 +1,21 @@ // -*- C++ -*- +/** + * \file math_braceinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_BRACEINSET_H #define MATH_BRACEINSET_H #include "math_nestinset.h" -/** Extra nesting - * \author André Pönitz - * - * Full author contact details are available in file CREDITS -*/ - +/// Extra nesting class MathBraceInset : public MathNestInset { public: /// diff --git a/src/mathed/math_casesinset.C b/src/mathed/math_casesinset.C index bb30d2f29c..4655fd6d8d 100644 --- a/src/mathed/math_casesinset.C +++ b/src/mathed/math_casesinset.C @@ -1,5 +1,14 @@ -#include +/** + * \file math_casesinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_casesinset.h" #include "math_parser.h" diff --git a/src/mathed/math_casesinset.h b/src/mathed/math_casesinset.h index 3b15ba47d4..bd112abb2f 100644 --- a/src/mathed/math_casesinset.h +++ b/src/mathed/math_casesinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_casesinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_CASESINSET_H #define MATH_CASESINSET_H diff --git a/src/mathed/math_charinset.C b/src/mathed/math_charinset.C index 2c02372832..7e03bfcc7e 100644 --- a/src/mathed/math_charinset.C +++ b/src/mathed/math_charinset.C @@ -1,3 +1,14 @@ +/** + * \file math_charinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_charinset.h" diff --git a/src/mathed/math_charinset.h b/src/mathed/math_charinset.h index eaeb117cae..0f4509bbd3 100644 --- a/src/mathed/math_charinset.h +++ b/src/mathed/math_charinset.h @@ -1,16 +1,21 @@ // -*- C++ -*- +/** + * \file math_charinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_CHARINSET_H #define MATH_CHARINSET_H #include "math_inset.h" -/** The base character inset. - * \author André Pönitz - * - * Full author contact details are available in file CREDITS - */ - +/// The base character inset. class MathCharInset : public MathInset { public: /// diff --git a/src/mathed/math_commentinset.C b/src/mathed/math_commentinset.C index 8c9247cb43..2d61aaaf4f 100644 --- a/src/mathed/math_commentinset.C +++ b/src/mathed/math_commentinset.C @@ -1,3 +1,13 @@ +/** + * \file math_commentinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_commentinset.h" diff --git a/src/mathed/math_commentinset.h b/src/mathed/math_commentinset.h index f3be725133..9776de4f75 100644 --- a/src/mathed/math_commentinset.h +++ b/src/mathed/math_commentinset.h @@ -1,18 +1,23 @@ // -*- C++ -*- +/** + * \file math_commentinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_COMMENTINSET_H #define MATH_COMMENTINSET_H #include "math_nestinset.h" -/** Inset for end-of-line comments - * \author André Pönitz - * - * Full author contact details are available in file CREDITS - */ - class latexkeys; +/// Inset for end-of-line comments class MathCommentInset : public MathNestInset { public: /// diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index a7ef9b09d2..157d565d09 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -1,21 +1,16 @@ -/* - * File: math_cursor.C - * Purpose: Interaction for mathed - * Author: Alejandro Aguilar Sierra - * Created: January 1996 - * Description: Math interaction for a WYSIWYG math editor. +/** + * \file math_cursor.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Dependencies: Xlib, XForms + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Copyright: 1996, Alejandro Aguilar Sierra - * - * Version: 0.8beta, Math & Lyx project. - * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #include + #include #include "support/lstrings.h" diff --git a/src/mathed/math_cursor.h b/src/mathed/math_cursor.h index e3f35b6578..7bb040e62e 100644 --- a/src/mathed/math_cursor.h +++ b/src/mathed/math_cursor.h @@ -1,17 +1,13 @@ // -*- C++ -*- /** - * File: math_cursor.h - * Purpose: Declaration of interaction classes for mathed - * Author: Alejandro Aguilar Sierra - * Created: January 1996 - * Description: MathCursor control all user interaction + * \file math_cursor.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Dependencies: Xlib, XForms + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Copyright: 1996, Alejandro Aguilar Sierra - * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #ifndef MATH_CURSOR diff --git a/src/mathed/math_data.C b/src/mathed/math_data.C index 60d9833f4a..9094764fae 100644 --- a/src/mathed/math_data.C +++ b/src/mathed/math_data.C @@ -1,3 +1,13 @@ +/** + * \file math_data.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_data.h" diff --git a/src/mathed/math_data.h b/src/mathed/math_data.h index 6d166f23c4..05caf55d00 100644 --- a/src/mathed/math_data.h +++ b/src/mathed/math_data.h @@ -1,18 +1,15 @@ // -*- C++ -*- /** - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. - */ - -/** \class MathArray - \brief Low level container for math insets - * \author Alejandro Aguilar Sierra - * \author André Pönitz - * \author Lars Gullik Bjønnes + * \file math_data.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Full author contact details are available in file CREDITS - \version February 2001 - */ + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS. + */ #ifndef MATH_DATA_H #define MATH_DATA_H diff --git a/src/mathed/math_decorationinset.C b/src/mathed/math_decorationinset.C index 51de586808..55e086241d 100644 --- a/src/mathed/math_decorationinset.C +++ b/src/mathed/math_decorationinset.C @@ -1,5 +1,15 @@ -#include +/** + * \file math_decorationinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_decorationinset.h" #include "math_support.h" diff --git a/src/mathed/math_decorationinset.h b/src/mathed/math_decorationinset.h index 137b4c3913..5a5bbce698 100644 --- a/src/mathed/math_decorationinset.h +++ b/src/mathed/math_decorationinset.h @@ -1,4 +1,15 @@ // -*- C++ -*- +/** + * \file math_decorationinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_DECORATIONINSET_H #define MATH_DECORATIONINSET_H @@ -6,14 +17,9 @@ #include "LString.h" -/** Decorations and accents over (below) a math object - * \author Alejandro Aguilar Sierra - * - * Full author contact details are available in file CREDITS - */ - class latexkeys; +/// Decorations and accents over (below) a math object class MathDecorationInset : public MathNestInset { public: /// diff --git a/src/mathed/math_deliminset.C b/src/mathed/math_deliminset.C index 99a8d53277..a7d0a2f6e7 100644 --- a/src/mathed/math_deliminset.C +++ b/src/mathed/math_deliminset.C @@ -1,3 +1,14 @@ +/** + * \file math_deliminset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_deliminset.h" diff --git a/src/mathed/math_deliminset.h b/src/mathed/math_deliminset.h index 3b02fce75c..9132cef9a8 100644 --- a/src/mathed/math_deliminset.h +++ b/src/mathed/math_deliminset.h @@ -1,4 +1,15 @@ // -*- C++ -*- +/** + * \file math_deliminset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_DELIMINSET_H #define MATH_DELIMINSET_H @@ -6,12 +17,7 @@ #include "LString.h" -/** A delimiter - * \author Alejandro Aguilar Sierra - * - * Full author contact details are available in file CREDITS -*/ - +/// A delimiter class MathDelimInset : public MathNestInset { public: /// diff --git a/src/mathed/math_diffinset.C b/src/mathed/math_diffinset.C index 9080dc8138..d81bbd8c0d 100644 --- a/src/mathed/math_diffinset.C +++ b/src/mathed/math_diffinset.C @@ -1,3 +1,13 @@ +/** + * \file math_diffinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_diffinset.h" diff --git a/src/mathed/math_diffinset.h b/src/mathed/math_diffinset.h index 74e4bc11ee..4eaeaf44f9 100644 --- a/src/mathed/math_diffinset.h +++ b/src/mathed/math_diffinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_diffinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_DIFFINSET_H #define MATH_DIFFINSET_H diff --git a/src/mathed/math_diminset.C b/src/mathed/math_diminset.C index c2d0f9b404..791b361027 100644 --- a/src/mathed/math_diminset.C +++ b/src/mathed/math_diminset.C @@ -1,3 +1,14 @@ +/** + * \file math_diminset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include #include "math_diminset.h" #include "Lsstream.h" diff --git a/src/mathed/math_diminset.h b/src/mathed/math_diminset.h index 1fb5a18af1..75c7cad1cc 100644 --- a/src/mathed/math_diminset.h +++ b/src/mathed/math_diminset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_diminset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_DIMINSET_H #define MATH_DIMINSET_H @@ -7,7 +17,6 @@ /// things that need the dimension cache - class MathDimInset : public MathInset { public: /// not sure whether the initialization is really necessary diff --git a/src/mathed/math_dotsinset.C b/src/mathed/math_dotsinset.C index 086c6c658f..979cf13685 100644 --- a/src/mathed/math_dotsinset.C +++ b/src/mathed/math_dotsinset.C @@ -1,3 +1,14 @@ +/** + * \file math_dotsinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_dotsinset.h" diff --git a/src/mathed/math_dotsinset.h b/src/mathed/math_dotsinset.h index 75d4d9c781..48e8e7de94 100644 --- a/src/mathed/math_dotsinset.h +++ b/src/mathed/math_dotsinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_dotsinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_DOTSINSET_H #define MATH_DOTSINSET_H diff --git a/src/mathed/math_envinset.C b/src/mathed/math_envinset.C index a7e2737be4..68b2b0303b 100644 --- a/src/mathed/math_envinset.C +++ b/src/mathed/math_envinset.C @@ -1,3 +1,13 @@ +/** + * \file math_envinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_envinset.h" diff --git a/src/mathed/math_envinset.h b/src/mathed/math_envinset.h index aa019cde9d..374fbc5acb 100644 --- a/src/mathed/math_envinset.h +++ b/src/mathed/math_envinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_envinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_ENVINSET_H #define MATH_ENVINSET_H @@ -6,12 +16,7 @@ #include "metricsinfo.h" -/** Environtments á la \begin{something}...\end{something} - * \author André Pönitz - * - * Full author contact details are available in file CREDITS -*/ - +/// Environtments á la \begin{something}...\end{something} class MathEnvInset : public MathNestInset { public: /// diff --git a/src/mathed/math_ertinset.C b/src/mathed/math_ertinset.C index 3c61de5225..45d5d41f47 100644 --- a/src/mathed/math_ertinset.C +++ b/src/mathed/math_ertinset.C @@ -1,3 +1,13 @@ +/** + * \file math_ertinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_ertinset.h" diff --git a/src/mathed/math_ertinset.h b/src/mathed/math_ertinset.h index 3e7dd4826a..b7a9acdf27 100644 --- a/src/mathed/math_ertinset.h +++ b/src/mathed/math_ertinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_ertinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_ERTINSET_H #define MATH_ERTINSET_H diff --git a/src/mathed/math_exfuncinset.C b/src/mathed/math_exfuncinset.C index a7079179c6..6757b5801c 100644 --- a/src/mathed/math_exfuncinset.C +++ b/src/mathed/math_exfuncinset.C @@ -1,3 +1,13 @@ +/** + * \file math_exfuncinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_exfuncinset.h" diff --git a/src/mathed/math_exfuncinset.h b/src/mathed/math_exfuncinset.h index 6422af0f7a..f0df907495 100644 --- a/src/mathed/math_exfuncinset.h +++ b/src/mathed/math_exfuncinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_exfuncinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_EXFUNCINSET_H #define MATH_EXFUNCINSET_H diff --git a/src/mathed/math_exintinset.C b/src/mathed/math_exintinset.C index f044f51340..3658e281ad 100644 --- a/src/mathed/math_exintinset.C +++ b/src/mathed/math_exintinset.C @@ -1,3 +1,13 @@ +/** + * \file math_exintinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_exintinset.h" diff --git a/src/mathed/math_exintinset.h b/src/mathed/math_exintinset.h index 3a226d8fd8..fcb3dbf3a0 100644 --- a/src/mathed/math_exintinset.h +++ b/src/mathed/math_exintinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_exintinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_EXINTINSET_H #define MATH_EXINTINSET_H diff --git a/src/mathed/math_extern.C b/src/mathed/math_extern.C index e0c386bc09..0d40f9873d 100644 --- a/src/mathed/math_extern.C +++ b/src/mathed/math_extern.C @@ -1,3 +1,13 @@ +/** + * \file math_extern.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + // This file contains most of the magic that extracts "context // information" from the unstructered layout-oriented stuff in an // MathArray. diff --git a/src/mathed/math_extern.h b/src/mathed/math_extern.h index 94406652d0..21989f0211 100644 --- a/src/mathed/math_extern.h +++ b/src/mathed/math_extern.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_extern.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_EXTERN_H #define MATH_EXTERN_H diff --git a/src/mathed/math_factory.C b/src/mathed/math_factory.C index ad680b28d1..b4e6418d60 100644 --- a/src/mathed/math_factory.C +++ b/src/mathed/math_factory.C @@ -1,3 +1,13 @@ +/** + * \file math_factory.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_parser.h" diff --git a/src/mathed/math_factory.h b/src/mathed/math_factory.h index bcecc29d3b..a4389a158b 100644 --- a/src/mathed/math_factory.h +++ b/src/mathed/math_factory.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_factory.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_FACTORY_H #define MATH_FACTORY_H diff --git a/src/mathed/math_fboxinset.C b/src/mathed/math_fboxinset.C index 53316e0ba8..4824231ddf 100644 --- a/src/mathed/math_fboxinset.C +++ b/src/mathed/math_fboxinset.C @@ -1,3 +1,13 @@ +/** + * \file math_fboxinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_fboxinset.h" diff --git a/src/mathed/math_fboxinset.h b/src/mathed/math_fboxinset.h index 791688bc9d..114637e816 100644 --- a/src/mathed/math_fboxinset.h +++ b/src/mathed/math_fboxinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_fboxinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_FBOXINSET_H #define MATH_FBOXINSET_H @@ -6,14 +16,9 @@ #include "metricsinfo.h" -/** Extra nesting - * \author André Pönitz - * - * Full author contact details are available in file CREDITS -*/ - class latexkeys; +/// Extra nesting class MathFboxInset : public MathNestInset { public: /// diff --git a/src/mathed/math_fontinset.C b/src/mathed/math_fontinset.C index 877ebd2001..d9728d6573 100644 --- a/src/mathed/math_fontinset.C +++ b/src/mathed/math_fontinset.C @@ -1,3 +1,13 @@ +/** + * \file math_fontinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_fontinset.h" diff --git a/src/mathed/math_fontinset.h b/src/mathed/math_fontinset.h index dd63764043..1861b03a0a 100644 --- a/src/mathed/math_fontinset.h +++ b/src/mathed/math_fontinset.h @@ -1,18 +1,23 @@ // -*- C++ -*- +/** + * \file math_fontinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_FONTINSET_H #define MATH_FONTINSET_H #include "math_nestinset.h" -/** Inset for font changes - * \author André Pönitz - * - * Full author contact details are available in file CREDITS - */ - class latexkeys; +/// Inset for font changes class MathFontInset : public MathNestInset { public: /// diff --git a/src/mathed/math_fontoldinset.C b/src/mathed/math_fontoldinset.C index 8c603178c8..1bb2165116 100644 --- a/src/mathed/math_fontoldinset.C +++ b/src/mathed/math_fontoldinset.C @@ -1,5 +1,14 @@ -#include +/** + * \file math_fontoldinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_fontoldinset.h" #include "math_mathmlstream.h" diff --git a/src/mathed/math_fontoldinset.h b/src/mathed/math_fontoldinset.h index 36110e8fae..09a0df3baa 100644 --- a/src/mathed/math_fontoldinset.h +++ b/src/mathed/math_fontoldinset.h @@ -1,18 +1,23 @@ // -*- C++ -*- +/** + * \file math_fontoldinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_FONTOLDINSET_H #define MATH_FONTOLDINSET_H #include "math_nestinset.h" -/** Old-style font changes - * \author André Pönitz - * - * Full author contact details are available in file CREDITS - */ - class latexkeys; +/// Old-style font changes class MathFontOldInset : public MathNestInset { public: /// diff --git a/src/mathed/math_fracbase.C b/src/mathed/math_fracbase.C index aca9f6fcf7..24b79f40b2 100644 --- a/src/mathed/math_fracbase.C +++ b/src/mathed/math_fracbase.C @@ -1,3 +1,14 @@ +/** + * \file math_fracbase.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include #include "math_fracbase.h" diff --git a/src/mathed/math_fracbase.h b/src/mathed/math_fracbase.h index 96393bb651..57645ba5e5 100644 --- a/src/mathed/math_fracbase.h +++ b/src/mathed/math_fracbase.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_fracbase.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_FRACBASE_H #define MATH_FRACBASE_H diff --git a/src/mathed/math_fracinset.C b/src/mathed/math_fracinset.C index 68513554f5..384be55469 100644 --- a/src/mathed/math_fracinset.C +++ b/src/mathed/math_fracinset.C @@ -1,3 +1,16 @@ +/** + * \file math_fracinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_fracinset.h" #include "math_support.h" #include "frontends/Painter.h" diff --git a/src/mathed/math_fracinset.h b/src/mathed/math_fracinset.h index c0621dad00..b41ef948bb 100644 --- a/src/mathed/math_fracinset.h +++ b/src/mathed/math_fracinset.h @@ -1,15 +1,22 @@ // -*- C++ -*- +/** + * \file math_fracinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_FRACINSET_H #define MATH_FRACINSET_H #include "math_fracbase.h" -/** Fraction like objects (frac, binom) - * \author Alejandro Aguilar Sierra - * - * Full author contact details are available in file CREDITS - */ +/// Fraction like objects (frac, binom) class MathFracInset : public MathFracbaseInset { public: /// diff --git a/src/mathed/math_frameboxinset.C b/src/mathed/math_frameboxinset.C index f077e11eb0..1f11e421d4 100644 --- a/src/mathed/math_frameboxinset.C +++ b/src/mathed/math_frameboxinset.C @@ -1,3 +1,13 @@ +/** + * \file math_frameboxinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_frameboxinset.h" diff --git a/src/mathed/math_frameboxinset.h b/src/mathed/math_frameboxinset.h index a563099d39..e7adbdd52f 100644 --- a/src/mathed/math_frameboxinset.h +++ b/src/mathed/math_frameboxinset.h @@ -1,16 +1,21 @@ // -*- C++ -*- +/** + * \file math_frameboxinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_FRAMEBOXINSET_H #define MATH_FRAMEBOXINSET_H #include "math_nestinset.h" -/** Extra nesting - * \author André Pönitz - * - * Full author contact details are available in file CREDITS -*/ - +/// Extra nesting class MathFrameboxInset : public MathNestInset { public: /// diff --git a/src/mathed/math_gridinfo.h b/src/mathed/math_gridinfo.h index 5d3e844767..eed8590879 100644 --- a/src/mathed/math_gridinfo.h +++ b/src/mathed/math_gridinfo.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_gridinfo.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_GRIDINFO_H #define MATH_GRIDINFO_H diff --git a/src/mathed/math_gridinset.C b/src/mathed/math_gridinset.C index 50d4fef3ed..71b505da99 100644 --- a/src/mathed/math_gridinset.C +++ b/src/mathed/math_gridinset.C @@ -1,3 +1,13 @@ +/** + * \file math_gridinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_gridinset.h" diff --git a/src/mathed/math_gridinset.h b/src/mathed/math_gridinset.h index f6739f2601..361e3ec956 100644 --- a/src/mathed/math_gridinset.h +++ b/src/mathed/math_gridinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_gridinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_GRID_H #define MATH_GRID_H @@ -8,13 +18,8 @@ /** Gridded math inset base class. - This is the base to all grid-like editable math objects - like array and eqnarray. - * \author André Pönitz 2001 - * - * Full author contact details are available in file CREDITS -*/ - + * This is the base to all grid-like editable math objects + */ class MathGridInset : public MathNestInset { public: diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index 5a076d3a9e..15ca41d6ea 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -1,3 +1,13 @@ +/** + * \file math_hullinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_hullinset.h" diff --git a/src/mathed/math_hullinset.h b/src/mathed/math_hullinset.h index adbdc2dd75..6c9237351a 100644 --- a/src/mathed/math_hullinset.h +++ b/src/mathed/math_hullinset.h @@ -1,18 +1,23 @@ // -*- C++ -*- +/** + * \file math_hullinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_HULLINSET_H #define MATH_HULLINSET_H #include "math_gridinset.h" -/** This provides an interface between "LyX insets" and "LyX math insets" - * \author André Pönitz - * - * Full author contact details are available in file CREDITS - */ - class LaTeXFeatures; +/// This provides an interface between "LyX insets" and "LyX math insets" class MathHullInset : public MathGridInset { public: /// diff --git a/src/mathed/math_inset.C b/src/mathed/math_inset.C index 1a9b26d3e5..9c998f0683 100644 --- a/src/mathed/math_inset.C +++ b/src/mathed/math_inset.C @@ -1,18 +1,12 @@ -/* - * File: math_inset.C - * Purpose: Implementation of insets for mathed - * Author: Alejandro Aguilar Sierra - * Created: January 1996 - * Description: +/** + * \file math_inset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Dependencies: Xlib, XForms + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Copyright: 1996, 1997 Alejandro Aguilar Sierra - * - * Version: 0.8beta. - * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #include diff --git a/src/mathed/math_inset.h b/src/mathed/math_inset.h index b5e5d20f6a..7652342642 100644 --- a/src/mathed/math_inset.h +++ b/src/mathed/math_inset.h @@ -1,19 +1,13 @@ // -*- C++ -*- /** - * File: math_inset.h - * Purpose: Declaration of insets for mathed - * Author: Alejandro Aguilar Sierra - * Created: January 1996 - * Description: Math paragraph and objects for a WYSIWYG math editor. + * \file math_inset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Dependencies: Xlib, XForms + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Copyright: 1996, 1997 Alejandro Aguilar Sierra - * - * Version: 0.8beta, Math & Lyx project. - * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #ifndef MATH_INSET_H diff --git a/src/mathed/math_iterator.C b/src/mathed/math_iterator.C index 0ee78e844e..bd15564ac0 100644 --- a/src/mathed/math_iterator.C +++ b/src/mathed/math_iterator.C @@ -1,3 +1,13 @@ +/** + * \file math_iterator.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_iterator.h" diff --git a/src/mathed/math_iterator.h b/src/mathed/math_iterator.h index 91c39d4db1..bc437b74d3 100644 --- a/src/mathed/math_iterator.h +++ b/src/mathed/math_iterator.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_iterator.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_ITERATOR_H #define MATH_ITERATOR_H diff --git a/src/mathed/math_kerninset.C b/src/mathed/math_kerninset.C index ff11550a65..116a266f70 100644 --- a/src/mathed/math_kerninset.C +++ b/src/mathed/math_kerninset.C @@ -1,5 +1,14 @@ -#include +/** + * \file math_kerninset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_kerninset.h" #include "math_extern.h" diff --git a/src/mathed/math_kerninset.h b/src/mathed/math_kerninset.h index 1d8db5c0b8..e5358ecf35 100644 --- a/src/mathed/math_kerninset.h +++ b/src/mathed/math_kerninset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_kerninset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_CHEATINSET_H #define MATH_CHEATINSET_H diff --git a/src/mathed/math_lefteqninset.C b/src/mathed/math_lefteqninset.C index d53cefbf0e..e693ed79e0 100644 --- a/src/mathed/math_lefteqninset.C +++ b/src/mathed/math_lefteqninset.C @@ -1,3 +1,15 @@ +/** + * \file math_lefteqninset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_lefteqninset.h" #include "math_support.h" #include "support/LOstream.h" diff --git a/src/mathed/math_lefteqninset.h b/src/mathed/math_lefteqninset.h index 2591a25c2d..0b7cbd199a 100644 --- a/src/mathed/math_lefteqninset.h +++ b/src/mathed/math_lefteqninset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_lefteqninset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_LEFTEQNINSET_H #define MATH_LEFTEQNINSET_H diff --git a/src/mathed/math_liminset.C b/src/mathed/math_liminset.C index 353db5c403..4e0721aa99 100644 --- a/src/mathed/math_liminset.C +++ b/src/mathed/math_liminset.C @@ -1,3 +1,13 @@ +/** + * \file math_liminset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_liminset.h" diff --git a/src/mathed/math_liminset.h b/src/mathed/math_liminset.h index 34fe7348a0..cd9d2579c5 100644 --- a/src/mathed/math_liminset.h +++ b/src/mathed/math_liminset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_liminset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_LIMINSET_H #define MATH_LIMINSET_H diff --git a/src/mathed/math_macro.C b/src/mathed/math_macro.C index 486e29518e..340c448c3c 100644 --- a/src/mathed/math_macro.C +++ b/src/mathed/math_macro.C @@ -1,17 +1,12 @@ -/* - * File: math_macro.C - * Purpose: Implementation of macro class for mathed - * Author: Alejandro Aguilar Sierra - * Created: November 1996 - * Description: WYSIWYG math macros +/** + * \file math_macro.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Dependencies: Math + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Copyright: 1996, 1997 Alejandro Aguilar Sierra - * - * Version: 0.2, Math & Lyx project. - * - * This code is under the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #include diff --git a/src/mathed/math_macro.h b/src/mathed/math_macro.h index f92d484a1b..6d513bec21 100644 --- a/src/mathed/math_macro.h +++ b/src/mathed/math_macro.h @@ -1,19 +1,15 @@ // -*- C++ -*- /** - * File: math_macro.h - * Purpose: Declaration of macro class for mathed - * Author: Alejandro Aguilar Sierra - * Created: November 1996 - * Description: WYSIWYG math macros + * \file math_macro.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Dependencies: Math + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Copyright: 1996, 1997 Alejandro Aguilar Sierra - * - * Version: 0.2, Math & Lyx project. - * - * This code is under the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ + #ifndef MATH_MACRO_H #define MATH_MACRO_H @@ -26,12 +22,7 @@ class MathMacroTemplate; -/** This class contains the data for a macro - * \author Alejandro Aguilar Sierra - * - * Full author contact details are available in file CREDITS - \version November 1996 - */ +/// This class contains the data for a macro. class MathMacro : public MathNestInset { public: /// A macro can be built from an existing template diff --git a/src/mathed/math_macroarg.C b/src/mathed/math_macroarg.C index 09f3626f7e..5073c37087 100644 --- a/src/mathed/math_macroarg.C +++ b/src/mathed/math_macroarg.C @@ -1,3 +1,16 @@ +/** + * \file math_macroarg.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_macroarg.h" #include "math_macro.h" #include "math_mathmlstream.h" diff --git a/src/mathed/math_macroarg.h b/src/mathed/math_macroarg.h index 8f22142344..0c4e440dd6 100644 --- a/src/mathed/math_macroarg.h +++ b/src/mathed/math_macroarg.h @@ -1,15 +1,22 @@ // -*- C++ -*- +/** + * \file math_macroarg.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATHMACROARGUMENT_H #define MATHMACROARGUMENT_H #include "math_nestinset.h" -/** A macro argument - * \author Alejandro Aguilar Sierra - * - * Full author contact details are available in file CREDITS -*/ +/// A macro argument. class MathMacroArgument : public MathNestInset { public: /// diff --git a/src/mathed/math_macrotable.C b/src/mathed/math_macrotable.C index 250d42b7fc..885bd5b3b3 100644 --- a/src/mathed/math_macrotable.C +++ b/src/mathed/math_macrotable.C @@ -1,3 +1,13 @@ +/** + * \file math_macrotable.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_macrotable.h" diff --git a/src/mathed/math_macrotable.h b/src/mathed/math_macrotable.h index efd3aabf13..8a6b191e4e 100644 --- a/src/mathed/math_macrotable.h +++ b/src/mathed/math_macrotable.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_macrotable.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_MACROTABLE_H #define MATH_MACROTABLE_H @@ -7,8 +17,6 @@ #include "math_atom.h" - -/// class MathMacroTable { public: /// diff --git a/src/mathed/math_macrotemplate.C b/src/mathed/math_macrotemplate.C index da2d4ff52f..3c370383ee 100644 --- a/src/mathed/math_macrotemplate.C +++ b/src/mathed/math_macrotemplate.C @@ -1,3 +1,13 @@ +/** + * \file math_macrotemplate.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_macrotemplate.h" diff --git a/src/mathed/math_macrotemplate.h b/src/mathed/math_macrotemplate.h index ef439add4f..ff91f21450 100644 --- a/src/mathed/math_macrotemplate.h +++ b/src/mathed/math_macrotemplate.h @@ -1,4 +1,15 @@ // -*- C++ -*- +/** + * \file math_macrotemplate.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_MACROTEMPLATE_H #define MATH_MACROTEMPLATE_H @@ -8,13 +19,9 @@ class MathMacro; -/** This class contains the macro definition - * \author Alejandro Aguilar Sierra - * - * Full author contact details are available in file CREDITS - */ //class MathMacroTemplate : public MathInset, boost::noncopyable +/// This class contains the macro definition. class MathMacroTemplate : public MathNestInset { public: /// diff --git a/src/mathed/math_makeboxinset.C b/src/mathed/math_makeboxinset.C index b708d4a7da..1ae10b0270 100644 --- a/src/mathed/math_makeboxinset.C +++ b/src/mathed/math_makeboxinset.C @@ -1,8 +1,14 @@ -#include +/** + * \file math_makeboxinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Ling Li + * + * Full author contact details are available in file CREDITS. + */ -#ifdef __GNUG__ -#pragma implementation -#endif +#include #include "math_makeboxinset.h" #include "math_support.h" diff --git a/src/mathed/math_makeboxinset.h b/src/mathed/math_makeboxinset.h index bdeb78ff81..ee31ad239b 100644 --- a/src/mathed/math_makeboxinset.h +++ b/src/mathed/math_makeboxinset.h @@ -1,19 +1,20 @@ // -*- C++ -*- +/** + * \file math_makeboxinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Ling Li + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_MAKEBOXINSET_H #define MATH_MAKEBOXINSET_H #include "math_nestinset.h" -#ifdef __GNUG__ -#pragma interface -#endif - -/** Extra nesting: \\makebox. - * \author Ling Li - * - * Full author contact details are available in file CREDITS - */ - +/// Extra nesting: \\makebox. // consolidate with MathFrameboxInset? class MathMakeboxInset : public MathNestInset { diff --git a/src/mathed/math_mathmlstream.C b/src/mathed/math_mathmlstream.C index a395288680..9cfbdac62e 100644 --- a/src/mathed/math_mathmlstream.C +++ b/src/mathed/math_mathmlstream.C @@ -1,3 +1,12 @@ +/** + * \file math_mathmlstream.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ #include diff --git a/src/mathed/math_mathmlstream.h b/src/mathed/math_mathmlstream.h index 3c0d69ae38..1a4ee55e73 100644 --- a/src/mathed/math_mathmlstream.h +++ b/src/mathed/math_mathmlstream.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_mathmlstream.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_MATHMLSTREAM_H #define MATH_MATHMLSTREAM_H diff --git a/src/mathed/math_matrixinset.C b/src/mathed/math_matrixinset.C index 0fd840463e..e26e1416b6 100644 --- a/src/mathed/math_matrixinset.C +++ b/src/mathed/math_matrixinset.C @@ -1,3 +1,15 @@ +/** + * \file math_matrixinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_matrixinset.h" #include "math_parser.h" #include "math_mathmlstream.h" diff --git a/src/mathed/math_matrixinset.h b/src/mathed/math_matrixinset.h index 022ec3d302..50d7baccd3 100644 --- a/src/mathed/math_matrixinset.h +++ b/src/mathed/math_matrixinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_matrixinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_MATRIXINSET_H #define MATH_MATRIXINSET_H diff --git a/src/mathed/math_nestinset.C b/src/mathed/math_nestinset.C index ddb730fd8c..9411cc01ad 100644 --- a/src/mathed/math_nestinset.C +++ b/src/mathed/math_nestinset.C @@ -1,3 +1,14 @@ +/** + * \file math_nestinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include #include "math_nestinset.h" #include "math_cursor.h" diff --git a/src/mathed/math_nestinset.h b/src/mathed/math_nestinset.h index 2d87fbdc1e..72edfe4821 100644 --- a/src/mathed/math_nestinset.h +++ b/src/mathed/math_nestinset.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_nestinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_NESTINSET_H #define MATH_NESTINSET_H diff --git a/src/mathed/math_numberinset.C b/src/mathed/math_numberinset.C index 249221153e..5417200afd 100644 --- a/src/mathed/math_numberinset.C +++ b/src/mathed/math_numberinset.C @@ -1,5 +1,14 @@ -#include +/** + * \file math_numberinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_numberinset.h" #include "math_mathmlstream.h" diff --git a/src/mathed/math_numberinset.h b/src/mathed/math_numberinset.h index 8c20c3149f..aca947bb9c 100644 --- a/src/mathed/math_numberinset.h +++ b/src/mathed/math_numberinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_numberinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_NUMBERINSET_H #define MATH_NUMBERINSET_H @@ -6,12 +16,8 @@ /** Some inset that "is" a number - * maily for math-extern - * \author André Pönitz - * - * Full author contact details are available in file CREDITS + * mainly for math-extern */ - class MathNumberInset : public MathInset { public: /// diff --git a/src/mathed/math_parboxinset.C b/src/mathed/math_parboxinset.C index e98937b7f0..86766ba5c8 100644 --- a/src/mathed/math_parboxinset.C +++ b/src/mathed/math_parboxinset.C @@ -1,3 +1,13 @@ +/** + * \file math_parboxinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_parboxinset.h" diff --git a/src/mathed/math_parboxinset.h b/src/mathed/math_parboxinset.h index b57a32d23c..6800cadf21 100644 --- a/src/mathed/math_parboxinset.h +++ b/src/mathed/math_parboxinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_parboxinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_PARBOXINSET_H #define MATH_PARBOXINSET_H diff --git a/src/mathed/math_parinset.C b/src/mathed/math_parinset.C index 4910404687..9de32455f1 100644 --- a/src/mathed/math_parinset.C +++ b/src/mathed/math_parinset.C @@ -1,3 +1,12 @@ +/** + * \file math_parinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ #include diff --git a/src/mathed/math_parinset.h b/src/mathed/math_parinset.h index f27230e949..6be910752d 100644 --- a/src/mathed/math_parinset.h +++ b/src/mathed/math_parinset.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_parinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_PARINSET_H #define MATH_PARINSET_H diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index e03d83dfe2..9827f6bdf3 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -1,5 +1,11 @@ -/** The math parser - \author André Pönitz (2001) +/** + * \file math_parser.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. */ /* diff --git a/src/mathed/math_parser.h b/src/mathed/math_parser.h index 4aa2146705..b2472a86cf 100644 --- a/src/mathed/math_parser.h +++ b/src/mathed/math_parser.h @@ -1,19 +1,13 @@ // -*- C++ -*- /** - * File: math_parser.h - * Purpose: Declaration of parsing utilities for mathed - * Author: Alejandro Aguilar Sierra - * Created: January 1996 - * Description: Parse LaTeX2e math mode code. + * \file math_parser.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Dependencies: Xlib, XForms + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Copyright: 1996, Alejandro Aguilar Sierra - * - * Version: 0.8beta. - * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #ifndef MATH_PARSER_H diff --git a/src/mathed/math_pos.C b/src/mathed/math_pos.C index 447e6fdf26..522ac72443 100644 --- a/src/mathed/math_pos.C +++ b/src/mathed/math_pos.C @@ -1,3 +1,13 @@ +/** + * \file math_pos.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_pos.h" diff --git a/src/mathed/math_pos.h b/src/mathed/math_pos.h index 4c79faa3cc..95db7c7898 100644 --- a/src/mathed/math_pos.h +++ b/src/mathed/math_pos.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_pos.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_POS_H #define MATH_POS_H diff --git a/src/mathed/math_replace.h b/src/mathed/math_replace.h index b718673bc8..54f47d0358 100644 --- a/src/mathed/math_replace.h +++ b/src/mathed/math_replace.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file math_replace.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_REPLACE_H #define MATH_REPLACE_H diff --git a/src/mathed/math_rootinset.C b/src/mathed/math_rootinset.C index f9ffc027b0..3b41365508 100644 --- a/src/mathed/math_rootinset.C +++ b/src/mathed/math_rootinset.C @@ -1,16 +1,15 @@ -/* - * File: math_root.C - * Purpose: Implementation of the root object - * Author: Alejandro Aguilar Sierra - * Created: January 1999 - * Description: Root math object +/** + * \file math_rootinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Copyright: 1999 Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ +#include #include "math_rootinset.h" #include "math_mathmlstream.h" diff --git a/src/mathed/math_rootinset.h b/src/mathed/math_rootinset.h index 7d5881f1d9..366c77d43d 100644 --- a/src/mathed/math_rootinset.h +++ b/src/mathed/math_rootinset.h @@ -1,15 +1,13 @@ // -*- C++ -*- /** - * File: math_root.h - * Purpose: Declaration of the root object - * Author: Alejandro Aguilar Sierra - * Created: January 1999 - * Description: Root math object + * \file math_rootinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Copyright: 1999 Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #ifndef MATH_ROOT_H @@ -18,12 +16,7 @@ #include "math_nestinset.h" -/** The general n-th root inset. - * \author Alejandro Aguilar Sierra - * - * Full author contact details are available in file CREDITS - \version January 1999 - */ +/// The general n-th root inset. class MathRootInset : public MathNestInset { public: /// diff --git a/src/mathed/math_scriptinset.C b/src/mathed/math_scriptinset.C index bd054206ae..7350dcb919 100644 --- a/src/mathed/math_scriptinset.C +++ b/src/mathed/math_scriptinset.C @@ -1,3 +1,13 @@ +/** + * \file math_scriptinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_scriptinset.h" diff --git a/src/mathed/math_scriptinset.h b/src/mathed/math_scriptinset.h index e1a377244b..408f9015bb 100644 --- a/src/mathed/math_scriptinset.h +++ b/src/mathed/math_scriptinset.h @@ -1,16 +1,21 @@ // -*- C++ -*- +/** + * \file math_scriptinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_SCRIPTINSET_H #define MATH_SCRIPTINSET_H #include "math_nestinset.h" -/** Inset for super- and subscripts - * \author André Pönitz - * - * Full author contact details are available in file CREDITS - */ - +/// An inset for super- and subscripts. class MathScriptInset : public MathNestInset { public: /// create inset without scripts diff --git a/src/mathed/math_sizeinset.C b/src/mathed/math_sizeinset.C index 2d883edce1..1e744835c9 100644 --- a/src/mathed/math_sizeinset.C +++ b/src/mathed/math_sizeinset.C @@ -1,3 +1,13 @@ +/** + * \file math_sizeinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_sizeinset.h" diff --git a/src/mathed/math_sizeinset.h b/src/mathed/math_sizeinset.h index daf0817101..2ec061a0e3 100644 --- a/src/mathed/math_sizeinset.h +++ b/src/mathed/math_sizeinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_sizeinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATHSIZEINSET_H #define MATHSIZEINSET_H @@ -6,14 +16,9 @@ #include "metricsinfo.h" -/** An inset for \scriptsize etc - * \author André Pönitz - * - * Full author contact details are available in file CREDITS -*/ - class latexkeys; +/// An inset for \scriptsize etc. class MathSizeInset : public MathNestInset { public: /// diff --git a/src/mathed/math_spaceinset.C b/src/mathed/math_spaceinset.C index 155d955f0f..99b51492f9 100644 --- a/src/mathed/math_spaceinset.C +++ b/src/mathed/math_spaceinset.C @@ -1,3 +1,15 @@ +/** + * \file math_spaceinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_spaceinset.h" #include "math_data.h" #include "math_support.h" diff --git a/src/mathed/math_spaceinset.h b/src/mathed/math_spaceinset.h index d2a51a1aab..da61168c00 100644 --- a/src/mathed/math_spaceinset.h +++ b/src/mathed/math_spaceinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_spaceinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_SPACEINSET_H #define MATH_SPACEINSET_H diff --git a/src/mathed/math_splitinset.C b/src/mathed/math_splitinset.C index 8f75268086..6cd7fb698d 100644 --- a/src/mathed/math_splitinset.C +++ b/src/mathed/math_splitinset.C @@ -1,3 +1,15 @@ +/** + * \file math_splitinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_splitinset.h" #include "math_mathmlstream.h" #include "math_streamstr.h" diff --git a/src/mathed/math_splitinset.h b/src/mathed/math_splitinset.h index efd6f2c483..9320ff37d3 100644 --- a/src/mathed/math_splitinset.h +++ b/src/mathed/math_splitinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_splitinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_SPLITINSET_H #define MATH_SPLITINSET_H @@ -6,7 +16,6 @@ #include "LString.h" - class MathSplitInset : public MathGridInset { public: /// diff --git a/src/mathed/math_sqrtinset.C b/src/mathed/math_sqrtinset.C index 9a3d3c6f72..ea48241718 100644 --- a/src/mathed/math_sqrtinset.C +++ b/src/mathed/math_sqrtinset.C @@ -1,3 +1,15 @@ +/** + * \file math_sqrtinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_sqrtinset.h" #include "math_mathmlstream.h" #include "LColor.h" diff --git a/src/mathed/math_sqrtinset.h b/src/mathed/math_sqrtinset.h index b90dae0409..7279ef3e81 100644 --- a/src/mathed/math_sqrtinset.h +++ b/src/mathed/math_sqrtinset.h @@ -1,15 +1,22 @@ // -*- C++ -*- +/** + * \file math_sqrtinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_SQRTINSET_H #define MATH_SQRTINSET_H #include "math_nestinset.h" -/** The square root inset. - * \author Alejandro Aguilar Siearra - * - * Full author contact details are available in file CREDITS - */ +/// \c MathSqrtInset The square root inset. class MathSqrtInset : public MathNestInset { public: /// diff --git a/src/mathed/math_stackrelinset.C b/src/mathed/math_stackrelinset.C index 3f31cfde1b..befe1391b4 100644 --- a/src/mathed/math_stackrelinset.C +++ b/src/mathed/math_stackrelinset.C @@ -1,3 +1,15 @@ +/** + * \file math_stackrelinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_stackrelinset.h" #include "math_mathmlstream.h" #include "math_support.h" diff --git a/src/mathed/math_stackrelinset.h b/src/mathed/math_stackrelinset.h index 94e5a1e960..f53033a978 100644 --- a/src/mathed/math_stackrelinset.h +++ b/src/mathed/math_stackrelinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_stackrelinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_STACKRELINSET_H #define MATH_STACKRELINSET_H @@ -8,7 +18,7 @@ /** Stackrel objects * \author André Pönitz * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ class MathStackrelInset : public MathFracbaseInset { public: diff --git a/src/mathed/math_streamstr.C b/src/mathed/math_streamstr.C index 9bcd9b1763..5db3b9a42c 100644 --- a/src/mathed/math_streamstr.C +++ b/src/mathed/math_streamstr.C @@ -1,3 +1,12 @@ +/** + * \file math_streamstr.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ #include diff --git a/src/mathed/math_streamstr.h b/src/mathed/math_streamstr.h index 7f1293b31f..d5d2c1c4e6 100644 --- a/src/mathed/math_streamstr.h +++ b/src/mathed/math_streamstr.h @@ -1,4 +1,13 @@ // -*- C++ -*- +/** + * \file math_streamstr.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ #ifndef MATH_STREAMSTR_H #define MATH_STREAMSTR_H diff --git a/src/mathed/math_stringinset.C b/src/mathed/math_stringinset.C index b1dcddae5c..68e604ccb1 100644 --- a/src/mathed/math_stringinset.C +++ b/src/mathed/math_stringinset.C @@ -1,5 +1,14 @@ -#include +/** + * \file math_stringinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_stringinset.h" #include "math_mathmlstream.h" diff --git a/src/mathed/math_stringinset.h b/src/mathed/math_stringinset.h index e1f4dbf33c..5f38f66a9f 100644 --- a/src/mathed/math_stringinset.h +++ b/src/mathed/math_stringinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_stringinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_STRINGINSET_H #define MATH_STRINGINSET_H @@ -6,10 +16,7 @@ /** Some collection of chars with similar properties - * maily for math-extern - * \author André Pönitz - * - * Full author contact details are available in file CREDITS + * mainly for math-extern */ class MathStringInset : public MathInset { diff --git a/src/mathed/math_substackinset.C b/src/mathed/math_substackinset.C index 21727de1c1..33e670674e 100644 --- a/src/mathed/math_substackinset.C +++ b/src/mathed/math_substackinset.C @@ -1,3 +1,13 @@ +/** + * \file math_substackinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_substackinset.h" diff --git a/src/mathed/math_substackinset.h b/src/mathed/math_substackinset.h index e2987340fd..1f4dcdc209 100644 --- a/src/mathed/math_substackinset.h +++ b/src/mathed/math_substackinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_substackinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_SUBSTACK_H #define MATH_SUBSTACK_H diff --git a/src/mathed/math_support.C b/src/mathed/math_support.C index 085479df10..8be4b03e73 100644 --- a/src/mathed/math_support.C +++ b/src/mathed/math_support.C @@ -1,3 +1,14 @@ +/** + * \file math_support.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_support.h" diff --git a/src/mathed/math_support.h b/src/mathed/math_support.h index 9ecf7d8d05..83997befd3 100644 --- a/src/mathed/math_support.h +++ b/src/mathed/math_support.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_support.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ #ifndef MATH_SUPPORT_H #define MATH_SUPPORT_H diff --git a/src/mathed/math_symbolinset.C b/src/mathed/math_symbolinset.C index 809e254649..834905b726 100644 --- a/src/mathed/math_symbolinset.C +++ b/src/mathed/math_symbolinset.C @@ -1,3 +1,13 @@ +/** + * \file math_symbolinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_symbolinset.h" diff --git a/src/mathed/math_symbolinset.h b/src/mathed/math_symbolinset.h index 0427e4e7d3..42a4bc1c93 100644 --- a/src/mathed/math_symbolinset.h +++ b/src/mathed/math_symbolinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_symbolinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_SYMBOLINSET_H #define MATH_SYMBOLINSET_H @@ -7,9 +17,9 @@ struct latexkeys; -// "normal" symbols that don't take limits and don't grow in displayed -// formulae - +/** "normal" symbols that don't take limits and don't grow in displayed + * formulae. + */ class MathSymbolInset : public MathInset { public: /// diff --git a/src/mathed/math_tabularinset.C b/src/mathed/math_tabularinset.C index e3170770d4..70e66fbadd 100644 --- a/src/mathed/math_tabularinset.C +++ b/src/mathed/math_tabularinset.C @@ -1,5 +1,14 @@ -#include +/** + * \file math_tabularinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_tabularinset.h" #include "math_parser.h" diff --git a/src/mathed/math_tabularinset.h b/src/mathed/math_tabularinset.h index 3778c45a51..741aa4a2b8 100644 --- a/src/mathed/math_tabularinset.h +++ b/src/mathed/math_tabularinset.h @@ -1,18 +1,21 @@ // -*- C++ -*- -#ifndef MATH_TABULARINSET_H -#define MATH_TABULARINSET_H - -#include "math_gridinset.h" - - /** - * Inset for things like \begin{tabular}...\end{tabular} + * \file math_tabularinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * * \author André Pönitz * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ +#ifndef MATH_TABULARINSET_H +#define MATH_TABULARINSET_H + +#include "math_gridinset.h" + + +/// Inset for things like \begin{tabular}...\end{tabular} class MathTabularInset : public MathGridInset { public: /// diff --git a/src/mathed/math_textinset.C b/src/mathed/math_textinset.C index 30dd96102b..37a5064f2f 100644 --- a/src/mathed/math_textinset.C +++ b/src/mathed/math_textinset.C @@ -1,3 +1,13 @@ +/** + * \file math_textinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_textinset.h" diff --git a/src/mathed/math_textinset.h b/src/mathed/math_textinset.h index bfef98ff4e..cd673f5362 100644 --- a/src/mathed/math_textinset.h +++ b/src/mathed/math_textinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_textinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_TEXTINSET_H #define MATH_TEXTINSET_H diff --git a/src/mathed/math_undersetinset.C b/src/mathed/math_undersetinset.C index 526981fa3d..a468cc6c30 100644 --- a/src/mathed/math_undersetinset.C +++ b/src/mathed/math_undersetinset.C @@ -1,3 +1,15 @@ +/** + * \file math_undersetinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include + #include "math_undersetinset.h" #include "math_mathmlstream.h" #include "math_support.h" diff --git a/src/mathed/math_undersetinset.h b/src/mathed/math_undersetinset.h index e9c5011e3f..c75a83496d 100644 --- a/src/mathed/math_undersetinset.h +++ b/src/mathed/math_undersetinset.h @@ -1,9 +1,12 @@ // -*- C++ -*- - -/** Underset objects - * \author André Pönitz +/** + * \file math_undersetinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ #ifndef MATH_UNDERSETINSET_H diff --git a/src/mathed/math_unknowninset.C b/src/mathed/math_unknowninset.C index 6a126c1c28..2e9f6bde2e 100644 --- a/src/mathed/math_unknowninset.C +++ b/src/mathed/math_unknowninset.C @@ -1,3 +1,13 @@ +/** + * \file math_unknowninset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_unknowninset.h" diff --git a/src/mathed/math_unknowninset.h b/src/mathed/math_unknowninset.h index d93cc83ea8..c6f66248b0 100644 --- a/src/mathed/math_unknowninset.h +++ b/src/mathed/math_unknowninset.h @@ -1,12 +1,20 @@ // -*- C++ -*- +/** + * \file math_unknowninset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_UNKNOWNINSET_H #define MATH_UNKNOWNINSET_H #include "math_diminset.h" -/** - Unknowntions or LaTeX names for objects that we really don't know - */ +/// Unknowntions or LaTeX names for objects that we really don't know class MathUnknownInset : public MathDimInset { public: /// diff --git a/src/mathed/math_xarrowinset.C b/src/mathed/math_xarrowinset.C index df92ac6159..fe80ae8311 100644 --- a/src/mathed/math_xarrowinset.C +++ b/src/mathed/math_xarrowinset.C @@ -1,3 +1,13 @@ +/** + * \file math_xarrowinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "math_xarrowinset.h" diff --git a/src/mathed/math_xarrowinset.h b/src/mathed/math_xarrowinset.h index 3207da1bad..70987f2aea 100644 --- a/src/mathed/math_xarrowinset.h +++ b/src/mathed/math_xarrowinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_xarrowinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_XARROWINSET_H #define MATH_XARROWINSET_H @@ -6,12 +16,7 @@ #include "LString.h" -/** Wide arrows like \xrightarrow - * \author André Pönitz - * - * Full author contact details are available in file CREDITS - */ - +/// Wide arrows like \xrightarrow class MathXArrowInset : public MathFracbaseInset { public: /// diff --git a/src/mathed/math_xyarrowinset.C b/src/mathed/math_xyarrowinset.C index 50e80a2bff..26b569cd80 100644 --- a/src/mathed/math_xyarrowinset.C +++ b/src/mathed/math_xyarrowinset.C @@ -1,5 +1,14 @@ -#include +/** + * \file math_xyarrowinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ +#include #include "math_xyarrowinset.h" #include "math_xymatrixinset.h" diff --git a/src/mathed/math_xyarrowinset.h b/src/mathed/math_xyarrowinset.h index 5bff4211f0..8b8e3a33a7 100644 --- a/src/mathed/math_xyarrowinset.h +++ b/src/mathed/math_xyarrowinset.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file math_xyarrowinset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef MATH_XYARROWINSET_H #define MATH_ARROWINSET_H diff --git a/src/mathed/ref_inset.C b/src/mathed/ref_inset.C index bb07534a3b..6dcf18a405 100644 --- a/src/mathed/ref_inset.C +++ b/src/mathed/ref_inset.C @@ -1,3 +1,13 @@ +/** + * \file ref_inset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #include #include "ref_inset.h" diff --git a/src/mathed/ref_inset.h b/src/mathed/ref_inset.h index 39e2349070..796b83023d 100644 --- a/src/mathed/ref_inset.h +++ b/src/mathed/ref_inset.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file ref_inset.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef REF_INSET_H #define REF_INSET_H diff --git a/src/mathed/textpainter.C b/src/mathed/textpainter.C index 35ca092c5e..ea58a5abb1 100644 --- a/src/mathed/textpainter.C +++ b/src/mathed/textpainter.C @@ -1,3 +1,14 @@ +/** + * \file textpainter.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include #include "textpainter.h" #include "support/LOstream.h" diff --git a/src/mathed/textpainter.h b/src/mathed/textpainter.h index 3d2822b0cb..3ae9ab3f5e 100644 --- a/src/mathed/textpainter.h +++ b/src/mathed/textpainter.h @@ -1,3 +1,14 @@ +// -*- C++ -*- +/** + * \file textpainter.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + #ifndef TEXTPAINTER_H #define TEXTPAINTER_H -- 2.39.2