2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995-2001 the LyX Team.
9 * ====================================================== */
14 #include "support/types.h"
23 /// realcut == false is we actually want a delete
25 bool cutSelection(Paragraph * startpar, Paragraph ** endpar,
26 int start, int & end, char tc, bool doclear = false,
30 bool copySelection(Paragraph * startpar, Paragraph * endpar,
31 int start, int end, char tc);
34 bool pasteSelection(Paragraph ** par, Paragraph ** endpar,
39 /** needed to switch between different classes this works
40 for a list of paragraphs beginning with the specified par
41 return value is the number of wrong conversions
44 int SwitchLayoutsBetweenClasses(lyx::textclass_type c1,
45 lyx::textclass_type c2,
47 BufferParams const & bparams);
50 bool checkPastePossible(Paragraph *);