2003-07-26 23:04:39 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* \file paper.h
|
2003-07-26 23:04:39 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* \author Jean-Marc Lasgouttes
|
2010-05-18 01:22:08 +00:00
|
|
|
|
* \author Uwe St<EFBFBD>hr
|
2003-07-26 23:04:39 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-07-26 23:04:39 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* A trivial header file to hold paper-related enums. It should later
|
|
|
|
|
* expand to contain many paper-related horrors access.
|
2010-05-18 01:22:08 +00:00
|
|
|
|
*
|
|
|
|
|
* The supported paper sizes are those that are supported by the
|
2010-05-18 01:34:07 +00:00
|
|
|
|
* LaTeX-package geometry.
|
2003-07-26 23:04:39 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef PAPER_H
|
|
|
|
|
#define PAPER_H
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
enum PAPER_SIZE {
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_DEFAULT,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_CUSTOM,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_USLETTER,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_USLEGAL,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_USEXECUTIVE,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2010-05-18 01:22:08 +00:00
|
|
|
|
PAPER_A0,
|
|
|
|
|
///
|
|
|
|
|
PAPER_A1,
|
|
|
|
|
///
|
|
|
|
|
PAPER_A2,
|
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_A3,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_A4,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_A5,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2010-05-18 01:22:08 +00:00
|
|
|
|
PAPER_A6,
|
|
|
|
|
///
|
|
|
|
|
PAPER_B0,
|
|
|
|
|
///
|
|
|
|
|
PAPER_B1,
|
|
|
|
|
///
|
|
|
|
|
PAPER_B2,
|
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_B3,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2005-07-16 16:57:55 +00:00
|
|
|
|
PAPER_B4,
|
2003-07-26 23:04:39 +00:00
|
|
|
|
///
|
2010-05-18 01:22:08 +00:00
|
|
|
|
PAPER_B5,
|
|
|
|
|
///
|
|
|
|
|
PAPER_B6,
|
|
|
|
|
///
|
2010-07-13 01:06:20 +00:00
|
|
|
|
PAPER_C0,
|
|
|
|
|
///
|
|
|
|
|
PAPER_C1,
|
|
|
|
|
///
|
|
|
|
|
PAPER_C2,
|
|
|
|
|
///
|
|
|
|
|
PAPER_C3,
|
|
|
|
|
///
|
|
|
|
|
PAPER_C4,
|
|
|
|
|
///
|
|
|
|
|
PAPER_C5,
|
|
|
|
|
///
|
|
|
|
|
PAPER_C6,
|
|
|
|
|
///
|
2010-05-18 01:22:08 +00:00
|
|
|
|
PAPER_JISB0,
|
|
|
|
|
///
|
|
|
|
|
PAPER_JISB1,
|
|
|
|
|
///
|
|
|
|
|
PAPER_JISB2,
|
|
|
|
|
///
|
|
|
|
|
PAPER_JISB3,
|
|
|
|
|
///
|
|
|
|
|
PAPER_JISB4,
|
|
|
|
|
///
|
|
|
|
|
PAPER_JISB5,
|
|
|
|
|
///
|
|
|
|
|
PAPER_JISB6
|
2003-07-26 23:04:39 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
enum PAPER_ORIENTATION {
|
|
|
|
|
///
|
|
|
|
|
ORIENTATION_PORTRAIT,
|
|
|
|
|
///
|
|
|
|
|
ORIENTATION_LANDSCAPE
|
|
|
|
|
};
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
|
|
|
2003-07-26 23:04:39 +00:00
|
|
|
|
#endif
|