2002-07-21 15:51:07 +00:00
|
|
|
// -*- C++ -*-
|
2003-08-23 00:17:00 +00:00
|
|
|
/**
|
|
|
|
* \file toc.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-07-21 15:51:07 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* \author Jean-Marc Lasgouttes
|
|
|
|
* \author Angus Leeming
|
2002-07-21 15:51:07 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-10-08 11:31:51 +00:00
|
|
|
*
|
|
|
|
* Nice functions and objects to handle TOCs
|
2002-07-21 15:51:07 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TOC_H
|
|
|
|
#define TOC_H
|
|
|
|
|
2006-04-19 14:48:22 +00:00
|
|
|
class LCursor;
|
2002-07-21 15:51:07 +00:00
|
|
|
|
2003-07-27 13:18:55 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace toc {
|
2002-07-21 15:51:07 +00:00
|
|
|
|
2006-03-29 05:08:42 +00:00
|
|
|
/// the type of outline operation
|
|
|
|
enum OutlineOp {
|
2006-04-28 07:28:10 +00:00
|
|
|
Up, // Move this header with text down
|
|
|
|
Down, // Move this header with text up
|
|
|
|
In, // Make this header deeper
|
|
|
|
Out // Make this header shallower
|
2006-03-29 05:08:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2006-04-26 17:43:03 +00:00
|
|
|
void outline(OutlineOp, LCursor &);
|
2006-03-29 05:08:42 +00:00
|
|
|
|
|
|
|
|
2002-07-21 15:51:07 +00:00
|
|
|
} // namespace toc
|
2003-07-27 13:18:55 +00:00
|
|
|
} // namespace lyx
|
2002-07-21 15:51:07 +00:00
|
|
|
|
|
|
|
#endif // CONTROLTOC_H
|