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,
28 char tc, bool doclear = false);
30 bool copySelection(LyXParagraph * startpar, LyXParagraph * endpar,
31 int start, int end, char tc);
33 bool pasteSelection(LyXParagraph ** par, LyXParagraph ** endpar,
36 int nrOfParagraphs() const;
37 /** needed to switch between different classes this works
38 for a list of paragraphs beginning with the specified par
39 return value is the number of wrong conversions
41 int SwitchLayoutsBetweenClasses(LyXTextClassList::size_type class1,
42 LyXTextClassList::size_type class2,
45 bool checkPastePossible(LyXParagraph *, int pos) const;