2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2001 The LyX Team.
10 * ====================================================== */
12 #ifndef PARAGRAPH_FUNCS_H
13 #define PARAGRAPH_FUNCS_H
15 #include "ParagraphList.h"
16 #include "paragraph.h"
18 #include "support/types.h"
23 void breakParagraph(BufferParams const & bparams,
29 void breakParagraphConservative(BufferParams const & bparams,
34 /** Paste this paragraph with the next one.
35 Be carefull, this doesent make any check at all.
37 void pasteParagraph(BufferParams const & bparams,
41 /// for the environments
42 Paragraph * depthHook(Paragraph * par, Paragraph::depth_type depth);
44 Paragraph * outerHook(Paragraph * par);
46 /// Is it the first par with same depth and layout?
47 bool isFirstInSequence(Paragraph * par);
49 /** Check if the current paragraph is the last paragraph in a
51 int getEndLabel(Paragraph * para, BufferParams const & bparams);