]> git.lyx.org Git - lyx.git/blob - src/paragraph_funcs.h
Rob's latest and greatest dialog tweaking.
[lyx.git] / src / paragraph_funcs.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 1995 Matthias Ettrich
8  *           Copyright 1995-2001 The LyX Team.
9  *
10  * ====================================================== */
11
12 #ifndef PARAGRAPH_FUNCS_H
13 #define PARAGRAPH_FUNCS_H
14
15 #include "support/types.h"
16
17 class BufferParams;
18 class Paragraph;
19
20 ///
21 void breakParagraph(BufferParams const & bparams,
22                     Paragraph *,
23                     lyx::pos_type pos,
24                     int flag);
25
26 ///
27 void breakParagraphConservative(BufferParams const & bparams,
28                                 Paragraph *,
29                                 lyx::pos_type pos);
30
31 /** Paste this paragraph with the next one.
32     Be carefull, this doesent make any check at all.
33 */
34 void pasteParagraph(BufferParams const & bparams,
35                     Paragraph *);
36
37
38 #if 0
39 /// for the environments
40 Paragraph * depthHook(Paragraph * par, Paragraph::depth_type depth);
41
42 Paragraph * outerHook(Paragraph * par);
43
44 /// Is it the first par with same depth and layout?
45 bool isFirstInSequence(Paragraph * par);
46
47 /** Check if the current paragraph is the last paragraph in a
48     proof environment */
49 int getEndLabel(Paragraph * para, BufferParams const & bparams);
50 #endif
51
52 #endif