X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxrow_funcs.h;h=804afa44d128285093aa91626b80d9baa0f7891c;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=c09a04f283e5dbd8f84a601e3b99e662b6d5e490;hpb=003bb374a563362a4dd1107b7b691c5a0430f0c8;p=lyx.git diff --git a/src/lyxrow_funcs.h b/src/lyxrow_funcs.h index c09a04f283..804afa44d1 100644 --- a/src/lyxrow_funcs.h +++ b/src/lyxrow_funcs.h @@ -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