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
|
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.
|
2003-07-26 23:04:39 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PAPER_H
|
|
|
|
#define PAPER_H
|
|
|
|
|
2004-02-13 07:30:59 +00:00
|
|
|
///
|
|
|
|
enum PAPER_SIZE {
|
|
|
|
///
|
|
|
|
PAPER_DEFAULT,
|
|
|
|
///
|
|
|
|
PAPER_USLETTER,
|
|
|
|
///
|
|
|
|
PAPER_LEGALPAPER,
|
|
|
|
///
|
|
|
|
PAPER_EXECUTIVEPAPER,
|
|
|
|
///
|
|
|
|
PAPER_A3PAPER,
|
|
|
|
///
|
|
|
|
PAPER_A4PAPER,
|
|
|
|
///
|
|
|
|
PAPER_A5PAPER,
|
|
|
|
///
|
|
|
|
PAPER_B5PAPER
|
|
|
|
};
|
2003-07-26 23:04:39 +00:00
|
|
|
|
|
|
|
///
|
|
|
|
enum PAPER_PACKAGES {
|
|
|
|
///
|
|
|
|
PACKAGE_NONE,
|
|
|
|
///
|
|
|
|
PACKAGE_A4,
|
|
|
|
///
|
|
|
|
PACKAGE_A4WIDE,
|
|
|
|
///
|
|
|
|
PACKAGE_WIDEMARGINSA4
|
|
|
|
};
|
|
|
|
|
|
|
|
///
|
|
|
|
enum VMARGIN_PAPER_TYPE {
|
|
|
|
///
|
|
|
|
VM_PAPER_DEFAULT,
|
|
|
|
///
|
|
|
|
VM_PAPER_CUSTOM,
|
|
|
|
///
|
|
|
|
VM_PAPER_USLETTER,
|
|
|
|
///
|
|
|
|
VM_PAPER_USLEGAL,
|
|
|
|
///
|
|
|
|
VM_PAPER_USEXECUTIVE,
|
|
|
|
///
|
|
|
|
VM_PAPER_A3,
|
|
|
|
///
|
|
|
|
VM_PAPER_A4,
|
|
|
|
///
|
|
|
|
VM_PAPER_A5,
|
|
|
|
///
|
|
|
|
VM_PAPER_B3,
|
|
|
|
///
|
|
|
|
VM_PAPER_B4,
|
|
|
|
///
|
|
|
|
VM_PAPER_B5
|
|
|
|
};
|
|
|
|
|
|
|
|
///
|
|
|
|
enum PAPER_ORIENTATION {
|
|
|
|
///
|
|
|
|
ORIENTATION_PORTRAIT,
|
|
|
|
///
|
|
|
|
ORIENTATION_LANDSCAPE
|
|
|
|
};
|
|
|
|
#endif
|