KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > etymon > pj > PjConst


1 package com.etymon.pj;
2
3 import com.etymon.pj.object.*;
4
5 /**
6    General constants used by the PJ classes.
7    @author Nassib Nassar
8  */

9 public class PjConst {
10
11     /**
12        The PJ version number.
13     */

14     public static final String JavaDoc VERSION = "1.10";
15
16     /**
17        The PJ copyright notice, which is inserted into the
18        Producer (and sometimes Creator) field of the Info
19        dictionary in all PDF files output by PJ; you may not
20        remove this copyright notice.
21     */

22     public static final PjString COPYRIGHT_IN_INFO =
23     new PjString("Etymon PJ " + VERSION +
24              ", Copyright (C) 1998-2000 Etymon Systems, Inc. <http://www.etymon.com/>");
25     
26     /**
27        The PJ version number in PDF format, which is inserted into
28        all PDF files output by PJ.
29     */

30     public static final String JavaDoc VERSION_IN_PDF = "%PJ-" + VERSION;
31
32     /**
33        The PJ copyright notice, which is inserted into all PDF
34        files output by PJ; you may not remove this copyright
35        notice.
36     */

37     public static final String JavaDoc COPYRIGHT_IN_PDF =
38     "%Generated with Etymon PJ " + VERSION +
39     ", Copyright (C) 1998-2000 Etymon Systems, Inc. <http://www.etymon.com/>";
40
41     /**
42        The PDF version output by this release of PJ.
43     */

44     public static final String JavaDoc PDF_VERSION = "1.3";
45     
46     /**
47        The number of bytes from the end of a PDF file at which to
48        start scanning for startxref.
49     */

50     public static final int SCAN_STARTXREF = 40;
51
52     /**
53        The number of times to back up and retry scanning for
54        startxref. Each time, the parser will back up to a point
55        (SCAN_STARTXREF) bytes before the previous time.
56     */

57     public static final int SCAN_STARTXREF_RETRY = 10;
58
59     /**
60        The size of the byte[] used for flate compression and
61        decompression.
62     */

63     public static final int FLATE_BUFFER_SIZE = 16384;
64     
65     /**
66        The end-of-line sequence to use when writing a PDF file to
67        disk.
68     */

69     public static final String JavaDoc PDF_EOL = "\n";
70
71     /**
72        The string length of PDF_EOL.
73     */

74     public static final int PDF_EOL_LEN = PDF_EOL.length();
75
76 }
77
Popular Tags