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"
27 /// realcut == false is we actually want a delete
29 bool cutSelection(Paragraph * startpar, Paragraph ** endpar,
30 int start, int & end, char tc, bool doclear = false,
34 bool copySelection(Paragraph * startpar, Paragraph * endpar,
35 int start, int end, char tc);
38 bool pasteSelection(Paragraph ** par, Paragraph ** endpar,
43 /** needed to switch between different classes this works
44 for a list of paragraphs beginning with the specified par
45 return value is the number of wrong conversions
48 int SwitchLayoutsBetweenClasses(lyx::textclass_type c1,
49 lyx::textclass_type c2,
51 BufferParams const & bparams);
54 bool checkPastePossible(Paragraph *);