3 * \file paragraph_funcs.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
12 #ifndef PARAGRAPH_FUNCS_H
13 #define PARAGRAPH_FUNCS_H
15 #include "support/types.h"
21 void breakParagraph(BufferParams const & bparams,
27 void breakParagraphConservative(BufferParams const & bparams,
32 * Append the next paragraph onto the tail of this one.
33 * Be careful, this doesent make any check at all.
35 void mergeParagraph(BufferParams const & bparams, Paragraph *);
39 /// for the environments
40 Paragraph * depthHook(Paragraph * par, Paragraph::depth_type depth);
42 Paragraph * outerHook(Paragraph * par);
44 /// Is it the first par with same depth and layout?
45 bool isFirstInSequence(Paragraph * par);
47 /** Check if the current paragraph is the last paragraph in a
49 int getEndLabel(Paragraph * para, BufferParams const & bparams);
52 #endif // PARAGRAPH_FUNCS_H