// -*- 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 "ParagraphList.h"
-
#include "support/types.h"
-class LyXText;
-
-bool isParEnd(LyXText const & lt,
- ParagraphList::iterator pit, RowList::iterator rit);
-
-lyx::pos_type lastPos(LyXText const & lt,
- ParagraphList::iterator pit, RowList::iterator rit);
-
-lyx::pos_type lastPrintablePos(LyXText const & lt,
- ParagraphList::iterator pit, RowList::iterator rit);
+class Paragraph;
+class Row;
-int numberOfSeparators(LyXText const & lt,
- ParagraphList::iterator pit, RowList::iterator rit);
+int numberOfSeparators(Paragraph const & par, Row const & row);
-int numberOfHfills(LyXText const & lt,
- ParagraphList::iterator pit, RowList::iterator rit);
+int numberOfHfills(Paragraph const & par, Row const & row);
-int numberOfLabelHfills(LyXText const & lt,
- ParagraphList::iterator pit, RowList::iterator rit);
+int numberOfLabelHfills(Paragraph const & par, Row const & row);
-bool hfillExpansion(LyXText const & lt,
- ParagraphList::iterator pit, RowList::iterator rit, lyx::pos_type pos);
+bool hfillExpansion(Paragraph const & par, Row const & row,
+ lyx::pos_type pos);
#endif