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