2007-09-29 20:02:32 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file Layout.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author Lars Gullik Bjønnes
|
2007-09-29 20:02:32 +00:00
|
|
|
* \author Jean-Marc Lasgouttes
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author André Pönitz
|
2007-09-29 20:02:32 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LAYOUTENUMS_H
|
|
|
|
#define LAYOUTENUMS_H
|
|
|
|
|
|
|
|
// Do not include anything here
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
|
|
|
/// The different output types
|
|
|
|
enum OutputType {
|
|
|
|
///
|
|
|
|
LATEX = 1,
|
|
|
|
///
|
|
|
|
DOCBOOK,
|
|
|
|
///
|
|
|
|
LITERATE
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/// The different margin types
|
|
|
|
enum MarginType {
|
|
|
|
///
|
|
|
|
MARGIN_MANUAL = 1,
|
|
|
|
///
|
|
|
|
MARGIN_FIRST_DYNAMIC,
|
|
|
|
///
|
|
|
|
MARGIN_DYNAMIC,
|
|
|
|
///
|
|
|
|
MARGIN_STATIC,
|
|
|
|
///
|
|
|
|
MARGIN_RIGHT_ADDRESS_BOX
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
enum LyXAlignment {
|
|
|
|
///
|
|
|
|
LYX_ALIGN_NONE = 0,
|
|
|
|
///
|
|
|
|
LYX_ALIGN_BLOCK = 1,
|
|
|
|
///
|
|
|
|
LYX_ALIGN_LEFT = 2,
|
|
|
|
///
|
|
|
|
LYX_ALIGN_RIGHT = 4,
|
|
|
|
///
|
|
|
|
LYX_ALIGN_CENTER = 8,
|
|
|
|
///
|
|
|
|
LYX_ALIGN_LAYOUT = 16,
|
|
|
|
///
|
2010-06-05 07:44:44 +00:00
|
|
|
LYX_ALIGN_SPECIAL = 32,
|
|
|
|
///
|
|
|
|
LYX_ALIGN_DECIMAL = 64
|
2007-09-29 20:02:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
///
|
|
|
|
inline void operator|=(LyXAlignment & la1, LyXAlignment la2)
|
|
|
|
{
|
|
|
|
la1 = static_cast<LyXAlignment>(la1 | la2);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
inline LyXAlignment operator|(LyXAlignment la1, LyXAlignment la2)
|
|
|
|
{
|
|
|
|
return static_cast<LyXAlignment>(int(la1) | int(la2));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// The different LaTeX-Types
|
|
|
|
enum LatexType {
|
|
|
|
///
|
|
|
|
LATEX_PARAGRAPH = 1,
|
|
|
|
///
|
|
|
|
LATEX_COMMAND,
|
|
|
|
///
|
|
|
|
LATEX_ENVIRONMENT,
|
|
|
|
///
|
|
|
|
LATEX_ITEM_ENVIRONMENT,
|
|
|
|
///
|
|
|
|
LATEX_BIB_ENVIRONMENT,
|
|
|
|
///
|
|
|
|
LATEX_LIST_ENVIRONMENT
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/// The different title types
|
|
|
|
enum TitleLatexType {
|
|
|
|
///
|
|
|
|
TITLE_COMMAND_AFTER = 1,
|
|
|
|
///
|
|
|
|
TITLE_ENVIRONMENT
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/// The different label types
|
|
|
|
enum LabelType {
|
|
|
|
///
|
|
|
|
LABEL_NO_LABEL,
|
|
|
|
///
|
|
|
|
LABEL_MANUAL,
|
|
|
|
///
|
|
|
|
LABEL_BIBLIO,
|
|
|
|
///
|
2013-02-09 16:13:01 +00:00
|
|
|
LABEL_ABOVE,
|
2007-09-29 20:02:32 +00:00
|
|
|
///
|
2013-02-09 16:13:01 +00:00
|
|
|
LABEL_CENTERED,
|
2007-09-29 20:02:32 +00:00
|
|
|
///
|
|
|
|
LABEL_STATIC,
|
|
|
|
///
|
|
|
|
LABEL_SENSITIVE,
|
|
|
|
///
|
|
|
|
LABEL_ENUMERATE,
|
|
|
|
///
|
|
|
|
LABEL_ITEMIZE
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
enum EndLabelType {
|
|
|
|
///
|
|
|
|
END_LABEL_NO_LABEL,
|
|
|
|
///
|
|
|
|
END_LABEL_BOX,
|
|
|
|
///
|
|
|
|
END_LABEL_FILLED_BOX,
|
|
|
|
///
|
2009-08-09 23:06:31 +00:00
|
|
|
END_LABEL_STATIC
|
2007-09-29 20:02:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
#endif
|