summaryrefslogtreecommitdiff
path: root/support/lametex/src/Justify.h
blob: d0d2a4f573141cc970338ca82f5c5bc47b765e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Justify.h
 *
 * When the user wants flushright, flushleft, centered, or the normal
 * full justification, this class is used.
 *
 * Copyright 1992 Jonathan Monsarrat. Permission given to freely distribute,
 * edit and use as long as this copyright statement remains intact.
 *
 */

class Justify : public Param {
 public:
   enum JustifyType {
      Center,
      FlushLeft,
      FlushRight,
      Normal
   };

   Justify();
   Justify(Justify *);
   Param *copy();
   int set(int, float, char*);
   float get(int, char*);
   void postscript_set(int);
   void revert(Param *);
 private:
   int justifytype;
};