2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995-2001 the LyX Team.
9 * ====================================================== */
18 #include "support/types.h"
28 bool cutSelection(Paragraph * startpar, Paragraph ** endpar,
29 int start, int & end, char tc, bool doclear = false,
33 bool copySelection(Paragraph * startpar, Paragraph * endpar,
34 int start, int end, char tc);
37 bool pasteSelection(Paragraph ** par, Paragraph ** endpar,
42 /** needed to switch between different classes this works
43 for a list of paragraphs beginning with the specified par
44 return value is the number of wrong conversions
47 int SwitchLayoutsBetweenClasses(lyx::textclass_type class1,
48 lyx::textclass_type class2,
50 BufferParams const & bparams);
53 bool checkPastePossible(Paragraph *);