1104862Sru// -*- C++ -*-
2104862Sru/* Copyright (C) 2002 Free Software Foundation, Inc.
3104862Sru     Written by Werner Lemberg (wl@gnu.org)
4104862Sru
5104862SruThis file is part of groff.
6104862Sru
7104862Srugroff is free software; you can redistribute it and/or modify it under
8104862Sruthe terms of the GNU General Public License as published by the Free
9104862SruSoftware Foundation; either version 2, or (at your option) any later
10104862Sruversion.
11104862Sru
12104862Srugroff is distributed in the hope that it will be useful, but WITHOUT ANY
13104862SruWARRANTY; without even the implied warranty of MERCHANTABILITY or
14104862SruFITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15104862Srufor more details.
16104862Sru
17104862SruYou should have received a copy of the GNU General Public License along
18104862Sruwith groff; see the file COPYING.  If not, write to the Free Software
19151497SruFoundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */
20104862Sru
21104862Srustruct paper {
22104862Sru  char *name;
23104862Sru  double length;		// in PS points
24104862Sru  double width;			// in PS points
25104862Sru};
26104862Sru
27104862Sru// global constructor
28104862Srustatic class papersize_init {
29104862Sru  static int initialised;
30104862Srupublic:
31104862Sru  papersize_init();
32104862Sru} _papersize_init;
33104862Sru
34104862Sru// A0-A7, B0-B7, C0-C7, D0-D7, 8 American paper sizes, 1 special size */
35104862Sru#define NUM_PAPERSIZES 4*8 + 8 + 1
36104862Sru
37104862Sruextern paper papersizes[];
38