// -*- C++ -*-
+/**
+ * \file lyxrow_funcs.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
#ifndef LYXROW_FUNCS_H
#define LYXROW_FUNCS_H
-#include "RowList.h"
#include "support/types.h"
-class LyXText;
+class Paragraph;
+class Row;
-bool isParEnd(LyXText const & lt, RowList::iterator rit);
+int numberOfSeparators(Paragraph const & par, Row const & row);
-lyx::pos_type lastPos(LyXText const & lt, RowList::iterator rit);
+int numberOfHfills(Paragraph const & par, Row const & row);
-lyx::pos_type lastPrintablePos(LyXText const & lt, RowList::iterator rit);
+int numberOfLabelHfills(Paragraph const & par, Row const & row);
-int numberOfSeparators(LyXText const & lt, RowList::iterator rit);
-
-int numberOfHfills(LyXText const & lt, RowList::iterator rit);
-
-int numberOfLabelHfills(LyXText const & lt, RowList::iterator rit);
-
-bool hfillExpansion(LyXText const & lt, RowList::iterator rit, lyx::pos_type pos);
+bool hfillExpansion(Paragraph const & par, Row const & row,
+ lyx::pos_type pos);
#endif