2003-09-07 Angus Leeming <leeming@lyx.org>
+ * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
+
* converter.h: forward declare LatexRunParams.
- * encoding.h: remove #include "lyxrc.h"
+ * encoding.h: remove #include "lyxrc.h".
+ * lyxtext.h: remove #include "LColor.h".
+ * lyxtextclass.h: remove #include "support/types.h".
+ * trans.h: remove #include "tex-accent.h".
+ * trans_mgr.h: remove #include "tex-accent.h".
+ * insets/inset.h: remove #include "support/types.h", <vector>.
+ * insets/insetcollapsable.h: remove #include "LColor.h".
+ * insets/insetinclude.h: remove #include "dimension.h".
+ * insets/insetlatexaccent.h: remove #include "dimension.h".
+ * insets/insetoptarg.h:: remove #include "insettext.h".
+ * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
+
+ * insets/renderers.h: add #include "dimension.h".
+ * insets/updatableinset.h: add #include "support/types.h".
+
+ * many .C files: Associated changes.
2003-09-06 Angus Leeming <leeming@lyx.org>
2003-09-06 Angus Leeming <leeming@lyx.org>
* ParagraphParameters.h: forward declare ParameterStruct rather than
- 'including the its file.
+ including its header file.
(depth): moved out-of-line.
2003-09-06 Angus Leeming <leeming@lyx.org>
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Vigna
+ * \author Jürgen Vigna
* \author Lars Gullik Bjønnes
* \author Alfredo Braunstein
*
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Vigna
+ * \author Jürgen Vigna
* \author Lars Gullik Bjønnes
* \author Alfredo Braunstein
*
#include "insets/insetquotes.h"
+#include "support/types.h"
+
#include <boost/array.hpp>
#include "support/std_string.h"
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Asger and Juergen
+ * \author Asger and Jürgen
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Asger & Juergen
+ * \author Asger & Jürgen
*
* Full author contact details are available in file CREDITS.
*/
*
* \author John Levon
* \author Angus Leeming
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Lars
- * \author Asger and Juergen
+ * \author Asger and Jürgen
* \author John Levon
*
* Full author contact details are available in file CREDITS.
* Licence details can be found in the file COPYING.
*
* \author Lars
- * \author Asger and Juergen
+ * \author Asger and Jürgen
* \author John Levon
*
* Full author contact details are available in file CREDITS.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
#include "insets/insetgraphics.h"
-#include "support/tostr.h"
-#include "support/filetools.h"
#include "support/FileInfo.h"
+#include "support/filetools.h"
#include "support/path_defines.h"
+#include "support/tostr.h"
+#include "support/types.h"
using namespace lyx::support;
*
* \author Baruch Even
* \author Angus Leeming
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
*
* \file ControlShowFile.h
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Asger & Juergen
+ * \author Asger & Jürgen
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author John Levon
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
*
* \author John Levon
* \author Edwin Leuven
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author John Levon
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author John Levon
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author John Levon
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Asger and Juergen
+ * \author Asger and Jürgen
* \author John Levon
*
* Full author contact details are available in file CREDITS.
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Asger and Juergen
+ * \author Asger and Jürgen
* \author John Levon
*
* Full author contact details are available in file CREDITS.
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
*
* \author John Levon
* \author Edwin Leuven
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author John Levon
- * \author Juergen Spitzmueller
- * \author Herbert Voss
+ * \author Jürgen Spitzmüller
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
*
* \author John Levon
* \author Kalle Dalheimer
- * \author Juergen Spitzmueller
- * \author Herbert Voss
+ * \author Jürgen Spitzmüller
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author John Levon
- * \author Juergen Spitzmueller
- * \author Herbert Voss
+ * \author Jürgen Spitzmüller
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author John Levon
- * \author Juergen Spitzmueller
- * \author Herbert Voss
+ * \author Jürgen Spitzmüller
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author John Levon
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
*
* \author Angus Leeming
* \author John Levon
- * \author Herbert Voss
+ * \author Herbert Voß
* \author Rob Lahaye
*
* Full author contact details are available in file CREDITS.
* \author Jürgen Vigna
* \author Rob Lahaye
* \author Martin Vermeer
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Baruch Even
- * \author Herbert Voss
+ * \author Herbert Voß
* \author Rob Lahaye
*
* Full author contact details are available in file CREDITS.
* Licence details can be found in the file COPYING.
*
* \author Baruch Even
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Asger & Juergen
+ * \author Asger & Jürgen
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Asger and Juergen
+ * \author Asger and Jürgen
*
* Full author contact details are available in file CREDITS.
*/
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Asger and Juergen
+ * \author Asger and Jürgen
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Lars
- * \author Asger and Juergen
+ * \author Asger and Jürgen
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Lars
- * \author Asger and Juergen
+ * \author Asger and Jürgen
* \author John Levon
*
* Full author contact details are available in file CREDITS.
* Licence details can be found in the file COPYING.
*
* \author Baruch Even
- * \author Herbert Voss
+ * \author Herbert Voß
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS.
*
* \author Baruch Even
* \author Angus Leeming
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
#ifndef INSETOLD_H
#define INSETOLD_H
-#include "LColor.h"
#include "insetbase.h"
#include "dimension.h"
+#include "LColor.h"
#include "ParagraphList_fwd.h"
-#include "support/types.h"
-#include <vector>
-
-class LyXFont;
class Buffer;
-class Painter;
+class FuncRequest;
class LatexRunParams;
-class LyXText;
+class LyXCursor;
+class LyXFont;
class LyXLex;
+class LyXText;
+class Painter;
class Paragraph;
-class LyXCursor;
-class FuncRequest;
-class WordLangTuple;
class UpdatableInset;
+class WordLangTuple;
namespace lyx {
namespace graphics {
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
#include "inset.h"
#include "insettext.h"
-#include "lyxfont.h"
-#include "LColor.h"
+
#include "box.h"
+#include "lyxfont.h"
#include <boost/weak_ptr.hpp>
#include "inset.h"
#include "graphics/GraphicsTypes.h"
#include "support/filename.h"
-#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
#include <boost/signals/trackable.hpp>
+#include "support/std_string.h"
class RenderInset;
* Licence details can be found in the file COPYING.
*
* \author Baruch Even
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Baruch Even
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Baruch Even
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
* Licence details can be found in the file COPYING.
*
* \author Baruch Even
- * \author Herbert Voss
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
#define INSET_INCLUDE_H
#include "insetcommand.h"
-#include "dimension.h"
#include "renderers.h"
#include <boost/scoped_ptr.hpp>
class Buffer;
+class Dimension;
struct LaTeXFeatures;
// Created by AAS 970521
#include "inset.h"
#include "support/std_string.h"
-#include "dimension.h"
+
+class Dimension;
+
/** Insertion of accents
#define INSETOPTARG_H
-#include "insettext.h"
#include "insetcollapsable.h"
* \author Asger Alstrup Nielsen
* \author Jean-Marc Lasgouttes
* \author Lars Gullik Bjønnes
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
* \author Asger Alstrup Nielsen
* \author Jean-Marc Lasgouttes
* \author Lars Gullik Bjønnes
- * \author Juergen Spitzmueller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
#define INSETTEXT_H
#include "updatableinset.h"
-#include "support/std_string.h"
#include "LColor.h"
#include "ParagraphList_fwd.h"
#include "RowList_fwd.h"
-#include "dimension.h"
#include "lyxtext.h"
#include "support/types.h"
#include "frontends/mouse_state.h"
-#include <boost/shared_ptr.hpp>
+#include "support/std_string.h"
-class Painter;
-class BufferView;
class Buffer;
class BufferParams;
+class BufferView;
+class Dimension;
class LyXCursor;
-class LyXText;
-class Row;
+class Painter;
class Paragraph;
+class Row;
/**
A text inset is like a TeX box to write full text
#ifndef RENDERERS_H
#define RENDERERS_H
-#include "dimension.h"
#include "box.h"
+#include "dimension.h"
#include "graphics/GraphicsLoader.h"
#include "graphics/GraphicsParams.h"
-#include "graphics/GraphicsTypes.h"
#include <boost/weak_ptr.hpp>
#include <boost/signals/signal0.hpp>
#include "inset.h"
+#include "support/types.h"
+
/** Extracted from Matthias notes:
*
#ifndef INTL_H
#define INTL_H
-#include "support/std_string.h"
#include "trans_mgr.h"
+#include "support/std_string.h"
+
/**
* This class is used for managing keymaps
#ifndef KBMAP_H
#define KBMAP_H
-#include "support/std_string.h"
#include "frontends/key_state.h"
#include <boost/shared_ptr.hpp>
+#include "support/std_string.h"
#include <vector>
class kb_sequence;
#ifndef LENGTH_COMMON_H
#define LENGTH_COMMON_H
-#include "support/std_string.h"
#include "lyxlength.h"
+#include "support/std_string.h"
/// the number of units possible
extern int const num_units;
#ifndef LYXFONT_H
#define LYXFONT_H
-#include <iosfwd>
+#include "LColor.h"
#include "support/std_string.h"
-#include "LColor.h"
+#include <iosfwd>
class LyXLex;
class BufferParams;
#include "kbsequence.h"
#include "lfuns.h"
-#include "support/std_string.h"
#include <boost/shared_ptr.hpp>
#include <boost/signals/trackable.hpp>
+#include "support/std_string.h"
+
+class BufferView;
+class FuncRequest;
class FuncStatus;
class LyXKeySym;
-class LyXView;
class LyXText;
-class FuncRequest;
-class BufferView;
+class LyXView;
/** This class encapsulates all the LyX command operations.
#include "paper.h"
#include "graphics/GraphicsTypes.h"
-// #include <boost/utility.hpp>
+#include "support/std_string.h"
/// This contains the runtime configuration of LyX
class LyXRC //: public noncopyable {
#ifndef LYXTEXT_H
#define LYXTEXT_H
-#include "lyxfont.h"
+#include "bufferview_funcs.h"
#include "layout.h"
-#include "LColor.h"
-#include "insets/inset.h"
-#include "RowList_fwd.h"
+#include "lyxfont.h"
#include "ParagraphList_fwd.h"
-#include "bufferview_funcs.h"
+#include "RowList_fwd.h"
#include "textcursor.h"
+#include "insets/inset.h"
+
class Buffer;
class BufferParams;
class BufferView;
+class Dimension;
class InsetText;
class LyXCursor;
+class MetricsInfo;
class Paragraph;
class Row;
class Spacing;
class UpdatableInset;
class VSpace;
class WordLangTuple;
-class MetricsInfo;
-class Dimension;
/**
#define LYXTEXTCLASS_H
#include "lyxlayout.h"
-#include "support/std_string.h"
#include "lyxlayout_ptr_fwd.h"
-#include "support/types.h"
-
#include <boost/shared_ptr.hpp>
+#include "support/std_string.h"
#include <vector>
class LyXLex;
#define PARAGRAPH_PIMPL_H
#include "paragraph.h"
-#include "ParagraphParameters.h"
+
#include "changes.h"
+#include "ParagraphParameters.h"
#include <boost/scoped_ptr.hpp>
#ifndef LYX_PSPELL_H
#define LYX_PSPELL_H
-#include <map>
-
#include "SpellBase.h"
+#include <map>
+
class PspellManager;
class PspellStringEmulation;
class PspellCanHaveError;
* \author Jean-Marc Lasgouttes
* \author Angus Leeming
* \author John Levon
- * \author Herbert Voss
+ * \author Herbert Voß
*
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
#ifndef TRANS_H
#define TRANS_H
-#include <map>
+#include "trans_decl.h"
-#include "tex-accent.h"
#include "support/std_string.h"
-#include "trans_decl.h"
+#include <map>
+
class LyXLex;
#ifndef TRANS_DECL_H
#define TRANS_DECL_H
-#include "support/std_string.h"
#include "tex-accent.h"
+#include "support/std_string.h"
#include <list>
#ifndef TRANS_MANAGER_H
#define TRANS_MANAGER_H
-#include "tex-accent.h"
-#include "trans_decl.h"
#include "chset.h"
+#include "trans_decl.h"
#include "support/std_string.h"
class LyXText;
}
-LyXGlueLength VSpace::length() const
+LyXGlueLength const & VSpace::length() const
{
return len_;
}
/// return the type of vertical space
vspace_kind kind() const;
/// return the length of this space
- LyXGlueLength length() const;
+ LyXGlueLength const & length() const;
// a flag that switches between \vspace and \vspace*
bool keep() const;