]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow_funcs.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / lyxrow_funcs.h
index c09a04f283e5dbd8f84a601e3b99e662b6d5e490..804afa44d128285093aa91626b80d9baa0f7891c 100644 (file)
@@ -4,31 +4,23 @@
 #define LYXROW_FUNCS_H
 
 #include "RowList.h"
-#include "ParagraphList.h"
-
 #include "support/types.h"
 
-class LyXText;
+class Paragraph;
 
-bool isParEnd(LyXText const & lt,
-       ParagraphList::iterator pit, RowList::iterator rit);
+bool isParEnd(Paragraph const & par, RowList::iterator rit);
 
-lyx::pos_type lastPos(LyXText const & lt,
-       ParagraphList::iterator pit, RowList::iterator rit);
+lyx::pos_type lastPos(Paragraph const & par, RowList::iterator rit);
 
-lyx::pos_type lastPrintablePos(LyXText const & lt,
-       ParagraphList::iterator pit, RowList::iterator rit);
+lyx::pos_type lastPrintablePos(Paragraph const & par, RowList::iterator rit);
 
-int numberOfSeparators(LyXText const & lt,
-       ParagraphList::iterator pit, RowList::iterator rit);
+int numberOfSeparators(Paragraph const & par, RowList::iterator rit);
 
-int numberOfHfills(LyXText const & lt,
-       ParagraphList::iterator pit, RowList::iterator rit);
+int numberOfHfills(Paragraph const & par, RowList::iterator rit);
 
-int numberOfLabelHfills(LyXText const & lt,
-       ParagraphList::iterator pit, RowList::iterator rit);
+int numberOfLabelHfills(Paragraph const & par, RowList::iterator rit);
 
-bool hfillExpansion(LyXText const & lt,
-       ParagraphList::iterator pit, RowList::iterator rit, lyx::pos_type pos);
+bool hfillExpansion(Paragraph const & par, RowList::iterator rit,
+       lyx::pos_type pos);
 
 #endif