]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
Point fix, earlier forgotten
[lyx.git] / src / paragraph.h
index 79ae05e6d6023488724d38a04382a581fdf0bc79..6f0c26648dcfeef62b8c697e26b92c5959717115 100644 (file)
@@ -1,9 +1,16 @@
 // -*- C++ -*-
 /**
- *  \file paragraph.h
- *  Copyright 1995 Matthias Ettrich
- *  Copyright 2002 the LyX Team
- *  Read the file COPYING
+ * \file paragraph.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Asger Alstrup
+ * \author Lars Gullik Bjønnes
+ * \author John Levon
+ * \author André Pönitz
+ * \author Jürgen Vigna
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef PARAGRAPH_H
@@ -72,13 +79,13 @@ public:
        bool isMultiLingual(BufferParams const &);
 
        ///
-       string const asString(Buffer const *, bool label) const;
+       string const asString(Buffer const &, bool label) const;
        ///
-       string const asString(Buffer const *, lyx::pos_type beg, lyx::pos_type end,
+       string const asString(Buffer const &, lyx::pos_type beg, lyx::pos_type end,
                              bool label) const;
 
        ///
-       void write(Buffer const *, std::ostream &, BufferParams const &,
+       void write(Buffer const &, std::ostream &, BufferParams const &,
                       depth_type & depth) const;
        ///
        void validate(LaTeXFeatures &) const;
@@ -96,7 +103,7 @@ public:
 
 
        ///
-       bool simpleTeXOnePar(Buffer const *, BufferParams const &,
+       bool simpleTeXOnePar(Buffer const &, BufferParams const &,
                             LyXFont const & outerfont, std::ostream &,
                             TexRow & texrow, LatexRunParams const &);
 
@@ -296,6 +303,8 @@ public:
 
        ///
        mutable RowList rows;
+       /// last draw y position (baseline of top row)
+       int y;
 
 private:
        ///