// -*- 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
#include "support/types.h"
#include "changes.h"
+#include "RowList.h"
#include "LString.h"
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;
///
- bool simpleTeXOnePar(Buffer const *, BufferParams const &,
+ bool simpleTeXOnePar(Buffer const &, BufferParams const &,
LyXFont const & outerfont, std::ostream &,
TexRow & texrow, LatexRunParams const &);
void setInsetOwner(UpdatableInset * inset);
///
void deleteInsetsLyXText(BufferView *);
- ///
- void resizeInsetsLyXText(BufferView *);
///
lyx::pos_type size() const;
///
InsetList insetlist;
+ ///
+ mutable RowList rows;
+ /// last draw y position (baseline of top row)
+ int y;
+
private:
///
LyXLayout_ptr layout_;