summaryrefslogtreecommitdiff
path: root/support/lametex/src/Parameter.h
blob: 2e105ee61b6618b8589af164bb2a0e0df14fcc03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Parameter.h
 *
 * Formatting a file means keeping track of a lot of things, like the current
 * font, the size of the margins, and the chapter number.
 * We call these "parameters" and group them under one class because the ways
 * they are altered recursively or incrementally are very similar.
 *
 * Copyright 1992 Jonathan Monsarrat. Permission given to freely distribute,
 * edit and use as long as this copyright statement remains intact.
 *
 */

#include "LameTeX.h"
#include <iostream.h>

class Param{
 public:
   virtual Param *copy() = 0;
   virtual int set(int, float, char *) = 0;
   virtual float get(int, char *) = 0;
   virtual void postscript_set(int) = 0;
   virtual void revert(Param *) = 0;
};