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 "support/types.h"
21 void breakParagraph(BufferParams const & bparams,
27 void breakParagraphConservative(BufferParams const & bparams,
31 /** Paste this paragraph with the next one.
32 Be carefull, this doesent make any check at all.
34 void pasteParagraph(BufferParams const & bparams,
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);