2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995-2000 the LyX Team.
9 * ====================================================== */
28 bool cutSelection(LyXParagraph *startpar, LyXParagraph **endpar,
29 int start, int & end, char tc, bool doclear=false);
30 bool copySelection(LyXParagraph *startpar, LyXParagraph *endpar,
31 int start, int end, char tc);
32 bool pasteSelection(LyXParagraph **par, LyXParagraph **endpar,
34 int nrOfParagraphs() const;
35 /** needed to switch between different classes this works
36 for a list of paragraphs beginning with the specified par
37 return value is the number of wrong conversions
39 int SwitchLayoutsBetweenClasses(LyXTextClassList::size_type class1,
40 LyXTextClassList::size_type class2,
42 char getBufferTextClass();
43 bool checkPastePossible(LyXParagraph *, int pos);